/core:adam-modefrom core
Routes tasks through a structured playbook system with non-negotiables for simplicity, principles, design, domain skills, scope, and evidence. Invoke via /adam-mode.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The playbooks are in playbooks/ beside this file. Put the absolute path of this file in every adam-agent brief.
The scripts are in scripts/ beside this file. Run each one as bash <absolute path>/scripts/<name>.sh, because a copied skill can lose the executable bit. Run a script with no arguments to see its usage.
Simplicity. Optimise every change for reduced or flattened complexity: fewer branches, layers, moving parts and hand-rolled scripts. Before you write or review production code, load yagni and reducer. Prefer an existing tool or platform feature to new code, for example pure CSS before JavaScript.
Principles. In the plan, name each principle that you will apply. Read its leaf SKILL.md before you apply it. In the reply, name each principle that shaped a decision and the choice that it changed.
Design. When code crosses a function boundary and its types, signatures or module boundaries are not settled, run architect before anyone writes that code. For a code-shape bakeoff, for example a unit with several valid shapes, use arena: independent candidates, a judge that wrote none of them, one base and the best parts of the others grafted in. A visual design that must reach a bar goes to the Design loop, which uses arena only for its first round.
Domain skills. Before you write or review code, load the skills that match it:
| Code | Skills |
|---|---|
| React | react, vercel-composition-patterns, vercel-react-best-practices |
| Async UI state or lifecycles | xstate |
| Styles | tailwind or css |
| TypeScript | typescript |
| Tests | tdd, with react-testing, frontend-testing or swift-testing |
| SwiftUI or App Intents | swiftui-architecture, app-intent-driven-development |
Skills, AGENTS.md or CLAUDE.md | writing-for-agents and the repository's skill rules |
A skill that is not installed is a gap. State the gap in the reply.
Scope. Keep existing functionality. Report each feature built outside the spec, and each test, check or behaviour removed without approval (principle-stay-in-scope, principle-preserve-unrelated-work). To find the candidates, run scripts/scope-diff.sh <base> on the branch. It lists deleted tests, fewer test cases, skipped tests, suppressed checks, changed check configuration and removed exports. Classify each item that it lists as approved by the spec or the user, or as a removal without approval.
Evidence. Use the repository, its PR, its spec and the request as the evidence for project rules. Skills installed in the user's dotfiles are third-party tools, not project conventions.
Second opinion. Before a review verdict, or a "done" claim on non-trivial work, run double-check with a model from a different provider. When the host offers no other provider, run it as a fresh same-provider agent and label it same-provider fresh-context fallback. When the host offers Astra and Fable agents, give both the same brief for a hard root cause, and reconcile their findings.
Measurement. Run performance work, including a performance user story inside Implement, through the Perf playbook (playbooks/perf.md).
Proof. Prove each change on the real surface before you claim success (principle-prove-it-works). For a UI change, capture a screenshot or a recording, and add it to the PR description.
Lessons. When the user corrects the same mistake twice, use correct. To keep a durable project fact, use record-lesson.
Each name is the principle-<name> skill. Its description says when it applies.
playbooks/prototype.md), decide, and report the result. Ask only for a product or preference decision that no experiment can settle. When you ask, use principle-price-each-option.You are the coordinator. You own the playbook, the todo list, every spawn and the integration into one branch and one PR.
Spawning. Spawn the adam-agent subagent for delegated code, review and research work. A host can add a plugin prefix to its name, for example core:adam-agent. When the host has no adam-agent, spawn its general-purpose subagent and start the brief with: "Before any other work, read <absolute path of this file> in full and follow its Delegates section." Do not spawn a subagent to run the playbook. When the host cannot spawn subagents, do the units yourself, one at a time, with the same briefs and checks.
Briefs. Spawn one agent for each independent unit: a user story, an action, a review lens or a design option. Give each agent a cold brief (principle-write-cold-handovers): the absolute path of this file, the playbook step, the skills to load, the scope, the files it owns, its worktree path when it has one, and the check that proves it done.
Ordering. Give parallel writers separate files or separate worktrees (principle-separate-before-serializing-shared-state). Start a dependent unit only after the unit that it needs is integrated.
Models. For implementation, use the strongest model that the host offers, for example Opus 5.5. A Prototype's throwaway variants are the exception (playbooks/prototype.md). For a second opinion, use a model from a different provider from the implementer. When the host offers only one provider, run double-check with a fresh agent from that provider, label the second opinion same-provider fresh-context fallback in the reply, and never call it independent.
Ownership. You own the result. Read each diff yourself and write your own summary.
Fresh agents. Give new work, fix rounds and retries to a fresh agent, with the original brief, later directives and the previous report. Resume an agent only when the work needs its uncommitted changes or a process that it still runs.
Worktrees. Create and remove each worktree in this run with scripts/worktree.sh (principle-clean-up-what-you-started). Use one run ID for the whole run, for example the spec or PR number. The script records each worktree that it creates and never touches a worktree that it did not record. Do not use raw git worktree or git branch -D commands for these worktrees.
worktree.sh create <run-id> <unit>, and put the path that it prints in the brief. For a checkout of the base, run worktree.sh base <run-id> <ref>.worktree.sh release <run-id> <unit> <integration-branch>. It removes the worktree and the branch only when the unit's changes are on the integration branch, whether you merged, cherry-picked or squashed them. Exit code 5 means that work is not integrated, and exit code 4 means that the worktree has uncommitted changes. Integrate the work, or report it.worktree.sh abandon <run-id> <unit>. Put the recovery command that it prints in the report.worktree.sh cleanup <run-id> <integration-branch>. Report each worktree that it removed and each one that remains, with the reason.A worktree that the host creates and removes by itself belongs to the host.
When you run as a delegate, the coordinator owns the playbook, the todo list, the integration and the worktree cleanup. You own only the unit in your brief.
playbooks/ folder beside this file.writing-for-humans. For commits, use commit-messages. For PR text, use pr.Match the task to a playbook and open its file. Start a todo list whose first items are the playbook steps, copied word for word. A step that you skip stays in the list as skip: <reason>. When one request needs more than one playbook, run them in order, for example Review, then Implement after approval, then Ship.
playbooks/review.md). A deep review of a PR, branch or diff. Read-only until the user approves changes.playbooks/implement.md). A spec, a user story, a branch, or the fixes from a review.playbooks/bug-fix.md). A reported defect, often with a screenshot or a recording.playbooks/investigate.md). How, why, explain, blast radius or "are you sure?". The deliverable is an answer, not a change.playbooks/rethink.md). A system redesigned from first principles, with fewer tools and moving parts.playbooks/perf.md). Make something faster, or run a performance experiment for a report, against a measured baseline.playbooks/resume.md). A crashed or earlier session to pick up, for example "continue, my device crashed".playbooks/prototype.md). A request to spike, prototype or compare approaches: throwaway variants of a library choice, a layout, a feature, a complete product or a bug fix. One open decision gets labelled variants behind a switcher; several open questions get whole versions, judged and combined into a keep list for the real build.playbooks/disk.md). The disk fills up, or the user asks to remove worktrees, clones or build caches.playbooks/match-design.md). An implementation made to match mock-up images, a design export or a designer's PR.playbooks/spec.md). A new or changed spec written with Spec Kit or a similar spec-driven flow, up to a PR that holds only the spec, or a temporary visual document of an existing spec's Given/When/Then examples.playbooks/design-loop.md). A design created or polished until it meets a bar that the user confirms, through gauntlet-loop: a design for a spec, polish of an existing screen, or a feature concept whose design becomes the input for a spec.lens-review on it before the commit, and fix each confirmed finding. Skip this run when the playbook already ran lens-review, and after Match design. Commit with commit-messages, then use babysit to push, raise the PR and drive CI to green. Add the auto-merge label, or merge, only when the user asks; then monitor until merged and stop.playbooks/bug-fix.md (opens in a new tab)playbooks/design-loop.md (opens in a new tab)playbooks/disk.md (opens in a new tab)playbooks/implement.md (opens in a new tab)playbooks/investigate.md (opens in a new tab)playbooks/match-design.md (opens in a new tab)playbooks/perf.md (opens in a new tab)playbooks/prototype.md (opens in a new tab)playbooks/resume.md (opens in a new tab)playbooks/rethink.md (opens in a new tab)playbooks/review.md (opens in a new tab)playbooks/spec.md (opens in a new tab)scripts/scope-diff.sh (opens in a new tab)scripts/worktree-audit.sh (opens in a new tab)scripts/worktree.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
37 skills in this plugin
/acceptance-reviewWHEN deciding whether a PR, branch, diff, or current code satisfies an authoritative issue, specification, or decision contract; NOT for reconstructing meetings, tracing decision lineage, general code review, or implementation; returns a criterion-by-criterion proof and acceptance verdict./architectWHEN shaping non-trivial code whose types, signatures, non-type contracts or module boundaries are not settled, before implementation; NOT for edits inside one function, read-only explanation, repo-wide hotspot scans, physical folder/package layout, or work whose design is already agreed; sketches caller usage, types, dependencies and module boundaries through arena, then implements against the agreed sketch when authorised/arenaWHEN choosing between alternative shapes for a non-trivial artifact (code, interface, prompt, document or visual direction) by producing several independent attempts in one pass, judging them against a rubric, picking a base and grafting in the best parts of the others; NOT for raising one artifact to a confirmed external bar over repeated rounds (gauntlet-loop), tasks with one obvious answer, or broad coverage or exploration partitions; returns one synthesised artifact and a synthesis note/babysitUSE WHEN a branch with committed work must reach green CI and merge while the user is away, or WHEN you are about to write a loop that polls or re-runs CI for one branch; NOT WHEN you watch many PRs as an agent inbox (github-monitor), only draft a PR description (pr), write commit messages (commit-messages), or write a poller that ships as product or repository code. Pushes the branch, opens the PR, watches checks with gh (GitHub) or tea (Forgejo, Gitea), fixes branch failures and merge conflicts, merges only after the user says yes, and reports each transition./benchmark-checklistWHEN validating a benchmark or measured performance claim; NOT for an unmeasured optimization guess; checks completed work, fairness and repeatability/blast-radiusWHEN investigating impact analysis or what a change could break beyond its diff; NOT for a requirement verdict; maps material risks and decisive checksnpx claudepluginhub mintuz/skills --plugin coreOther plugins' skills for the same job