From para-skills
Archive the current context to create a clean slate for the next task. Removes worktrees, resets context/context.md, preserves summaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/para-skills:para-archivehaikuThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Archive the current context to create a clean slate for the next task.
Archive the current context to create a clean slate for the next task.
$para-archive
$para-archive --fresh # Completely empty context
$para-archive --seed # Carry forward relevant context
Default: create fresh context with references to completed summaries.
context/context.md and extract worktree metadata, including top-level worktree_path and per-phase worktree paths.context/summaries/git worktree remove {worktree_path}$para-archive; do NOT force-remove because that can permanently destroy uncommitted workgit worktree prune to clean up stale references.para-worktrees/ if emptycontext/context.md to context/archives/YYYY-MM-DD-HHMM-context.mdcontext/context.md seeded from ../para-init/assets/context-template.md--fresh was specifiedSee ../para-init/references/context-schema.md for the full context metadata field reference.
If ../para-init/assets/context-template.md is not available in this install, create a minimal fresh context/context.md with empty active_context, completed_summaries, and research_docs arrays plus a current last_updated timestamp.
If ../para-init/references/context-schema.md is not available in this install, the minimal fields needed are: active_context (string[]), completed_summaries (string[]), research_docs (string[]), worktree_path (string or null), and last_updated (ISO 8601 string).
--freshCreate a clean context with no carryover references. Use this when all current work is complete and no summaries need to stay active.
--seedCreate a clean context from ../para-init/assets/context-template.md, then seed it with references to completed summaries and any still-relevant research docs.
Do NOT archive if work is still in progress or you need the current context for continued work.
ls -lt context/archives/
cp context/archives/2025-11-24-1430-context.md context/context.md
To restore a worktree after archive if the branch still exists:
git worktree add .para-worktrees/{task-name} para/{task-name}
grep -r "keyword" context/archives/Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub brian-lai/para-programming-agent-skills --plugin para-skills