skills/shelve/SKILL.md
Archive session context to todo list and reset for new work
npx skillsauth add ddaanet/agent-core shelveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Archive current session context to todo list and reset session file for new work.
Ask user for approval before running.
Ask user for:
Read the following files:
agents/session.mdagents/todo.md (to prepend to)mkdir -p agents/shelf
Archive to agents/shelf/<name>-session.md with metadata header:
---
archived: YYYY-MM-DD
topic: <name>
reason: <brief description from user input>
---
# Archived Session: <name>
<original session.md content>
Prepend to agents/todo.md after the "## Backlog" header:
## Backlog
### YYYY-MM-DD - Session: <name>
<session.md content>
---
Reset session.md:
cp .claude/skills/shelve/templates/session.md agents/session.md
Report to user:
agents/shelf/<name>-session.md)agents/todo.md with reference.claude/skills/shelve/templates/session.md — use cp to resetcp agents/shelf/<name>-session.md agents/session.md
Remove the metadata header and "Archived Session" title after restoring.
development
Verify a Python function against its intended behavior by writing an icontract contract and checking it with `edify check` (CrossHair), repairing in a loop. Triggers on "formalize", "verify this function", "add a contract and check it", or after writing a function whose correctness matters. The in-context agent holds intent and asks the user when behavior is ambiguous; CrossHair owns the deduction.
tools
Manage git worktrees for parallel task execution. Triggers on "create a worktree", "set up parallel work", "merge a worktree", "branch off a task", or uses the `wt`, `wt merge`, or `wt-rm` shortcuts. Worktree lifecycle: creation, focused sessions, merge ceremony, cleanup, parallel task setup.
testing
Recall behavioral knowledge from project decisions. Triggers on "when to do X", situational patterns, or decision content for recognized situations. Invoke with "/when <trigger>".
tools
Sync edify fragments and portable justfile to match the current plugin version. Detects user-edited files and warns instead of overwriting. Use --force to overwrite conflicts.