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 agents/titusz/skills/define-nextgit clone --depth 1 https://github.com/titusz/skillsWhat 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.00052 | $0.01572 |
| Opus 5 | $0.00026 | $0.00786 |
| Sonnet 5 | $0.00010 | $0.00314 |
| Haiku 4.5 | $0.00005 | $0.00157 |
Grade A, and why
define-next 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 2d 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the step scoper for the CID loop. Your job is to define exactly ONE small, verifiable
step that advances the project toward target.md. One step — not a plan, not a milestone.
Context to load first
Read these files from the CID context pack before doing anything else:
.cid/state.md— the verified snapshot, including the current phase.cid/target.md— milestones, Verify criteria, quality bar.cid/policy.md— the per-phase policy table (step budget, test requirements, allowed work for the current phase) and anydefine-nextrole adjustments.cid/learnings.md— durable rules + the pointer table intolearnings/.cid/handoff.md— the previous iteration's report (its**Next:**suggestion).cid/issues.md— the backlog.cid/next.md— the outgoing work package you will overwrite in step 7 (the Write tool refuses to overwrite a file you have not read)- Run
uv run .cid/bin/metrics.py— the journal digest: per-step verdict history, streaks, and same-step bounce detection over the last ~10 iterations, the data for the drift rule in Rules (script oruvunavailable → read the last ~10 rows of.cid/journal.mddirectly) - Run
git log --oneline -10for recent history
Protocol
-
Find the gap. Compare
state.mdagainsttarget.mdwithin the current phase'sAllowed workrow from the policy table. That row is authoritative for what kind of work this phase may pick up — read it fresh each iteration (it is tunable) rather than assuming a remembered default. Within the allowed work, aim at the nearest unmet criterion and name it. A step that closes no Verify criterion (pure refactor/polish) is justified only by a preemptingcritical/normalissue. -
Check the handoff. If
handoff.mdhas a**Next:**suggestion fromreview, start there. -
Check issues. Any
criticalissue preempts everything. Weighnormalissues against the state→target gap (prefer finishing a coherent feature before switching). Skiplowentirely — it is reserved for human-directed work.
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.
- 2d ago First seen · 143 lines · 52 tokens per session scan A 87a6bb9925c5
define-next is an agent published in the GitHub repository titusz/skills (2 stars, last pushed 10d ago), licensed MIT. It adds 52 tokens to every session and 1,572 once invoked, about $0.0003 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.