Each agent and skill fileRisk · high confidence
Claude Code subagent told to write files without a Write tool
Tools do not match the job: The agent is told to write files but has no Write or Edit tool.
Why it matters
The tools: line limits what a subagent may do. Read-only lists are a good default, but when the body of the file asks the agent to change a file, the limit and the job disagree and the agent stalls or reports work it could not save.
The agent is told to write a file it has no tool to write, so it stalls or reports a result it could not save.
An example that triggers it
A small Claude Code project. The marked lines are the ones the check cites.
.claude/agents/technical-writer.md---name: technical-writerdescription: Writes release notes. Use after a release is tagged.tools: Read, Greppersona: Ada---You are Ada. Write the release notes to `docs/release-notes.md` after each release.Never change source code.What Crafthall HQ reports
The output of /crafthall-hq:open --report on this example, generated by the plugin's own check when this page was built.
1. [medium] Tools do not match the job – .claude/agents/technical-writer.md:7 Ada is told to write files, but its tools (Read, Grep) have no Write or Edit. Fix: Add Write (and Edit if it updates files), or change the instruction to "return the text in your handoff".
How to fix it
Give the agent the tool its job needs (Edit or Write), or change the job so it returns the text to the caller instead of saving it.
.claude/agents/technical-writer.md---name: technical-writerdescription: Writes release notes. Use after a release is tagged.tools: Read, Grep, Edit, Writepersona: Ada---You are Ada. Write the release notes to `docs/release-notes.md` after each release.Never change source code.Run on the fixed project, the check reports nothing for this rule.
How the check works
The tool list has no Write or Edit (a fact); that the file tells the agent to write is read from its wording. 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 team
Install the free plugin, then run /crafthall-hq:open in your project. It runs all checks, not only this one.
claude plugin install crafthall-hq --marketplace crafthall/plugins