All agents togetherError
Claude Code permission rule with a misspelt tool
Unknown tool in a hook matcher or permission rule: A tool-name hook matcher or a permission rule names a tool Claude Code does not have; a near-miss of a known name is a typo, so the hook or rule never applies.
Why it matters
Permission rules and hook matchers name tools exactly: Bash, Edit, Write. A misspelt name matches no tool, so a deny rule silently denies nothing and a hook never runs on the tool it was written for.
A hook or permission rule with a misspelt tool name never applies: a deny rule does not deny, a hook does not run.
An example that triggers it
A small Claude Code workspace. The marked lines are the ones the check cites.
.claude/settings.json{ "permissions": { "deny": ["Bsh(rm -rf *)"] }}.claude/agents/reviewer.md---name: reviewerdescription: Reviews a diff. Use after code changes.tools: Read, Grep, Glob---Review the change. Never edit files.What Crafthall reports
The output of /crafthall:open --report on this example, generated by the plugin's own check when this page was built.
1. [high] Unknown tool in a hook matcher or permission rule – .claude/settings.json:3 A permissions.deny rule in .claude/settings.json names the tool `Bsh`, which Claude Code does not have. It looks like `Bash`, so it never applies. Fix: Replace `Bsh` with `Bash`.
How to fix it
Spell the tool as Claude Code names it. Bash(rm -rf *) now denies what the rule was meant to deny.
.claude/settings.json{ "permissions": { "deny": ["Bash(rm -rf *)"] }}Run on the fixed workspace, the check reports nothing for this rule.
How the check works
Tool names of exact-list matchers and permission rules were compared with the tool list of the Claude Code docs (read 2026-11-28); this name is one or two characters from a known tool. It reads your files with text patterns, on your machine – no model, so the same files give the same result every run.
Check your own agents
Install the free plugin, then run /crafthall:open in your workspace. It runs all checks, not only this one.
claude plugin install crafthall --marketplace crafthall/plugins