Skip to content
Crafthall HQ

Each agent and skill fileError

A Claude Code subagent called by the wrong name

Wrong name for an agent: A file calls an agent by a personal name different from its `persona:`.

Why it matters

Teams that give agents personal names (persona: in the frontmatter) use those names in workflows and handoffs. After a rename, old names stay behind in other files, and a request for "Max" no longer reaches anyone.

A reader asks for a person who does not exist, or the wrong agent.

An example that triggers it

A small Claude Code project. The marked lines are the ones the check cites.

Before.claude/agents/release-manager.md
---name: release-managerdescription: Prepares and ships releases. Use when a version is ready to go out.tools: Read, Bashpersona: Noor---You are Noor. Hand every release candidate to **Max** (`qa-engineer`) for a smoke test.Never ship a release that failed its smoke test.
Also in the project.claude/agents/qa-engineer.md
---name: qa-engineerdescription: Tests release candidates. Use before a release.tools: Read, Bashpersona: Lin---You are Lin. You receive release candidates from release-manager and run the smoke tests.Never fix code yourself; report failures.

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.

claude › /crafthall-hq:open --report
1. [high] Wrong name for an agent – .claude/agents/release-manager.md:7
.claude/agents/release-manager.md calls `qa-engineer` "Max", but the agent's name is Lin. A reader asks for someone who does not exist.
Fix: Replace "Max" with "Lin".
Real output on the example above.

How to fix it

Use the name in the agent's own persona: field. If the rename was a mistake, change persona: back instead – one of the two has to give.

After.claude/agents/release-manager.md
---name: release-managerdescription: Prepares and ships releases. Use when a version is ready to go out.tools: Read, Bashpersona: Noor---You are Noor. Hand every release candidate to **Lin** (`qa-engineer`) for a smoke test.Never ship a release that failed its smoke test.

Run on the fixed project, the check reports nothing for this rule.

How the check works

A personal name used next to an agent id was compared with that agent's `persona:`. 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

All 15 checks