需求对抗

需求对抗 is a skill for Claude Code, Codex from jianchen08/Agent-os-open. It costs 156 tokens per session (3,755 once invoked), scanned A, original, Apache-2.0.

A structured process for turning vague software requests into testable acceptance criteria, states, boundary cases, and a signed-off requirements record. Acceptance criteria are statements that let a team decide whether behavior passes or fails.

In plain words
What is it for?
Use it when clarifying a new request, preparing a coding task, freezing requirements, or reviewing a proposed requirement change.
Why use it?
It exposes ambiguous wording, weakened requirements, and missing edge cases before implementation starts. It also keeps requirement changes separate from implementation and acceptance-test authoring.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when clarifying a new request, preparing a coding task, freezing requirements, or reviewing a proposed requirement change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jianchen08/agent-os-open/skill-requirement-battle
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 jianchen08/Agent-os-open --skill skill-requirement-battle
Clone the repo
git clone --depth 1 https://github.com/jianchen08/Agent-os-open

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 需求对抗

README.md
[![agentmods](https://agentmods.dev/badge/skills/jianchen08/agent-os-open/skill-requirement-battle/github.svg)](https://agentmods.dev/skills/jianchen08/agent-os-open/skill-requirement-battle)
Your own site
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/skill-requirement-battle"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/skill-requirement-battle/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 需求对抗

Your own site · 80×15
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/skill-requirement-battle"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/skill-requirement-battle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,755 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.00156 $0.03755
Opus 5.5 $0.00062 $0.01502
Sonnet 5.5 $0.00031 $0.00751
Haiku 4.5 $0.00016 $0.00376

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

Security

Grade A, and why

需求对抗 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 13d 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.

skills/skill-requirement-battle/SKILL.md · 162 lines

How it starts

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

需求对抗(Requirement Battle)

本技能是流程指引,不是逐条打勾清单:按场景判断使用,遇不适用情况保持裁量,不机械执行。 本件是融合件:底座(结构化七步 + 方案骨架)不在此复述,按指针读;本件只写仓内结构化产物之上的对抗增量(追问纪律、三道审查闸、签发记录、预绑定范围表)。

〇、定位与边界

  • 谁用:调度方(需求阶段的编排者),以及被派去做需求结构化的执行者。
  • 什么时候用:接到模糊需求要收敛成可二值判定的 AC;起草任务书;需求变更要重新冻结;复核别人交上来的需求结构化产物。
  • 不做什么:不写实现代码;不产出验收测试代码(那是 skills/skill-acceptance-test-authoring/SKILL.md 的事,且起草方须与实现方异构);不替代人类拍板。
  • 与既有件的关系:本件是融合——底座复用仓内既有资产,本件只加增量,不另起一套结构化流程。
层 真源 本件的关系
结构化底座(七步) config/processes/requirement_structuring.md 引用,不复述
方案骨架 skills/skill-solution-software/SKILL.md 引用,不复述
对抗性措辞规则面 config/rules/per_domain/coding_domain_rules.md §1.8(模糊化措辞黑名单)、§1.7(需求冻结与签发语义) 引用词条与处置口径,不复制词表
人类交互载体 方案 §2.6(追问卡:AC 草稿文件 + 结构化选项) 按其纪律落追问节奏

一、底座:结构化七步 + 方案骨架(读,不复述)

按 config/processes/requirement_structuring.md 走完七步,不可跳过任何步骤:

原始需求 → 功能点提取 → 模块归属分析 → 验收标准分解(按模块分组) → 状态机识别 → 边界场景补充 → 自检 → 传递

要点提醒(细节以底座文件为准):

  1. 功能点提取:动词+宾语、条件分叉("如果…则…")、隐含行为三类都要捞,隐含行为(如"提交后"的 loading、"失败后"的 error 处理)最容易在 Battle 中被漏掉。
  2. 模块归属:分清内部功能 / 对外功能,标出跨模块依赖方向;AC 按模块分组,保证每组能独立交给一个编码任务。
  3. AC 分解:每条必须能回答"通过/未通过"、必须描述可见效果、标 must/should/nice。实现级 AC 标 traces_to: AC-{方案级编号}。
  4. 状态机:覆盖初始/进行中/成功/失败/空数据/特殊态,转换写清触发事件、前置条件、可见效果。
  5. 边界场景:至少从集合/数值/字符串/时间/网络/并发六个维度各想一遍。
  6. 自检:底座 §1.7 的九条自检项逐条过。
  7. 传递:AC 清单(按模块分组)→ 编码方;模块间接口定义 → 编码方(作约束);状态机 → 测试设计输入;边界场景 → 异常测试输入;每条实现级 AC 至少一个以 AC-ID 命名的测试。

方案层骨架(架构/技术选型/模块与接口/数据模型/测试策略/交付流程)按 skills/skill-solution-software/SKILL.md 走,只出需求与契约级结论("做什么、对外的契约是什么"),不到实现步骤与伪代码。

二、追问方法论(Battle 节奏)

2.1 四条纪律

  1. 一次一问:一轮只抛一个问题,附推荐项与理由。多问并行会让回答散焦,也让人无法逐条确认。
  2. 暴露隐藏假设:把需求里未言明但影响判定的假设显式列出来逐条确认(例:"提交后进入 loading"就是隐含假设)。假设不显式化,后面会变成"实现方自行裁量"。
  3. 主动挑战模糊措辞:命中黑名单或近似表达当场挑战,并给可判定的改写建议(黑名单词条真源见 config/rules/per_domain/coding_domain_rules.md §1.8,本件不复制词表,以免两处漂移)。
  4. 禁接受"差不多":任何"差不多/基本/大致/应该没问题"式回答都不进 AC——按 §1.8 处置:命中即由提出方改写后再冻结。

2.2 预算与收敛

  • 预算:一次一问、带推荐项,全程 ≤5 轮;超限自动转方案对比选择(开放 Battle 收敛为封闭决策)。
  • 载体:追问信息面走文件(AC 草稿文件实时累积,随时可展开),卡片只承载动作——候选答案点选 / 自由回复 / 进对话。
  • 兜底:信息不足到无法完成结构化时,标记"信息不足" + 列缺失信息点 + 追问,禁止猜测补齐、禁止编造 AC。

Read the full file on GitHub · 162 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. 13d ago First seen · 162 lines · 156 tokens per session scan A 228281b7debd

Subscribe to this mod's changes

需求对抗 is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed 8d ago), licensed Apache-2.0. It adds 156 tokens to every session and 3,755 once invoked, about $0.0006 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-11-17.

Related

需求对抗 compared with skills from other repositories

需求对抗 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
需求对抗jianchen08/Agent-os-openSkill88d agoApache-2.0A156Claude Code, Codex
background-taskvstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA62Claude Code
agent-toolvstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA66Claude Code
frontend-featurevstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA64Claude Code
rag-knowledgevstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA76Claude Code
alembic-migrationvstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA56Claude Code
channel-botvstorm-co/full-stack-ai-agent-templateSkill2.0k3d agoMITA53Claude Code