Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/valsecchi75/project-scaffolder/wrapgit clone --depth 1 https://github.com/valsecchi75/project-scaffolderWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00030 | $0.00476 |
| Opus 5 | $0.00015 | $0.00238 |
| Sonnet 5 | $0.00006 | $0.00095 |
| Haiku 4.5 | $0.00003 | $0.00048 |
Grade A, and why
wrap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/wrap
End-of-session ritual. Run before closing the chat to preserve context for the next session.
Usage
/wrap
/wrap --commit
Steps
- Update
wiki/priorities.md— mark completed tasks, adjust queue, record blockers - Update
wiki/handoff.md— what was done, what remains, which files the next session should read first - Create/append
daily-log/YYYY-MM-DD.md:- Tasks completed (with VERIFY evidence)
- Decisions made (reference DEC-NNN)
- Errors encountered (reference KE-NNN / ERR-NNN)
- Approximate time
- Wiki hygiene pass (v3):
- Update
last-verified: YYYY-MM-DDin the frontmatter/header of every wiki page touched this session. - Flag (report only, no action) pages with
last-verifiedolder than 30 days: "N stale pages — consider/wiki-gc". - Check line caps:
handoff.md≤ 80,priorities.md≤ 100,CLAUDE.md≤ 120. If exceeded → move the overflow towiki/_archive/YYYY-MM/with a stub link (same protocol as/wiki-gcstep 3).
- Update
- Update
wiki/log.mdif a phase-level milestone was reached - Trigger Synapse Operation 4 (map hygiene): prune connections to deleted skills, trim "Recent Propagations" to last 20, flag orphan skills
- If
--commit: stage modified files, generate commit message from completed tasks, create commit (never push) - If context is near or above the threshold set in CLAUDE.md, run the Handoff Procedure from the context-manager skill (continuation prompt included)
Rules
- Always produce a handoff, even for short sessions (minimum: "No progress, blockers: X").
- Never skip the daily log.
--commitwith mixed-intent work: ask for confirmation before committing.- Never force-push or touch remote.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 41 lines · 30 tokens per session scan A dab5bded297b
wrap is a command published in the GitHub repository valsecchi75/project-scaffolder (9 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 476 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
speckit.git.commit
Auto-commit changes after a Spec Kit command completes.
commit-all
Group all changes semantically and commit each group separately.
commit
Based on the above changes, create a single git commit.
commit
Safe git commit practices for MindRoom.
commit
智能生成 Git 提交信息并提交.
commit
Create a Conventional Commit with signoff.