/crew-doctor
SkillAI & modelsHealth-check the install, hooks executable, core.hooksPath set, gates wired, discipline loaded.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the /crew-doctor skill
What this skill tells your AI
The instructions your AI receives, as published by byerlikaya/claude-starter-kit in kit/skills/crew-doctor/SKILL.md and read by ahel’s review.
Verify Crewforth is actually active in this project (not just present on disk):
- Run
bash .claude/eval/doctor.sh(Bash tool, not PowerShell). - Read its report. It checks: VERSION present · every hook executable · the required git hooks (pre-commit,
commit-msg) present · guard-bash actually blocks a force-push (catches a hook that is present but neutered) ·
core.hooksPathpoints at.claude/hooks(else the §4.1/§4.2 commit trace + secret/bloat scan never runs) ·settings.jsonvalid and wiring the PreToolUse / UserPromptSubmit / Stop gates to non-empty hook arrays (an empty[]wires nothing); SessionStart (rehydration) is reported as a warning if absent ·./CLAUDE.mdactually imports.claude/DISCIPLINE.md— without that line the discipline sits on disk and never loads, which every other check is blind to. - For each ❌, apply the printed fix. Anything that changes git config or file permissions needs approval first — show the exact command and wait.
- Read the Readiness block too. It is advisory (never changes the verdict) and asks a different question — is this project set up to be worked on by agents: CLAUDE.md project section filled in · a project-specific skill alongside Crewforth's generic ones · a devcontainer to sandbox agent commands · an MCP server · CLAUDE.md not drifted behind the code. Report the gaps as suggestions, not as failures, and never "fix" them unasked — adding a devcontainer or an MCP server is the user's call.
- Summarise: healthy, or the precise fixes applied/needed, plus the readiness score. If it's not a git repo,
note that the commit-time gates need
git init+git config core.hooksPath .claude/hooks. If the output contains a line starting with ⭐, pass it to the user verbatim as the LAST line of your summary — it prints once per Crewforth version, and it is meant for the user, not for you.
If .claude/eval/doctor.sh doesn't exist, this is not a full (start.sh / adopt.sh) install — Crewforth is likely
running as a plugin, whose hooks are managed by Claude Code itself; there's nothing for the doctor to check,
with one exception: the skill listing, which a plugin cannot size for itself (its settings cannot set
skillListingBudgetFraction). Count it the way the full install's doctor does:
LC_ALL=C awk -f "${CLAUDE_PLUGIN_ROOT}/eval/lib/skill-listing.awk" "${CLAUDE_PLUGIN_ROOT}"/skills/*/SKILL.md
(prints characters, then skills). At the default fraction a 200,000-token model has 8,000 characters for the whole
listing, and Claude Code's own skills take about 5,900 of them (measured on v2.1.282). If Crewforth's number plus
5,900 is over 8,000, tell the user plainly: on such a model the least-used skills lose their descriptions and are
less likely to be picked on their own; one line in ~/.claude/settings.json fixes it — "skillListingBudgetFraction": 0.04; the cost is
that the listing is then sent whole every turn, about (that total ÷ 4) tokens, (tokens ÷ 2,000)% of a 200k window.
It is their call — show the line and the cost, do not edit their settings. On a 1,000,000-token model the default
already fits.
On Windows, check Git Bash too. Without a Git Bash where Claude Code looks, it runs every hook through
PowerShell and Crewforth's gates do not run. The full install's doctor runs the same script:
bash "${CLAUDE_PLUGIN_ROOT}/eval/lib/git-bash.sh" (Bash tool, not PowerShell). Pass its lines to the user verbatim;
a ❌ is a failure with its fix. If this session has no Bash tool at all, that is the finding itself — Claude Code
found no Git Bash: tell the user the gates do not run and that the fix is Git for Windows in its default folder, or
CLAUDE_CODE_GIT_BASH_PATH set to its bin\bash.exe. Do not run the script through PowerShell.
The eval scripts are installer-only, by decision. eval/ — doctor.sh, smoke-test.sh, routing-eval.sh,
scan-skill.sh, utilization.sh — ships with start.sh and adopt.sh and NOT with the plugin edition; eval/lib/
(the JSON reader, the listing counter, the Git Bash check) ships with both. The eval
scripts are developer instruments: they inspect an installation from outside it, and the plugin edition has no
installation to inspect. Say this plainly when someone asks why /crew-doctor reports only the listing (and, on Windows, Git Bash) on a plugin install,
rather than treating it as a defect. The Studio panel ships in both editions (/crew-studio).
Signals
- GitHub stars
- 24
- Forks
- 4
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
crew-doctor- Source
- github.com/byerlikaya/claude-starter-kit
github.com/byerlikaya/claude-starter-kit
More in AI & models
Skill · anthropics
More in AI & modelswayfinder
Skill · mattpocock
More in AI & modelswizard
Skill · mattpocock
More in AI & modelsalgorithmic-art
Skill · anthropics
More in AI & modelscode-review-and-quality
Skill · addyosmani
More in AI & modelsai-first-engineering
Skill · affaan-m
More in AI & models