write-a-spec

write-a-spec is a skill for Claude Code, Codex from inkeep/open-knowledge. It costs 176 tokens per session (4,724 once invoked), scanned A, original, GPL-3.0.

A document that turns an accepted feature proposal into a detailed implementation plan. It maps the current system, defines goals and exclusions, records major decisions, tracks open questions, and includes migration and testing plans.

In plain words
What is it for?
Use it when scoping a feature, writing an implementation specification, or turning a proposal into work under a specs/ folder. It covers design decisions, unresolved issues, migration, and tests.
Why use it?
It gives developers a shared description of what to build and how to change the existing system safely. It also records decisions that would be difficult to undo later.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is parent_proposal: ./proposals/0004-payment-retries.md # or note the skip.

Good fit Use it when scoping a feature, writing an implementation specification, or turning a proposal into work under a specs/ folder. It covers design decisions, unresolved issues, migration, and tests.

Compare 6 skills from other repositories ↓
About the project

OpenKnowledge is a markdown editor and local knowledge-base application for writing wikis, notes, specifications, and reports. People use it through desktop, web, or command-line interfaces to edit documents, search and link knowledge, and work with AI coding agents. The catalogue entries provide skills and instructions for using its knowledge-management and agent integrations.

inkeep/open-knowledge · 4,955 stars · on GitHub · openknowledge.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/inkeep/open-knowledge
agentmods
npx agentmods add skills/inkeep/open-knowledge/write-a-spec

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 write-a-spec

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/inkeep/open-knowledge/write-a-spec"><img src="https://agentmods.dev/badge/skills/inkeep/open-knowledge/write-a-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,724 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 23
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 25
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 112
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin unknown 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.00176 $0.04724
Opus 5.5 $0.00070 $0.01890
Sonnet 5.5 $0.00035 $0.00945
Haiku 4.5 $0.00018 $0.00472

Measured 1mo ago against content hash 68558c437844, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-a-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 1mo 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.

packages/server/assets/skills/packs/software-lifecycle/write-a-spec/SKILL.md · 299 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 1mo ago Changed 68558c437844
  2. 3mo ago First seen · 299 lines · 176 tokens per session scan A 1e1e2fdc5335

Subscribe to this mod's changes

write-a-spec is a skill published in the GitHub repository inkeep/open-knowledge (4,955 stars, last pushed today), licensed GPL-3.0. It adds 176 tokens to every session and 4,724 once invoked, about $0.0007 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-30.

Related

write-a-spec compared with skills from other repositories

write-a-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-a-specinkeep/open-knowledgeSkill5.0ktodayGPL-3.0A176Claude Code, Codex
dingtalk-wiki-mcpianen/dingtalk-wiki-mcpSkill49mo agoMITA0Claude Code, Codex
powerpointthe-open-agent/openagentSkill5.8ktodayApache-2.0A48Claude Code, Codex
vault-normalizerpoco-ai/AgenteroSkill3.1ktodayMITA57Claude Code, Codex
mindosGeminiLight/MindOSSkill707todayMITA157Claude Code, Codex
design-mcp-servercyanheads/obsidian-mcp-serverSkill72023d agoApache-2.0A62Claude Code
starcat-ui-prototypestarcat-app/StarcatSkill2303d agoMITA85Claude Code, Codex