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 skills add roarista/awesome-harness --skill compact-prepgit clone --depth 1 https://github.com/roarista/awesome-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/roarista/awesome-harness/compact-prep)<a href="https://agentmods.dev/skills/roarista/awesome-harness/compact-prep"><img src="https://agentmods.dev/badge/skills/roarista/awesome-harness/compact-prep/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/roarista/awesome-harness/compact-prep"><img src="https://agentmods.dev/badge/skills/roarista/awesome-harness/compact-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00038 | $0.00920 |
| Opus 5.5 | $0.00015 | $0.00368 |
| Sonnet 5.5 | $0.00008 | $0.00184 |
| Haiku 4.5 | $0.00004 | $0.00092 |
Grade A, and why
compact-prep 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
compact-prep (Codex edition) — the every-turn close
Step 7 of THE PROCEDURE (
~/.codex/AGENTS.md). Anything that exists only in the conversation is at risk; this pushes it into files, git, and mulch.
MINIMUM PATH (every turn — this is the whole skill)
1. commit the work
2. `ml record` the durable lesson (syntax below; <=2 sentences)
3. REPLACE `## Active Resume Point` in .planning/STATE.md (replace, never prepend)
4. `.now.md` — NOW / LAST_VERIFIED / NEXT, <=5 lines
5. push to origin
6. emit the CONTINUE block
1. Commit
git status --short
git log --oneline -5
Triage what is uncommitted:
- Real work (code, tests, migrations) — commit it. If on the default branch, branch first.
- Session metadata (
.planning/STATE.md,.now.md,.mulch/) — commit with the work or alongside it. - Ambiguous / untracked WIP you did not create — ask Ro, never sweep it in silently.
2. Record the durable lesson
Skip if which ml returns nothing (ml lives at ~/.npm-global/bin/ml).
ml record <domain> --type <pattern|convention|failure|decision|reference> [required fields] --description "..."
ml sync
Type-specific required fields the CLI rejects without:
pattern→--namefailure→--resolutiondecision→--titleand--rationaleconvention,reference→--descriptiononly
Record format: each record ≤2 sentences. Overflow (dates, exact flags, counts, evidence) goes to .mulch/details/<slug>.md, and you read that detail file before acting on the record. Full rules: ~/.codex/MEMORY_STANDARD.md.
Record (HIGH signal): a bug that took >30min to find, with root cause and how to spot it next time; an architectural decision plus its rationale; a failure mode and its resolution; a convention this repo now follows. Do NOT record: anything already in AGENTS.md/CLAUDE.md, transient per-run data, raw payloads, PII, or "today I learned X" with no evidence.
3. STATE resume point
Replace the ## Active Resume Point section in .planning/STATE.md — never prepend a new one, or the file grows into an unreadable log. It answers exactly one question: what does the next session do first?
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.
- 1mo ago Changed · +4 lines · -35 tokens per session 2bd0264ce6fe
- 2mo ago First seen · 80 lines · 73 tokens per session scan A 89b203addc9b
compact-prep is a skill published in the GitHub repository roarista/awesome-harness (1 stars, last pushed 4d ago), licensed MIT. It adds 38 tokens to every session and 920 once invoked, about $0.0002 per session on Opus 5.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.
compact-prep compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compact-preproarista/awesome-harness | Skill | 1 | 4d ago | MIT | A | 38 | Claude Code, Codex |
| git-ai-searchgit-ai-project/git-ai | Skill | 2.9k | 2d ago | Apache-2.0 | A | 13 | Claude Code |
| rememberpacifio/atlas | Skill | 9.5k | 2d ago | Apache-2.0 | A | 32 | Claude Code |
| releasematrixorigin/memoria | Skill | 623 | 2d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| recall-rationaletobihagemann/turbo | Skill | 419 | 14d ago | MIT | A | 74 | Claude Code, Codex |
| change-boottikalk/adlc-team-skills | Skill | 145 | today | MIT | A | 113 | Claude Code, Codex |
| jolli-searchjolliai/jolliai | Skill | 149 | 3d ago | Apache-2.0 | A | 39 | Claude Code, Codex |