No slash command · from archon-os
Manages workflow state across Claude Code sessions with handoff and resume. Saves session state to `.claude/handoffs/` files and restores plan context on resume.
Ships in archon-os. 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.
AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.
Manage workflow state across sessions.
Token ≥75% → suggest handoff. User says handoff/save → execute. User says resume + name/ID → load.
.claude/handoffs/<name>.{json,md} — <name> = slug of the session title: /rename custom title → auto (ai) title → session-<id8>. Two sessions in one project never overwrite each other; a same-title clash gets -<id8>.
handoff)node "${CLAUDE_PLUGIN_ROOT}/hooks/compact-handoff.cjs" --save --note "<done · next steps · decisions · blockers>". The session id comes from ARCHON_CLAUDE_SESSION_ID (exported at SessionStart). The note is the part only you know — make it specific..claude/plans/active.json, from the project root) and the project's own plan docs (ROADMAP.md, *_PLAN.md, docs/*plan*…). If one of those is the living plan, update it there — don't fork a second plan into the handoff./run: also keep run-state.json current (current_phase, next_action).
Non-code project (no .git, no manifest): do not create .claude/logs/runs/ or plan logs — the handoff file is the only state./run resume <name> (or claude --resume "<title>")./run resume <name>)node "${CLAUDE_PLUGIN_ROOT}/hooks/compact-handoff.cjs" --show <name> (accepts name, title or session id; --list for all).hooks/compact-handoff.cjs saves the same per-session file automatically:
ARCHON_HANDOFF_THRESHOLD (default 70%, read from the statusline's .claude/cache/context-usage.json); without statusline data, saves only while a run is open.compact/resume of the same session → injects its handoff (auto snapshots are then deleted; manual ones stay). A new session only gets a list of named handoffs — never another session's context. clear → nothing.Handoffs older than 14 days are pruned. Disable: ARCHON_COMPACT_HANDOFF_DISABLED=true.
workflow:
id: AUTH-1234
phase: 3
status: in_progress
agents[2]: architect,tester
Not found → show available, suggest /run. Corrupted → restore from .backup.json.
Completed: 30 days. Cancelled: 7 days. Paused: indefinitely.
What SKILL.md sets; muted values are Claude Code's defaults
haikuThree short reads, in order
session-management, workflow-persistence, handoff, resume, state-save
npx claudepluginhub nguyenthienthanh/archon --plugin archon-os45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return.Other plugins' skills for the same job