From para
Archives current context to dated file, removes git worktrees after commit check, and creates fresh context seeded with summaries. Use after task completion, tests pass, and PR creation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/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 reference to completed summaries.
context/context.md and extract worktree metadata (worktree_path, or per-phase worktree_path entries for phased plans)worktree_path found in metadata, run git worktree remove {worktree_path}/para:archive; do NOT force-remove (this would permanently destroy uncommitted work)git worktree prune to clean up stale references.para-worktrees/ directory if emptycontext/context.md to context/archives/YYYY-MM-DD-HHMM-context.mdcontext/context.md seeded from ../init/context-template.md:# Current Work Summary
Ready for next task.
---
```json
{
"active_context": [],
"completed_summaries": [
"context/summaries/YYYY-MM-DD-task-name-summary.md"
],
"last_updated": "TIMESTAMP"
}
```
See ../init/context-schema.md for the full field reference.
Do NOT archive if work is still in progress or you need the current context for continued work.
ls -lt context/archives/ # List archives
cp context/archives/2025-11-24-1430-context.md context/context.md # Restore
To restore a worktree after archive (if branch still exists):
git worktree add .para-worktrees/{task-name} para/{task-name}
grep -r "keyword" context/archives/npx claudepluginhub brian-lai/para-programming-plugin --plugin paraGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.