Flow2Spec: Skill for Claude Code

.claude/skills/f2s-req-plan/SKILL.md

f2s-req-plan is a skill for Claude Code from double-coding-lab/Flow2Spec. It costs 64 tokens per session (3,100 once invoked), scanned A, original, MIT.

A workflow for turning technical requirements or change descriptions into a planned and implemented software task. It uses a .task/ folder to track work from planning through completion.

In plain words
What is it for?
Use it to create task plans, break work into subtasks, coordinate other agents, implement changes, and maintain task records.
Why use it?
It keeps task planning, implementation, progress marking, and archiving consistent, especially when several coding agents share the work.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions AGENTS.md; mentions Codex.

This is double-coding-lab/Flow2Spec's own configuration. It tells Claude Code how to work on Flow2Spec itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Flow2Spec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to double-coding-lab/Flow2Spec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/double-coding-lab/Flow2Spec/main/.claude/skills/f2s-req-plan/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/double-coding-lab/Flow2Spec

Made for: Claude Code.

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 f2s-req-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-req-plan/github.svg)](https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-req-plan)
Your own site
<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-req-plan"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-req-plan/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 f2s-req-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-req-plan"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-req-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,100 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 pass 7 Sept 2026
How audits are shown
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.00064 $0.03100
Opus 5.5 $0.00026 $0.01240
Sonnet 5.5 $0.00013 $0.00620
Haiku 4.5 $0.00006 $0.00310

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

Security

Grade A, and why

f2s-req-plan 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.

.claude/skills/f2s-req-plan/SKILL.md · 159 lines

How it starts

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

任务路径:凡 .task/ 落盘与续作,**必须以 rules/f2s-task 解析的 TASK_ROOT 为准(.task 或 .task/<developerId>;config → git → legacy)。下文若仍出现 .task/todo.json / .task/active/,均视为 TASK_ROOT/... 的简写。

需求任务规划与实现(f2s-req-plan)

从需求/技术方案出发,完整覆盖「规划 → 实现」链路。不依赖 changeTracking.*,但 .task/ 全生命周期必须以 f2s-task 为唯一真值源(目录、格式、续作、打钩、归档、user-todos)。知识库同步由用户后续按需调用 f2s-kb-feat / f2s-kb-sync。

与 f2s-task 的关系(硬约束)

项 说明
真值源 配置根 rules/f2s-task.*(alwaysApply: true);Codex 读 .codex/topics/f2s-task.md(init 镜像,与 rules 同源)
本技能职责 规划草稿、实现代码、子 agent 编排;不得自定 .task/ 结构或弱化打钩/归档
与 changeTracking f2s-req-plan 不受 changeTracking.feat/fix/implement 约束,始终走任务清单;见 f2s-task「生效条件」

所有已为项目初始化的客户端都必须读取 f2s-task 全文(步骤 0 必做,先于下文任何步骤)。请从当前客户端生成的 rules、AGENTS.md 或 topics 入口读取,不得用本技能摘要代替全文。

编排(主 / 子 agent)

  • subAgent / switchAgentVerification 以统一入口为唯一事实源:Cursor/Claude → rules/f2s-flow2spec-unified-entry.*;Codex → .codex/topics/f2s-flow2spec-unified-entry.md。
  • 步骤 1(续作分诊 + 解析):主 agent 必做 f2s-task「任务开始」1–2;解析文档可拆子 agent(只读)。
  • 步骤 2(同轮展示 + 落盘):必须主 agent;默认不等待用户确认,展示与落盘同一轮完成;仅命中「歧义例外」时才停下一次列问题(见步骤 2 正文)。
  • 步骤 3(落盘):按 f2s-task「任务开始」3.a–3.f;todo.json 仅主 agent;task.md / context.md / user-todos.md 初稿可子 agent,user-todos.md 执行中追加由主 agent 合并。
  • 步骤 4(实现):子 agent 只写业务代码;禁止子 agent 写 todo.json、改 task.md checkbox;打钩由主 agent 在合并后当步完成。
  • 步骤 5(归档):主 agent;仅满足 f2s-task「任务完成」归档门禁后执行。
  • worktree 卫生见 f2s-flow2spec-unified-entry;中断/结束见 f2s-task「中断与会话结束」。

输入(任选其一)

  • 技术方案路径(.Knowledge/req-docs/*.md 或 PDF)
  • 需求 / 变更描述(自由文本)

步骤

步骤 0:前置(强制,任何步骤之前)

  1. Read("flow2spec.config.json")(项目根;缺失字段视为 false)。
  2. Read 当前客户端生成入口中的 f2s-task 全文(不得跳过;不得仅用本 SKILL 摘要代替)。
  3. 按读到的 subAgent / switchAgentVerification 决定下文是否拆子 agent、是否交叉校验。

步骤 1:续作分诊 + 解析输入

1a. 续作分诊(f2s-task「任务开始」1–2,主 agent)
  1. 若存在 .task/todo.json,Read 并将用户本条输入与各条目 keywords 匹配。
  2. 命中 1 个 → Read 对应 task.md、context.md;若存在则 Read user-todos.md;向用户展示剩余 checklist 与未勾用户代办;询问是否续作该任务。
    • 用户确认续作 → 加载本 SKILL 全文(linkedSkill 应为 f2s-req-plan),从 task.md 首个 [ ] 继续;禁止新建重复 active/ 目录;跳至步骤 4(若仍需补充规划,先在「## 备注」记录后再实现)。
    • 用户明确要新任务 → 进入 1b。
  3. 命中多个 → 列出候选,让用户选择续作哪一个或新建。
  4. 无命中 → 检查孤儿 active/(f2s-task):若有未归档且含 [ ] 的 task.md,提示是否续作或恢复 todo.json;否则进入 1b。
  5. 无 todo.json → 进入 1b。

Read the full file on GitHub · 159 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. 1mo ago Changed · +8 lines 32dca3fd8377
  2. 1mo ago First seen · 151 lines · 64 tokens per session scan A 93f8c7020347

Subscribe to this mod's changes

f2s-req-plan is a skill published in the GitHub repository double-coding-lab/Flow2Spec (52 stars, last pushed 6d ago), licensed MIT. It adds 64 tokens to every session and 3,100 once invoked, about $0.0003 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

Other skills, from other repositories

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

systematic-debugging

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

obra/superpowers · 21 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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens