specgate-work-preparation

specgate-work-preparation is a skill for Claude Code from thanhtung2693/specgate. It costs 38 tokens per session (1,703 once invoked), scanned A, original, Apache-2.0.

A preparation skill for turning a request or source documents into an approved SpecGate work item. SpecGate is the approval process described by the add-on for defining requirements, checks, and implementation handoff.

In plain words
What is it for?
Use it to prepare small changes or document-backed work for SpecGate approval, publish artifact versions, and repair work that is not ready for implementation.
Why use it?
It helps prevent implementation from starting with unclear requirements or unapproved source material. It makes the title, description, acceptance criteria, non-goals, and chosen route explicit first.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the specgate plugin — 4 skills, 1 hook shipped together

Good fit Use it to prepare small changes or document-backed work for SpecGate approval, publish artifact versions, and repair work that is not ready for implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thanhtung2693/specgate/specgate-work-preparation
Install

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.

Any agent
npx skills add thanhtung2693/specgate --skill specgate-work-preparation
Clone the repo
git clone --depth 1 https://github.com/thanhtung2693/specgate

Made for: Claude Code.

Or install specgate, the plugin that ships this one along with the rest of its 4 skills, 1 hook.

Wrote 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.

agentmods badge for specgate-work-preparation

README.md
[![agentmods](https://agentmods.dev/badge/skills/thanhtung2693/specgate/specgate-work-preparation/github.svg)](https://agentmods.dev/skills/thanhtung2693/specgate/specgate-work-preparation)
Your own site
<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.

agentmods 80×15 button for specgate-work-preparation

Your own site · 80×15
<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>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01703
Opus 5 $0.00019 $0.00851
Sonnet 5 $0.00008 $0.00341
Haiku 4.5 $0.00004 $0.00170

Measured 9d ago against content hash e4001eafc3c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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 9d 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.

app/cli/internal/command/local_plugin_assets/skills/specgate-work-preparation/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 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, governing repository instructions, and author-selected source documents. Show the human the exact title, description, observable acceptance criteria, and non-goals. Split work that can be accepted independently. Use an @check:<name> binding only when the human confirms that exact check, and name in the preview which criteria a check enforces and which rest on your claim.

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

Quick work is available in Local and Full mode. Persist the approved contract with explicit criteria, then read it 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 filenames, headings, numbering, or keywords. If the persisted title, description, or ordered criteria differ from the preview, stop instead of implementing.

Completion criterion: the returned Context Pack reproduces the approved quick contract exactly. Quick work ends here; switch to specgate-work-delivery.

2B. Preview and publish an artifact

The originating framework owns source paths, names, lifecycle, and Git policy. Never relocate, copy, rename, delete, commit, or change their ignore rules. Edit source content only when the request authorizes it.

Roles are routing labels, not one-file-per-concern requirements. Map each human-selected source explicitly; never detect a framework or manufacture documents. When policy requires a role one source already covers, map that same path again under the second role — one spec is often both spec and plan.

Read the full file on GitHub · 205 lines

Changes

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.

  1. 9d ago First seen · 205 lines · 38 tokens per session scan A e4001eafc3c9

Subscribe to this mod's changes

specgate-work-preparation is a skill published in the GitHub repository thanhtung2693/specgate (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,703 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.