/tandem:modefrom tandem
Set and enforce the project's global conversation Mode (Plan · Dev · Dual · Neutral) — the persistent "moat" that frames every joined chat. Use when the user says "go to plan/dev/dual mode", "set the mode", "isolate this chat", "rejoin global mode", when a request is out-of-mode, or when uncertain which conversation Mode is active.
Ships in tandem. 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.
None: SKILL.md is the whole skill.
A single project-global Mode frames every joined chat so suggestions stay in-phase. State lives in .tandem-mode.json at the repo root (git-ignored). Read/write it ONLY through _00-Project-Management/93-Scripts/mode.js (CLI or import) — never hand-edit the JSON.
| Mode | Meaning | Out-of-mode requests |
|---|---|---|
| plan | Planning phase. Founder/PM/QA-planning work. | Dev requests → nudge |
| dev | Building phase. Dev/QA-execution work. | Plan requests → nudge |
| dual | Both allowed (planning in one chat, building in another). | No nudge |
| neutral | No active frame (default/resting). | No enforcement |
session-start runs, or when the mode is set from within the chat.UserPromptSubmit hook injects a Tandem mode: … banner each message for joined chats; a free chat gets nothing.node _00-Project-Management/93-Scripts/mode.js leave --session <session_id>.Use the session ID from the hook payload / session context as
<session_id>in every command below.
Triggered by /mode <plan|dev|dual|neutral> or natural language ("go to plan mode"):
node _00-Project-Management/93-Scripts/mode.js set <mode> --by user --session <session_id> [--context "<short label>"]
Setting from a chat also joins that chat. Confirm the change in one line and state what it now enforces.
When a JOINED chat's active mode disagrees with the request:
In plan, asked for Dev work:
⚠️ We're in Plan mode — that's Dev work. (a) switch to Dev, (b) go Dual so planning here + dev elsewhere both run, or (c) do it as a one-off without changing the mode?
On (c), do the single task; leave the flag on plan (no silent drift).
In dev, asked for Plan work: mirror image.
In dual: no nudge — both allowed.
In neutral: no enforcement; proceed. If a sustained run of one phase begins, you MAY offer once: "Want to set Plan mode for this?" — offer, never force.
Free (un-joined) chat: no banner, no nudge.
You do not flip to Neutral spontaneously. It happens via:
close-out-story — only when the closed story was the last open story in the phase.close-phase — always (also how Dual exits).Each auto-reset is announced; it is written with --by auto-neutral.
Bring it to the user. Never invent a fifth mode. Never hand-edit .tandem-mode.json.
What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
/autopilotDrive the whole plan end-to-end unattended by chaining start-phase, each chat's execute-batch (subagent-per-batch), and close-phase across one or more phases — with checkpoint/resume, fail-halt guardrails, model tiering, and a usage-governor seam; use when the operator invokes /tandem:autopilot or asks to run the plan autonomously, hands-free, or unattended./close-out-storyClose out a STORY through the Definition of Done gate. Use when the testplan is fully PASS, when the user asks to close a story, to finish a story, to mark a story done, or to run the DoD check. Runs the DoD checklist, flips status to done, updates MONITOR, regenerates the dashboard./close-phaseClose out a whole phase after an execution-strategist chat / execute-batch run finishes — gate on every phase story being done, compile a phase retrospective, capture follow-ups, update the board, then run a gated merge to main. Use when the user asks to close a phase, wrap up a phase, run a phase retro, or wants to wrap up and integrate a finished chat/phase whose stories are already done.npx claudepluginhub data-ai-xyz/tandem --plugin tandem