trace
Save where the session stands before ending it, so next can resume it in a clean context. Also reads or records project progress.
SKILL.mdplugins/trace/skills/trace/SKILL.md
GitHubTrace
Run at the end of a session the user wants to close, before /clear. It
leaves a dated save that next offers to resume. Trace never resumes work
itself. Resolve scripts/trace.cjs from this skill's directory.
Save (no argument, or save)
- Gather, without asking: this conversation;
git logsince the last save (node scripts/trace.cjs saves --allgives its date);git status --short; planned work: briefs (docs/brief/*/brief.md) and proposals (docs/proposals/*/PROPOSAL.md) not shipped or superseded, review reports (docs/review/*/report.md) with unchecked points, and open issues fromgh issue list --label arsenal --state openwhenghanswers. - Show at most five lines: done, not finished, planned.
- Ask only what the context cannot answer, one question per message, in
plain text and the conversation language, then wait:
- what to continue next session, with your suggestion;
- anything to remember that you may have missed: a decision, an approach that failed. Skip a question the conversation already answers. Usually none is needed.
- Write it:
node scripts/trace.cjs save --done "…" --left "…" --next "a ; b" --remember "…" --planned "…". One line per field, in the conversation language, specific: paths, branch, task ids, issue numbers, commands. Omit an empty field. The save closes older open saves on the same branch (superseded): carry into it whatever they still left. - End with « Tu peux /clear. » in the conversation language, then the
resume command as the last line:
nextin the harness syntax (/next:nextin Claude Code,/skill:nextin OMP and Pi,$nextin Codex).
The save is private: the script adds the ledger to .git/info/exclude and
it never enters a commit.
Other modes
done "<what>" [--files a,b] [--id id] [--status shipped]: one intent entry.shippedonly with evidence.--read n: print the last entries, then stop. Do not reopen the work they describe.
The Stop hook logs files moved and commits made each turn, with no model
call. It records activity, not delivery: never upgrade wip to shipped
without evidence. Keep this cross-session ledger distinct from a ship run's
trace.md; do not copy events between them.
Execution policy
Work solo. Ask before any subagent or reviewer, even in auto mode. No hidden advisor, nested delegation, model retuning, repeated successful checks, or progress spam. Stop when the save is written. User stops and scope changes override pending steps.