Each agent and skill fileError
Claude Code subagent without a description
Missing definition field: An agent file lacks name or description (required by Claude Code), or lacks a persona or tool limit that the rest of the team sets.
Why it matters
Claude Code decides which subagent gets a task by reading the name and description in each file in .claude/agents/. A file without them still sits in the folder, so it looks set up, but the orchestrator has nothing to match a task against.
Claude Code cannot route work to an agent that has no name or description, so the agent is never used.
An example that triggers it
A small Claude Code project. The marked lines are the ones the check cites.
.claude/agents/code-reviewer.md---name: code-reviewertools: Read, Grep, Globpersona: Ines---You are Ines. You review pull requests for correctness and readability.Never edit files; report each finding with file and line.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. [high] Missing definition field – .claude/agents/code-reviewer.md:1 code-reviewer has no description. Fix: Add `description:` to the frontmatter.
How to fix it
Add a description that says what the agent does and when to use it. The "Use after …" sentence is what the orchestrator matches a task against.
.claude/agents/code-reviewer.md---name: code-reviewerdescription: Reviews a diff for bugs and readability. Use after code changes, before a pull request is opened.tools: Read, Grep, Globpersona: Ines---You are Ines. You review pull requests for correctness and readability.Never edit files; report each finding with file and line.Run on the fixed project, the check reports nothing for this rule.
How the check works
Frontmatter fields checked against the Claude Code file format (name and description are required). 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