/pothos:plant [audit]from pothos
Connect a repository to Pothos by writing its private agent contract, which tells the other skills how the repo is verified, run, documented and shipped. The contract lives outside the repository, so the repo and its team see no change. Use it the first time Pothos works in a repo, when the session context says the repository has no contract and the task needs one, when asked to onboard, connect or set up a repository for Pothos, or with "audit" to check an existing contract for drift.
Ships in pothos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Plant Pothos in a repository: write or audit the repository's agent contract, the only place where Pothos learns project specifics. Every other skill reads the contract; none of them hardcode a command, path or tracker.
The contract is private. It lives under ~/.config/pothos/contracts/, keyed by the repository's origin remote, so every clone and worktree of the repo shares it. shared/contract.py decides the location; never write the file yourself.
Output: a saved contract that passes strict validation, and a readiness report listing what still blocks autonomous work. The repository is left exactly as it was.
.agents/. git status must be unchanged when you finish.&&. If a role has no candidate, leave the field out and report it as a gap.references/mapping.md, and list each assumption in the report.If the user says the repository follows its own workflow, skip the steps: save {"version": 1, "workflow": "repo"} with contract.py write and say that Pothos will stand aside in this repo.
python3 "${CLAUDE_SKILL_DIR}/scripts/detect.py" .
If existing_contract is set, or the argument is audit, follow Audit mode instead.docs/agents/*.md files, and the CI files the report lists. They settle what the word hits in tracker_hints cannot, such as "we do not use Jira".references/mapping.md. Start from ${CLAUDE_PLUGIN_ROOT}/templates/contract.json and drop every field you cannot fill.run.screenshots, and per app in a monorepo): evidence relies on it to avoid trying what cannot work. In a repository with UI, show the ui section and ask about any folder or icon set the mapping left open. Skip this step when the user asked for no questions or nobody is available.python3 "${CLAUDE_PLUGIN_ROOT}/shared/contract.py" write <<'JSON'
{ ...the draft... }
JSON
Fix and re-run until it prints ok: saved.verify.fast, or verify.full when there is no fast command, once. Record whether it passed, failed on code, or could not start because of the environment, such as a missing tool or credentials. Do not try to fix a failure.references/report.md.python3 "${CLAUDE_PLUGIN_ROOT}/shared/contract.py" validate --strict and the detection script.ui folders and token files), a UI the contract has no ui section for, CI that now runs scripts verify.full does not, or a new e2e tool, mutation tool or docs folder the contract ignores.contract.py write only after the user confirms. Without a user, change nothing and report.Tell the user which gap to close first. The verification gaps come before everything else, because no other skill can prove its work without them.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub devictoribero/pothos --plugin pothos29 skills in this plugin
/archifyCreate validated architecture, workflow, sequence, data-flow, lifecycle/state, ERD, class, tree, timeline, and waterfall diagrams as explorable standalone HTML with dark/light themes, motion and image/SVG/WebM export. Accept requirements or Mermaid; inspect repository evidence for code-backed diagrams. Use when visualizing systems, API calls, pipelines, schemas, histories, timings, or everyday steps, parts, relationships and states. Also turn an answer into a one-page explainer, with the conclusion first, structured panels, native diagrams and charts, when the user asks for a page, an explainer or an answer to share (做成一页, 用页面讲), or proactively when the user's rules opt in with an [archify explainer: ...] line. Not for dashboards./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".