Claude Code and other agents
Install the xpd plugin in Claude Code or Codex to expose xpd's 4-tool MCP server and all 5 bundled skills in one step. Agents run xpd check, xpd audit, xpd find, xpd api, and recorded ledgers directly in the shell, and use MCP for discovery gates and ManimGX rendering.
| Setup option | What the agent gets | Requires |
|---|---|---|
| Agent plugin | After-edit warnings, 4-tool MCP server and all 5 bundled skills | Claude Code or Codex, xpd on PATH, and uv |
| MCP server | Discovery gate, animation tools, workflow prompts, and rule/skill resources | uv |
| Agent skill | Lean instructions for xpd audit, all 10 ledgers, and Python style |
Nothing |
Agent plugin
Section titled “Agent plugin”Install xpd on PATH as Get started shows, then install the plugin in your client.
# Claude Codeclaude plugin marketplace add https://git.cafe/dynd/xpd.gitclaude plugin install xpd@xpd
# Codexcodex plugin marketplace add https://git.cafe/dynd/xpd.gitcodex plugin add xpd@xpdxpd repository (loaded as a plugin)├── .claude-plugin/│ ├── plugin.json plugin name and version│ └── marketplace.json Claude Code marketplace listing├── .agents/plugins/marketplace.json Codex marketplace listing├── hooks/hooks.json runs xpd hook after edits├── mcp.json starts uvx xpd@<version> mcp└── skills/ xpd, xpd-animate, xpd-enhance, xpd-look, xpd-questAfter an edit, xpd hook sends warnings and errors from the edited Python files to the agent. Clean edits produce no message. The hook requires an xpd binary with the hook command on PATH.
See xpd find for the bundled playbooks.
House style
Section titled “House style”By default, house style rules report as info. Set style = "strict" in pyproject.toml ([tool.xpd]) or ~/.config/xpd/config.toml to promote house style rules to warnings across xpd check and xpd lsp. See xpd check for settings precedence.
[tool.xpd]style = "strict"Agent skill
Section titled “Agent skill”Install all bundled skills with npx skills add https://git.cafe/dynd/xpd.git, or export the version-matched core skill into a single project with xpd skill.
npx skills add https://git.cafe/dynd/xpd.gitmkdir -p .claude/skills/xpd && xpd skill > .claude/skills/xpd/SKILL.md| Skill | Purpose |
|---|---|
xpd |
Everyday xpd CLI commands plus the shared 7-step recorded ledger router for all 10 review workflows (charts, data-prep, time-series, feature-engineering, modeling, math-opt, untangle, optimize, harden, and discover) |
xpd-animate |
Creating, inspecting, and revising editable ManimGX animations with xpd animate |
xpd-enhance |
Running a full xpd enhance on a codebase to the finish: dead, copied and look-alike code first, then harden, discover and optimize |
xpd-look |
Improving a dashboard, chart, table, or report by rendering it and fixing what the picture shows, with no rule ledger |
xpd-quest |
Clarifying open-ended goals and guiding multi-workflow quests with xpd quest |
Every skill is also served as an MCP resource under skill://. See MCP resources.