_contract
01Agent Claude Code
Every agent in the pipeline must return output in this exact structure. No prose outside these sections. The orchestrator parses this to decide next action and construct the next agent's input.
Agent Claude Code
Every agent in the pipeline must return output in this exact structure. No prose outside these sections. The orchestrator parses this to decide next action and construct the next agent's input.
Agent Claude Code
Read the relevant codebase and produce a concrete change plan for a given feature spec.
Agent Claude Code
Review changed files as a senior developer — flag blocking issues and non-blocking notes.
Agent Claude Code
Understand a feature request and produce a structured implementation spec.
Agent Claude Code
Apply an approved change plan to the codebase — read, edit, and create files as specified.
Agent Claude Code
Challenge a change plan against the feature spec and flag gaps before any code is written.
Agent Claude Code
Execute a test suite and return only signal — status, failures, and counts.
Skill Claude CodeCodex
Invoke when the user says "record this decision", "create an ADR", "document why we chose X", or runs /adr. Also invoke during plan-feature when a significant architectural choice is made (database, framework, communication pattern, key library) and the rationale should be preserved.
Skill Claude CodeCodex
Invoke when the user says "checkpoint", "save state", "/checkpoint", or asks to save progress mid-session. Also invoke proactively when a session is running long and compaction feels imminent — run this before /compact so key state survives.
Skill Claude CodeCodex
Invoke when the user says "create PR", "open a PR", "make a pull request", or similar.
Skill Claude CodeCodex
Invoke when the user runs /discover, or says "discover this project", "analyze the codebase", "what could we improve here", or similar. Also when entering a new project and asking what .claude setup improvements are possible.
Skill Claude CodeCodex
Invoke when the user runs /hooks-setup, asks to "set up hooks", "enable typecheck", "enable push confirmation", or wants to activate optional hook scripts in the current project.
Skill Claude CodeCodex
Invoke when the user asks to implement a feature, add functionality, or make a non-trivial code change. Orchestrates the full pipeline: spec → plan → critique → implement → test → review → validate.
Skill Claude CodeCodex
Invoke when the user runs /migrate, says "clean up the old Mallet installs", "migrate to user-level Mallet", "remove the per-project Mallet", or when a session-start notice reports a legacy per-project payload in the current repo. Also invoked by the user-level install flow after a fresh install.
Skill Claude CodeCodex
Invoke when the user asks what is pending, what is left, what is next, what the next steps are, or runs /next-steps. Also invoke when the user asks for the status of outstanding work, asks which items are not yet tracked anywhere, or asks to be given the remaining work in a referenceable list.
Skill Claude CodeCodex
Invoke when the user wants to plan a new feature, build something new, or continue work on an existing feature plan.
Skill Claude CodeCodex
Invoke when the user runs /preflight, or when environment issues are suspected before starting git-heavy work (stale worktrees, Git LFS hooks blocking worktree creation, WSL2 quirks).
Skill Claude CodeCodex
Invoke when a code review has been returned (from Clifford, a human reviewer, or any review output) and you need to process and act on the feedback.
Skill Claude CodeCodex
Invoke when the user agrees to a session wrap-up, or says "wrap up", "all done", "end session", or similar. Also when the user proactively asks for a session summary or retrospective.
Skill Claude CodeCodex
Invoke when debugging an error, investigating unexpected behaviour, or fixing something that isn't working. Also when a previous fix attempt has failed or made things worse.
Skill Claude CodeCodex
Invoke when the UserPromptSubmit hook flags a high-complexity task, or when the user asks which model or effort level to use for a task. Also invokable explicitly via "/task-calibrate" or "check model for this".
Skill Claude CodeCodex
Invoke when the user says "update the framework", "update Mallet", "upgrade Claude Mallet", or "update from ". Also invoke when a session-start notice reports that a framework update is available.
Skill Claude CodeCodex
Skill "<domain>-knowledge" from dfsramos/claude-mallet, covering knowledge, when this applies, core principles, decision framework and reference.
Skill Claude CodeCodex
Invoke when the user says "harvest", "run harvest", or "harvest " inside the claude-mallet repo. Promotes project-specific skills from a target project into the framework base and surfaces skill overrides for review.