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/studiokjm/ai-harness-template/diff-specgit clone --depth 1 https://github.com/studioKjm/ai-harness-templateWhat 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.00043 | $0.00724 |
| Opus 5 | $0.00022 | $0.00362 |
| Sonnet 5 | $0.00009 | $0.00145 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade A, and why
diff-spec 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/diff-spec — Seed Version Diff
seed-vN ↔ seed-v(N+1) 의 의미 단위 diff
When to use
- After
/seedcreates a new version on top of an existing one - Before running
/migrate-tasks(this report informs that classification) - When reviewing a colleague's
seed-evolvePR
Prerequisites
- Living Spec methodology must be active (
/methodology use living-specor/methodology compose ouroboros living-spec) - At least two seed versions must exist in
.harness/ouroboros/seeds/
Usage
/diff-spec # auto: latest two seeds
/diff-spec 1 2 # explicit version numbers
/diff-spec <pathA> <pathB> # explicit file paths
Instructions
You are running the diff-spec tool. Delegate to the Python script — do not attempt to compute the diff yourself; the script's structural comparison is far more reliable than LLM judgment for this.
Step 1 — Locate the script
Try in order:
.harness/methodologies/living-spec/scripts/diff-spec.pymethodologies/living-spec/scripts/diff-spec.py(if running from harness source)
If neither exists, instruct the user to activate the Living Spec methodology first.
Step 2 — Resolve arguments
If the user gave no args, find the two latest seeds in .harness/ouroboros/seeds/seed-v*.yaml and pass their version numbers:
ls .harness/ouroboros/seeds/seed-v*.yaml | sort -V | tail -2
Step 3 — Run
python3 .harness/methodologies/living-spec/scripts/diff-spec.py <from> <to>
The script:
- Compares:
acceptance_criteria(by id),ontology.entities(by name),ontology.actions(by name),constraints.must/must_not(by string),architecture.pattern,goal.summary - Saves report to
.harness/ouroboros/seeds/.diffs/diff-v{a}-to-v{b}.md - Prints the markdown report to stdout
- Heuristic flags breaking-change indicators (removed AC/entities/actions, new must_not, architecture shift)
Step 4 — Report
Relay the script's stdout. If the report contains a 🔴 breaking-change section, add a one-line suggestion:
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 · 77 lines · 43 tokens per session scan A dad9c173f8d8
diff-spec is a command published in the GitHub repository studioKjm/ai-harness-template (43 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 724 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-30.
Other commands, from other repositories
cs
Search prior work to add context to a request, or browse previous sessions on a topic. Shortcut for the Cortex skill's recall workflow.
setup
Run OpenLoomi one-time setup — auto-chains install → launch → guest login → ready in one call.
VibeGuard: ExecPlan
Long-term task execution plan — generates self-contained execution documents from SPEC, supports cross-session recovery.
VibeGuard: Preflight
Explore the project before major modifications, generate constraint sets, and prevent problems from the source.
harness-adopt
Apply Harness Starter Kit to the current target repository with the prompt-first adoption workflow.
ck
Execute the /vibeguard:check command. $ARGUMENTS.