implement-spec

implement-spec is a skill for Claude Code, Codex from panaversity/ksor. It costs 59 tokens per session (1,185 once invoked), scanned A, original, Apache-2.0.

An implementation workflow for turning a written plan into code. It breaks the plan into parts, writes failing acceptance tests first, verifies the result, and reviews it for omissions.

In plain words
What is it for?
Use it when implementing a planned change in a repository, especially when the work includes browser-visible site behavior or detailed acceptance requirements.
Why use it?
It reduces the risk that code only partly follows the plan or misses error cases and promised behavior.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/panaversity/ksor/implement-spec
Any agent
npx skills add panaversity/ksor --skill implement-spec
Clone the repo
git clone --depth 1 https://github.com/panaversity/ksor

Made for: Claude Code, Codex.

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 implement-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/panaversity/ksor/implement-spec.svg)](https://agentmods.dev/skills/panaversity/ksor/implement-spec)
Your own site
<a href="https://agentmods.dev/skills/panaversity/ksor/implement-spec"><img src="https://agentmods.dev/badge/skills/panaversity/ksor/implement-spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00059 $0.01185
Opus 5 $0.00030 $0.00593
Sonnet 5 $0.00012 $0.00237
Haiku 4.5 $0.00006 $0.00119

Measured 4d ago against content hash c66bd7349712, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implement-spec scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

browser context (playwright when available; curl + DOM assertions minimum): the page renders,
.agents/skills/implement-spec/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementing a spec

The spec is the contract; this skill is how the contract becomes code without losing anything on the way. It exists because prose discipline drifts and checklists don't — follow it in order. (Until specs/ exists here, "the spec" is the plan or decision the change implements — research/ plans and AGENTS.md → Decisions entries count.)

1 · Breakdown before code

Read the spec twice. Decompose it into aspects — every contract clause, every negative promise, every error slug, every acceptance line is an aspect. Write the list into the working branch's commit plan. An aspect with no test planned is a hole: fix the plan, not later.

2 · Red first

Turn the spec's acceptance into failing tests before any implementation — integration tests verbatim where the spec gives observable behavior, unit tests for what it marks unit-tier. Run them; watch them fail for the right reason. The implementation's job is to turn exactly these red lights green — nothing more. If implementing reveals the acceptance is wrong, fix the spec in the same commit (code wins; supersession visible).

3 · Implement in aspect-sized commits

One aspect, its test, its code — smallest change that proves the next assumption. Never batch five aspects into one commit; review dies there.

4 · Aggressive self-review before declaring anything

Before "done", attack your own work the way this repo attacks specs:

  • Re-read the spec clause by clause against the diff — every clause either has a passing test or a written reason it can't.
  • Hostile pass: what did I not handle — interruption, empty input, weird names, missing binary, no network, wrong platform? The error contract is the map; every failure path must be reachable and tested.
  • For anything non-trivial, run the repo's adversarial pattern: independent reviewers with distinct lenses (/code-review at high effort, or spawn review agents). Findings get fixed or recorded — never quietly dropped.

Read the full file on GitHub · 90 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. 4d ago First seen · 90 lines · 59 tokens per session scan A c66bd7349712

Subscribe to this mod's changes

implement-spec is a skill published in the GitHub repository panaversity/ksor (145 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 1,185 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens

web-browser

Automate and interact with web pages through Chrome or Chromium using the Chrome DevTools Protocol (CDP): navigate, click, fill forms, inspect content, take screenshots, and debug console or network activity. Use when an agent needs a real browser. Prefer headless Chrome unless visible browser interaction is required.

mitsuhiko/agent-stuff · 64 tokens