to-spec

to-spec is a skill for Claude Code, Codex from fellipeutaka/leon. It costs 30 tokens per session (826 once invoked), scanned A, a copy of to-spec, MIT.

A workflow that turns the current conversation and codebase understanding into a written software specification, then publishes it to the project's issue tracker. An issue tracker is a tool such as GitHub Issues where development work is recorded.

In plain words
What is it for?
For exploring a repository, drafting a feature specification, choosing where to test it, and creating a ready-for-agent issue.
Why use it?
It captures decisions already made without repeating an interview, while checking the repository's terminology, design decisions, and testing points.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the engineering-workflows plugin — 6 skills shipped together

Good fit For exploring a repository, drafting a feature specification, choosing where to test it, and creating a ready-for-agent issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fellipeutaka/leon/to-spec
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 fellipeutaka/leon --skill to-spec
Clone the repo
git clone --depth 1 https://github.com/fellipeutaka/leon

Made for: Claude Code, Codex.

Or install engineering-workflows, the plugin that ships this one along with the rest of its 6 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fellipeutaka/leon/to-spec/github.svg)](https://agentmods.dev/skills/fellipeutaka/leon/to-spec)
Your own site
<a href="https://agentmods.dev/skills/fellipeutaka/leon/to-spec"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/to-spec/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 to-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/fellipeutaka/leon/to-spec"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/to-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 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 89% copy Near-identical to another mod 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.00030 $0.00826
Opus 5.5 $0.00012 $0.00330
Sonnet 5.5 $0.00006 $0.00165
Haiku 4.5 $0.00003 $0.00083

Measured 25d ago against content hash b4b23f80eb5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

to-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 25d 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.

Origin

This is a copy

89% identical to to-spec — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/to-spec/SKILL.md · 80 lines

How it starts

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

This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user; just synthesize what you already know.

Read docs/agents/issue-tracker.md and the configured triage vocabulary before publishing. Follow its ownership, Project mapping, and final PR policy. If tracker configuration is absent, tell the user to run /setup-matt-pocock-skills.

Process

  1. Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching.

  2. Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.

Check with the user that these seams match their expectations.

  1. Write the spec using the template below, then publish it to the project issue tracker. Apply the configured ready-for-agent triage label.

    For GitHub, assign a new PRD to the developer driving the session (the authenticated gh api user --jq .login unless the user identifies another developer). Reuse an existing idea/PRD issue when supplied or when resuming, retaining its assignees and current progress unless the user requested a change. Follow the tracker document to ensure membership in the selected Project and initialize a new work item as todo; retries preserve existing status. Project updates apply only when configured, and use its Status field rather than lifecycle labels.

  2. Fetch the published issue and, when configured, its Project item. Verify the URL, body, readiness label, assignees, membership, and expected Status. Report publication or tracking failures separately with the existing URL so a retry updates that issue instead of creating a duplicate. Keep the issue open; publication reserves the work and does not start implementation.

Read the full file on GitHub · 80 lines

Files

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.

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. 25d ago First seen · 80 lines · 30 tokens per session scan A b4b23f80eb5f

Subscribe to this mod's changes

to-spec is a skill published in the GitHub repository fellipeutaka/leon (5 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 826 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to to-spec, differing in 8 lines, and is treated as a copy.

Related

to-spec compared with skills from other repositories

to-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
to-specfellipeutaka/leonSkill54d agoMITA30Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code