Skip to main content

Batho Skill Pack

The Batho Skill Pack turns the Batho MCP server from a set of tools into a workflow: a router skill that keeps the code graph fresh, and a spec-driven lifecycle (batho-specs → batho-execute → batho-review) whose artifacts are grounded in the structured graph.

The five skills​

SkillRoleOutputs
bathoEntry point: answers codebase questions via Batho MCP, ensures the .batho artifact exists and is fresh (batho build / batho patch), routes to the lifecycle skills—
batho-setupInstallation + MCP registration + pack install. No building, no queriesconfigured MCP + installed pack
batho-specsResearch → planning → user approval → grounded specificationbatho-specs/NN-<name>/specs_<name>.md
batho-executeLoads spec(s), writes graph-ordered plan_<name>.md, implements with pre/post-edit groundingimplemented tasks + verification log
batho-reviewVerifies implementation against the spec's graph citationsreview_<name>.md (PASS/GAPS)

Install​

batho install # skills + MCP for every detected client
batho install --agent cursor # force a specific agent's dirs + MCP config (repeatable)
batho install --all # every known agent's dirs + every supported client's config
batho install --project # ./.agents/skills instead of the global dir (MCP stays global)
batho install --version 1.2.0 # pin a release (or set BATHO_VERSION)
batho install # re-run: updates the pack when upstream differs
batho install --no-mcp # skill pack only

The vendor-neutral .agents/skills/ path covers Cursor, Copilot, Codex, Gemini CLI, OpenCode, and Devin; Claude Code and Windsurf get their native mirrors (installed automatically). batho mcp start auto-syncs the pack when the installed version drifts from upstream — opt out via skills.auto_install: false in batho.yaml. See cli-reference/install-cmd for the full flag reference.

Claude Code users can install everything (MCP server + skills) in one step via the plugin bundle in .claude-plugin/.

The workflow​

batho ensure artifact exists & fresh (build / patch / batho_status)
│
batho-specs research → plan → USER APPROVAL → batho-specs/01-<name>/specs_<name>.md
│ (every claim cites graph entity_id + relationship + file:line)
â–¼
batho-execute plan_<name>.md (graph-ordered tasks) → implement → delta-verify
│
â–¼ (on request)
batho-review review_<name>.md — per-criterion PASS/GAPS, dangling refs, orphans
  • Specs are grounded truth: the Current-Behavior table cites entity_id + file:line for every row; blast radius and coverage sections are computed from the graph, not guessed.
  • Two human gates: approval before the spec file is written, review offer after execution. Nothing auto-executes.
  • All three artifacts live in the workspace under batho-specs/NN-<name>/.

Manual invocation​

AgentHow
Claude Code/batho-specs, /batho-execute, /batho-review (or automatic by description)
Cursor / Codex / Gemini CLI / OpenCodemention the skill or rely on description-based activation
Devinskills auto-discovered from .agents/skills/
Any agent without skill supportthe SKILL.md bodies are plain Markdown — paste the relevant workflow

Token cost​

Always-on cost is 5 skill descriptions (~100 tokens each ≈ 500 tokens). Bodies load only when a skill triggers (progressive disclosure); references load only when a workflow needs them.