- Crafthall
- Docs
Crafthall docs
Everything you need to check your Claude Code agents: install, the first run, how to read the result, every command and check, and what to do when something does not start.
On this page
Get started
From a terminal, in your workspace folder (Node.js 20+, no install, no account) – the agent map opens on 127.0.0.1; npx crafthall prints the text report instead:
npx crafthall --openInside Claude Code, the plugin adds fixes in your session, the slash commands and the MCP tool:
You need Claude Code 2.1.292 or newer (check with claude --version), Node.js 20+ and Git. No account and no config.
1. Install the plugin
claude plugin install crafthall --marketplace crafthall/pluginsAlready in a Claude Code session (2.1.275+): /plugin install crafthall --marketplace crafthall/plugins, then /reload-plugins. Older Claude Code – two commands instead:
claude plugin marketplace add crafthall/pluginsclaude plugin install crafthall@crafthall2. Open Claude Code in your workspace
Start claude in the folder that holds .claude/agents/, your skills and CLAUDE.md. The first new session after install shows one welcome line, once.
3. Run the check
/crafthall:openThe chat answers with one line – the verdict and a http://127.0.0.1:<port> address – and the dashboard opens in your browser. Prefer text? /crafthall:open --report prints the same result in the chat.
Read the result
- Verdict
- One line: OK, or N things to improve, most important first. Minor notes are counted apart and never change the verdict.
- Health score
- 0–100, with its working shown: every point lost traces to a hint, so you can recompute it.
- Hints
- Each names the check, the
file:lineit is about, why it matters and the fix. With/crafthall:open --report, Claude offers to apply the top fix and edits a file only after you say yes. - Dashboard views
- Overview (verdict, score, org chart), Agents Map (who hands work to whom, hints per agent) and Review (every hint with its fix).
See real results on PostHog, Metabase and other public repositories.
Commands
Claude Code namespaces plugin commands, so every command starts with /crafthall:. One install includes Optimize and Canon.
Crafthall
| Command | What it does |
|---|---|
/crafthall:open[path] [--report] [--all] [--assistant] | Open Crafthall's dashboard of the Claude Code agents in this workspace (offline); --report prints the text report |
/crafthall:doctor | Check Crafthall's prerequisites on this machine (Node.js 20+, Git, Claude Code version) and show how to fix any that is missing |
Crafthall Optimize
| Command | What it does |
|---|---|
/crafthall:optimize-compare--change <patch-file> [--fixtures <a,b,c>] [--runs-per-arm <n>] [--max-runs <n>] [--max-budget-usd <n>] [--monthly-volume <usd>] [--auth <api-key|subscription>] [--metric <tokens|cost>] [--trust-fixture-config] [--force] [--json] | Paired before/after of one change; shows the plan and expected cost first and runs only after you confirm |
/crafthall:optimize-fixture-add<name> --prompt <file> --check \"<cmd>\" [--commit <sha>] [--timeout-min <n>] [--max-budget-usd <n>] | Freeze a piece of work as a fixture (repository at a commit, prompt file as a salted hash, success command, caps) |
/crafthall:optimize-import-usage--usage-file <file> [--read-transcripts <dir>] [--json] | Ranked fixes from the /usage rows you saved to a file, plus checks of this repository's Claude Code config (estimated, not measured) |
/crafthall:optimize-report<record.json|id> [--redact] [--json] | Re-print a stored comparison record; --redact gives a share-safe copy |
/crafthall:optimize-usage[--days <n>] [--read-transcripts <dir>] [--usage-file <file>] [--json] | Count this repository's Claude Code token use (last 7 days by default) and rank fixes to try (estimated, not measured) |
Crafthall Canon
| Command | What it does |
|---|---|
/crafthall:canon-check[<id>|--all] [--json] | Check this repository's Crafthall Canon offline – problems, then what is missing, stale or inconsistent per product (the same findings as canon check) |
Claude and your agents can also run the check as the MCP tool check_agents, which the plugin starts locally.
MCP server
The plugin registers Crafthall's MCP server for you. Running npx crafthall --open does not: the dashboard alone adds no MCP tool to Claude Code. To give Claude Code the tool without the plugin, register the standalone stdio server in your workspace:
claude mcp add crafthall -- npx -y crafthall mcpThen check it: claude mcp list shows crafthall as connected, and in a new Claude Code session /mcp lists the tool check_agents. Add --scope user to register it for every workspace; claude mcp remove crafthall removes it.
Checks
26 checks run by default. Each has its own page with an example that triggers it and the fix.
Each agent and skill file
- Missing definition field
- Duplicate agent id or name
- Broken file reference
- Wrong name for an agent
- Tools do not match the job
- Broken frontmatter
- Unknown tool in the tool list
- Skill name that does not resolve
- Skill description cut or too short
- Two skills with the same trigger
- Oversized SKILL.md
Settings, hooks and MCP
- Settings or MCP file is not valid JSON
- Settings key Claude Code does not apply
- Unknown hook event
- Hook runs a script that does not exist
- Unknown tool in a hook matcher or permission rule
- MCP server cannot start
All agents together
- Conflicting directive
- Cross-group boundary unclear
- One-way handoff
- Handoff file path does not match
- Nobody delegates to this agent
- No boundaries defined
- Code changes are never verified
- Retry loop without a limit
- Failing tests may be skipped or retried
Off by default (too many false alarms in our tests): Unclear when to use the agent, Unclear when to use the skill, Overlapping responsibilities.
What is read and sent
- Read:
.claude/agents/*.md,.claude/skills/,CLAUDE.mdand the shared docs they point to. - Sent: nothing. The checks run on your machine and the result ends with checked on this machine, nothing sent.
- The dashboard is served from your machine at
127.0.0.1. - The assistant review is off unless you ask for it with
--assistant; then Claude reads the same files in your own session, on your Claude plan.
Details: Privacy.
Optimize and Canon
Crafthall Optimize counts what your Claude Code use costs and compares a change before and after (the /crafthall:optimize-* commands above). About Optimize.
Crafthall Canon keeps product docs your agents read, checked offline with /crafthall:canon-check. Canon docs.
Troubleshooting
- Something does not start
- Run
/crafthall:doctor. It checks Node.js 20+, Git and the Claude Code version and prints a fix for each one missing. It reads and changes nothing. - “Unknown command”
- Type the full name,
/crafthall:open– not/crafthallor/open. Installed inside a running session? Run/reload-pluginsfirst. - Node.js not found
- Install Node.js 20 or newer, then restart Claude Code so it sees the new PATH.
- The dashboard did not open
- Open the
127.0.0.1address from the chat line yourself, or use/crafthall:open --report.
Still stuck? Open an issue on GitHub.
Uninstall
claude plugin uninstall crafthall@crafthall