/tx:archive [change-id]from tx
Archives a completed change by syncing deltas into main specs and freezing the change directory. Enforces task completion gate before archiving.
Ships in tx. 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.
Archiving syncs the deltas into the main specs and freezes the change directory under
openspec/changes/archive/.
Check the active changes and their task counts:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec list --json
If no change is active, say so and stop. A change with no tasks (no-tasks) or
unfinished tasks fails the archive. The CLI does not block this; the gate is
enforced here. Fill missing tasks through tx:plan, unfinished ones through
tx:apply.
Archive:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec archive <change-id> --yes
Revalidate the synced state. A failure is a defect in the spec state archive produced: fix it and revalidate. A finding against a still-active change belongs to that change, not to this archive:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec validate --all --strict --no-interactive --json
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/applyImplement the planned change task by task, then judge it/closeClose the transaction: archive, docs gate, then squash merge into base after CI passes/git-sync-offpause the git-sync guard (resume with /tx:git-sync-on)/git-sync-onresume the paused git-sync guard/openOpen a transaction: cut a tx-* branch off base, seed the repo, and route the change/planPlan the change as OpenSpec artifacts: proposal, delta specs, design, tasksnpx claudepluginhub clomia/claude-automata --plugin txOther plugins' skills for the same job