Skip to content

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

Install xpd on PATH as Get started shows, then install the plugin in your client.

Terminal window
# Claude Code
claude plugin marketplace add https://git.cafe/dynd/xpd.git
claude plugin install xpd@xpd
# Codex
codex plugin marketplace add https://git.cafe/dynd/xpd.git
codex plugin add xpd@xpd
xpd 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-quest

After 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.

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"

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.

Terminal window
npx skills add https://git.cafe/dynd/xpd.git
mkdir -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.