trace
Read or hand-write the project progress ledger (.claude/trace.md). Use when the user says "/trace", "what did I do", "log this", "trace done", or wants to record or review what moved this session. The automatic Stop hook already logs file changes; this skill is the reader and the
Install
npx skills add https://github.com/mirkobozzetto/arsenal/tree/main/plugins/trace/skills/trace
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install mirkobozzetto-arsenal@llmmart
git clone https://github.com/mirkobozzetto/arsenal.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole mirkobozzetto/arsenal collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Trace
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.
Files (arsenal)
-
references
-
format.md 3.5 KB
Loading…
-
-
scripts
-
trace.cjs 12.9 KB · in bundle
-
-
SKILL.md 2.7 KB
--- name: trace description: Save where the session stands before ending it, so next can resume it in a clean context. Also reads or records project progress. argument-hint: "[save] | [done <what> --files a,b --id id --status shipped] | [--read n]" --- # Trace 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`) 1. Gather, without asking: this conversation; `git log` since the last save (`node scripts/trace.cjs saves --all` gives 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 from `gh issue list --label arsenal --state open` when `gh` answers. 2. Show at most five lines: done, not finished, planned. 3. 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. 4. 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. 5. End with « Tu peux /clear. » in the conversation language, then the resume command as the last line: `next` in the harness syntax (`/next:next` in Claude Code, `/skill:next` in OMP and Pi, `$next` in 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. `shipped` only 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.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.