openspec

openspec is a skill for Claude Code, Codex from tranfu-labs/tranfu-skills. It costs 72 tokens per session (818 once invoked), scanned A, original, MIT.

A command-line workflow for managing changes as proposal, specification, design, and task files before applying them. OpenSpec is an npm tool for specification-led development, where requirements are written down before code is changed.

In plain words
What is it for?
Use it for multi-step features and long-lived projects: propose a change, create its specs and tasks, apply the tasks, then archive the result into the project’s specifications.
Why use it?
It gives an AI coding session shared documents to work from instead of relying on one prompt. Archived specifications preserve the project’s decisions for later sessions and future changes.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; built for cline.

Good fit Use it for multi-step features and long-lived projects: propose a change, create its specs and tasks, apply the tasks, then archive the result into the project’s specifications.

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

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 openspec

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/openspec"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/openspec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 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.00072 $0.00818
Opus 5 $0.00036 $0.00409
Sonnet 5 $0.00014 $0.00164
Haiku 4.5 $0.00007 $0.00082

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

Security

Grade A, and why

openspec 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 12d 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.

external-skills/openspec/SKILL.md · 59 lines

What it actually says

openspec

本 skill 由 tranfu-labs 推荐, 完整内容 / 装法见 source_url.

完整内容见 source_url

装法 (本条异类, 与一般 external-skill 不同)

OpenSpec 不是 SKILL.md 形态的 skill, 而是 npm CLI + slash commands 集合. install-skill 不能自动拉, 装法走 npm:

npm install -g @fission-ai/openspec@latest
cd your-project
openspec init
# 然后跟 AI 说: /opsx:propose <要做的事>

支持 25+ AI 编码工具 (Claude Code / Cursor / Cline / ...), 详见 source_url 的 docs/supported-tools.md.

推荐场景

(本次为 cold-start 推荐, 暂无 case 文件; 用过的人可走 publish-skill 路径 D 加 case)

适用:

  • 单轮: 让 AI 先产出 proposal+specs+design+tasks, 再按 tasks 顺序 apply, 避免"prompt 描述需求 → AI 直接写代码"中间缺一层共识
  • 多轮 / 跨会话: archive 后规范沉淀进 openspec/specs/, 下次给同一模块加功能时 AI 能读到该模块历史规范, 形成长期积累

不适用: 一次性脚本 / throwaway prototype, 没有"未来再改"的预期.

同类 Skill 对比

由 publish-skill 起草, 推荐者签字. 帮助阅读者横向决定要装哪个 / 跳到更合适的同类.

公司库内

  • 暂无

外部世界

  • github/spec-kit — Spec-Driven Development 工具包, 通过 /speckit.constitution → /specify → /plan → /tasks → /implement 串起 AI 编码流程; 本 skill 区别: spec-kit 适合 0→1 greenfield 单次拉起; OpenSpec 适合多轮迭代 + 长期维护, archive 机制把每个 change 的规范沉淀到 specs/, 下次再改同一模块 AI 能读到历史规范
  • Kiro — AWS 出的 agentic IDE, 内置 spec-driven 流程把自然语言转 requirements/design/code; 本 skill 区别: OpenSpec 不锁 IDE 也不锁模型, 在你现有 Claude Code / Cursor / 任何 25+ 工具里都能跑

本 skill 独特价值

  • 每 change = 一文件夹 (proposal / specs / design / tasks), archive 后规范沉淀到 specs/
  • npm 一行装, slash commands 接入 25+ AI 编码工具, 不锁 IDE 不锁模型
  • 单轮 spec 先行执行可控; 多轮模块历史规范跨会话可读
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. 12d ago First seen · 59 lines · 72 tokens per session scan A c09374a8835c

Subscribe to this mod's changes

openspec is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 72 tokens to every session and 818 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens