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.
git clone --depth 1 https://github.com/double-coding-lab/Flow2SpecWrote 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.
[](https://agentmods.dev/rules/double-coding-lab/flow2spec/f2s-task)<a href="https://agentmods.dev/rules/double-coding-lab/flow2spec/f2s-task"><img src="https://agentmods.dev/badge/rules/double-coding-lab/flow2spec/f2s-task/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.
<a href="https://agentmods.dev/rules/double-coding-lab/flow2spec/f2s-task"><img src="https://agentmods.dev/badge/rules/double-coding-lab/flow2spec/f2s-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05259 | $0.05259 |
| Opus 5.5 | $0.02104 | $0.02104 |
| Sonnet 5.5 | $0.01052 | $0.01052 |
| Haiku 4.5 | $0.00526 | $0.00526 |
Grade A, and why
f2s-task 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.
How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
f2s-task(变更追踪规则)
生效条件
各技能按自身子项判断:
f2s-kb-feat:读changeTracking.featf2s-kb-fix:读changeTracking.fixf2s-implement-tech-design:读changeTracking.implement
若对应子项为 false 或字段不存在,该技能内的变更追踪步骤不执行,直接跳过。
f2s-req-plan命令不受此条件约束,始终执行(见skills/f2s-req-plan/SKILL.md)。
多人协作与任务根 TASK_ROOT(必须先解析)
进入本规则任何「读/写 .task」步骤前,必须 Read("flow2spec.config.json"),并解析 TASK_ROOT(本会话内固定,禁止中途改 id):
| 条件 | TASK_ROOT |
developerId 来源 |
|---|---|---|
collaboration.enabled === false |
.task |
legacy(强制单人根) |
collaboration.developerId 非空(trim 后) |
.task/<sanitize(id)> |
config |
否则能读到 git config user.email |
.task/<sanitize(email@前)> |
git-email |
否则能读到 git config user.name |
.task/<sanitize(name)> |
git-name |
| 仍无 | .task |
legacy(单人旧布局;须在回复中提示:建议配置 collaboration.developerId) |
sanitize:小写;若含 @ 只取本地部分;非 [a-z0-9] 收成 -;去首尾 -;长度 1–64,否则视为无 id。
路径一律用 TASK_ROOT 前缀(下面凡写 TASK_ROOT/... 均指解析结果):
- 索引:
TASK_ROOT/todo.json - 进行中:
TASK_ROOT/active/<task-name>/ - 已完成:
TASK_ROOT/completed/<YYYYMMDD>-<task-name>/
防串戏(硬约束):
- 只读写当前会话的
TASK_ROOT;禁止为续作/匹配去遍历.task/*/todo.json或其他 developer 目录。 - keywords 匹配范围 仅 当前
TASK_ROOT/todo.json内条目。 - 创建任务时
todo.json的folder必须写成当前TASK_ROOT/active/<task-name>/(posix 相对路径)。 - 可选在任务开始时向用户回显一行:
[task] developerId=<id|legacy> TASK_ROOT=<path>。 .Knowledge/仍为全员共享;本规则不按人拆分知识库。
实现参考(CLI/工具):包内
lib/developerId.js的resolveDeveloperContext/taskRootFor(与上表同口径)。
f2s-req-plan 调用时的绑定
执行 f2s-req-plan(或续作命中 linkedSkill: "f2s-req-plan")时:
- 不受
changeTracking.feat/fix/implement限制,但 必须 按本规则「任务开始 / 执行中 / 中断与会话结束 / 任务完成 / 新会话续作」维护TASK_ROOT下任务树; - 技能 步骤 0 须
Read本规则全文(Cursor/Claude:rules/f2s-task.*;Codex:.codex/topics/f2s-task.md); - 落盘、打钩、归档、
user-todos.md/acceptance.md格式 以本规则为准;技能正文不得省略todo.json/user-todos.md/acceptance.md,不得改写归档目录命名(<YYYYMMDD>-<task-name>)。
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.
- 1mo ago First seen · 308 lines · 5,259 tokens per session scan A 7757f5031874
f2s-task is a cursor rule published in the GitHub repository double-coding-lab/Flow2Spec (52 stars, last pushed 6d ago), licensed MIT. It adds 5,259 tokens to every session, about $0.0210 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.
Other cursor rules, from other repositories
slice-tasks
PLANNING SPINE STEP 2 of 3 — Slice the work: break a scoped PRD into vertical-slice stories in specs/epics/. Use after scope-work (step 1), before plan-work (step 3). Not a substitute for scope-work or plan-work.
iris
GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.
elite-orchestrator
Elite orchestrator for mission-critical, enterprise-scale tasks requiring strategic coordination of 7+ agents across all domains. Makes architectural decisions, manages risk, ensures business continuity, and delivers enterprise-grade outcomes. Use for platform migrations, security incidents, multi-system integrations…
project-onboarding-rule
Automatically onboards existing projects into the AI-driven development workflow.
linear-in-review
After finishing a Linear issue, set its status to In Review (never Done).
sprint-planning
BMAD BMM Agent: sprint-planning.