ai-tool
Claude Code
20 verified traps, most recently checked first.
- Plugin hook fails with 'No such file or directory' when the install path contains a space
/bin/sh: /Users/Jane: No such file or directory
Claude Code · verified 2026-10-15 · 0 confirmations
- Plugin skills, commands, or hooks are missing because they sit inside .claude-plugin/
The plugin installs and is enabled, but its skills and commands do not appear
Claude Code · verified 2026-10-15 · 0 confirmations
- Read deny rule like Read(/private/**) in user settings does not protect that absolute path
Claude still reads files under the absolute path named in a deny rule
Claude Code · verified 2026-10-15 · 0 confirmations
- .mcp.json servers stay 'Pending approval' and enableAllProjectMcpServers in the repo is ignored
claude mcp list shows the project server as Pending approval (run claude to approve)
Claude Code · verified 2026-10-15 · 0 confirmations
- Permission rules on Write(path), Glob(path), or a .claudeignore file are accepted but never enforced
Claude writes into a folder covered by a Write(docs/**) deny rule
Claude Code · verified 2026-10-15 · 0 confirmations
- claude -p --output-format stream-json exits with 'requires --verbose'
Error: When using --print, --output-format=stream-json requires --verbose
Claude Code · verified 2026-10-15 · 0 confirmations
- Claude Code auto memory forgets entries once MEMORY.md passes 200 lines or 25KB
Facts saved to auto memory are unknown in a new session
Claude Code · verified 2026-10-15 · 0 confirmations
- Claude Code ignores AGENTS.md when the repository also has a CLAUDE.md
Rules written in AGENTS.md are not followed while CLAUDE.md rules are
Claude Code · verified 2026-10-15 · 0 confirmations
- claude --bare -p fails to authenticate although the normal session is signed in with Pro or Max
A --bare run fails on authentication while the same command without --bare works
Claude Code · verified 2026-10-15 · 0 confirmations
- CLAUDE.md @import of a path that contains a space silently loads nothing
Instructions in the imported file are ignored with no warning
Claude Code · verified 2026-10-15 · 0 confirmations
- claude -p in a freshly cloned repo runs its hooks and .mcp.json servers without asking
Hook commands from the repo's .claude/settings.json run in CI
Claude Code · verified 2026-10-15 · 0 confirmations
- Claude Code PreToolUse hook exits 1 but the tool call runs anyway
PreToolUse:Bash hook error notice with 'Failed with non-blocking status code:' and the command still runs
Claude Code · verified 2026-10-15 · 0 confirmations
- claude mcp add treats the MCP server's own flags as Claude Code options
error: unknown option '--port'
Claude Code · verified 2026-10-15 · 0 confirmations
- Exit code 2 from a PermissionRequest hook does not deny the permission
The permission flow continues unchanged after the hook exits 2
Claude Code · verified 2026-10-15 · 0 confirmations
- Plugin hooks never fire because hooks.json lacks the top-level "hooks" key
Plugin is enabled but none of its hooks run
Claude Code · verified 2026-10-15 · 0 confirmations
- Edits to a local Claude Code plugin never show up
The plugin behaves like the old version after editing its source
Claude Code · verified 2026-10-13 · 0 confirmations
- Auto mode refuses to edit ~/.claude/settings.json or copy secrets even when asked
Denied as Self-Modification when adding allow rules
Claude Code · verified 2026-10-07 · 0 confirmations
- MCP servers with write access to one project load in every directory
Tools for one client's systems are available in an unrelated folder
Claude Code · verified 2026-08-03 · 0 confirmations
- Fixing MCP credentials in ~/.claude.json has no effect until a restart, and edits can be lost
The MCP keeps using the old credentials after the file is fixed
Claude Code · verified 2026-08-03 · 0 confirmations
- MCP server fails with placeholder credentials although the global config is correct
Unknown username
Claude Code · verified 2026-07-31 · 0 confirmations
Give your coding agent these traps before it hits them
claude mcp add --transport http footgun https://getfootgun.com/api/mcp