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 thanhtung2693/specgate --skill specgate-work-preparationgit clone --depth 1 https://github.com/thanhtung2693/specgateWrote 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/thanhtung2693/specgate/specgate-work-preparation)<a href="https://agentmods.dev/skills/thanhtung2693/specgate/specgate-work-preparation"><img src="https://agentmods.dev/badge/skills/thanhtung2693/specgate/specgate-work-preparation/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/thanhtung2693/specgate/specgate-work-preparation"><img src="https://agentmods.dev/badge/skills/thanhtung2693/specgate/specgate-work-preparation.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.01694 |
| Opus 5.5 | $0.00015 | $0.00678 |
| Sonnet 5.5 | $0.00008 | $0.00339 |
| Haiku 4.5 | $0.00004 | $0.00169 |
Grade A, and why
specgate-work-preparation 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 17d 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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Preparing Work
Apply the SpecGate operating contract. This phase produces an approved implementation handoff; it never implements product code.
1. Define the contract and route
Read the request, repository instructions, and human-selected sources. Show the
title, description, observable criteria, and non-goals; split independently
accepted work. Bind @check:<name> only after the human confirms that check and
show which criteria it enforces and which remain reviewed claims.
When the change touches existing behavior, ask what it must preserve. Read
existing tests; propose ordinary acceptance criteria. Bind @check only to
exercised behavior; rerun after implementation. Follow the
preservation recipe when relevant.
In Local mode, offer pinning only when the human wants reviewed commands stable across agents or resumes; never make it a default quick-work step. Carry each candidate binding and command/cwd proof to delivery.
Choose one route with the human:
- Quick work for a small change that does not need a governed source snapshot.
- Artifact-backed work when an existing spec, design, plan, verification document, or other source must be versioned and approved.
Do not create a durable record until the human approves the displayed contract.
Completion criterion: the human-approved preview names every slice's contract and route.
2A. Create quick work
Create quick work with explicit criteria, then read the approved contract back:
specgate work create-quick "$TITLE" --description "$DESCRIPTION" \
--ac "$CONFIRMED_CRITERION_1" --json
specgate work show "$WORK_REF" --json
specgate work context "$WORK_REF" --json
Never derive criteria from source structure. Stop if the stored contract differs from the preview.
Completion criterion: the returned Context Pack reproduces the approved quick
contract exactly. Quick work ends here; switch to specgate-work-delivery.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 17d ago Changed · -1 lines 4500d040fbf1
- 1mo ago Changed · +2 lines 99cf9dd9045c
- 2mo ago Changed e3c4ef2f90ad
- 3mo ago First seen · 205 lines · 38 tokens per session scan A e4001eafc3c9
specgate-work-preparation is a skill published in the GitHub repository thanhtung2693/specgate (6 stars, last pushed 14d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,694 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.
specgate-work-preparation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| specgate-work-preparationthanhtung2693/specgate | Skill | 6 | 14d ago | Apache-2.0 | A | 38 | Claude Code |
| coding-agents-farmgriddynamics/rosetta | Skill | 382 | yesterday | Apache-2.0 | B | 32 | Claude Code |
| qa-echodash0hq/dash0-agent-plugin | Skill | 7 | yesterday | Apache-2.0 | A | 34 | Claude Code |
| mcp-media-inbox-triagezapier/gtm-cheat-codes | Skill | 367 | 4mo ago | MIT | A | 43 | Claude Code |
| customer-deck-builderzapier/gtm-cheat-codes | Skill | 367 | 4mo ago | MIT | A | 29 | Claude Code |
| coding-posturealexei-led/coding-posture | Skill | 16 | 19d ago | MIT | A | 79 | Claude Code |
| dash0-configuredash0hq/dash0-agent-plugin | Skill | 7 | yesterday | Apache-2.0 | B | 81 | Claude Code |