task-planner

task-planner is a skill for Claude Code, Codex from Haaaiawd/ANWS. It costs 51 tokens per session (2,478 once invoked), scanned A, original, MIT.

A planning method that breaks a system design into a work breakdown structure, meaning a hierarchy of concrete tasks and dependencies. It produces an execution checklist and a separate verification plan in Chinese-language project documents.

In plain words
What is it for?
Use it to read product and architecture documents, extract shared contracts such as APIs and CLI behavior, define implementation tasks, map dependencies, and plan verification.
Why use it?
It turns design documents and quality requirements into traceable work with clear evidence of completion. This reduces the risk that contracts, tests, or validation steps are missed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/haaaiawd/anws/task-planner
Any agent
npx skills add Haaaiawd/ANWS --skill task-planner
Clone the repo
git clone --depth 1 https://github.com/Haaaiawd/ANWS

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 task-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/haaaiawd/anws/task-planner.svg)](https://agentmods.dev/skills/haaaiawd/anws/task-planner)
Your own site
<a href="https://agentmods.dev/skills/haaaiawd/anws/task-planner"><img src="https://agentmods.dev/badge/skills/haaaiawd/anws/task-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00051 $0.02478
Opus 5 $0.00026 $0.01239
Sonnet 5 $0.00010 $0.00496
Haiku 4.5 $0.00005 $0.00248

Measured 5d ago against content hash 40406d274c72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-planner 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 5d 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.

src/anws/templates/.agents/skills/task-planner/SKILL.md · 253 lines

How it starts

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

Task Planner

你是任务拆解与验证编排技能,目标是输出两份文档:

  • .anws/v{N}/05A_TASKS.md(执行主清单)
  • .anws/v{N}/05B_VERIFICATION_PLAN.md(验证计划)

快速流程

  1. 读取 01_PRD.md02_ARCHITECTURE_OVERVIEW.md
  2. 读取 03_ADR/04_SYSTEM_DESIGN/(如存在)
  3. 若 ADR 中存在测试策略/质量门禁,必须优先遵循,不得自行改重
  4. 提取公共契约(HTTP API / CLI / 配置 / 错误语义 / 数据结构等)
  5. 生成 WBS 任务(System → Phase → Task)到 05A
  6. 为每个任务生成验证锚点与证据要求到 05B

分轨职责

05A_TASKS.md(执行主清单)

  • WBS 任务列表与依赖
  • Sprint 路线图
  • INT 里程碑任务
  • 进度 checkbox
  • User Story Overlay

05B_VERIFICATION_PLAN.md(验证计划)

  • 验证分层策略
  • 风险类别覆盖规则
  • Task-by-Task 验证计划
  • Contract Coverage Overlay
  • Testing Coverage Overlay
  • Verification Traceability Matrix

[!IMPORTANT] 上述三项为 05B 的硬性必选章节,不可删除:

  • Contract Coverage Overlay
  • Testing Coverage Overlay
  • Verification Traceability Matrix

任务格式(05A)

- [ ] **T{System}.{Phase}.{Seq}** [REQ-XXX]: 任务标题
  - **描述**: 做什么(不是怎么做)
  - **输入**: 设计文档引用 + 前置任务产出(必须包含至少一个文档引用)
  - **输出**: 产出的文件/组件/接口
  - **契约承接**: 本任务实现或验证的公共契约;如无则写"无"
  - **参考**: ADR-XXX 或 System Design 章节(如有)
  - **验收标准**:
    - Given [前置条件]
    - When [执行动作]
    - Then [预期结果]
    - (仅纯技术性基础任务允许使用清晰 Done When 列表)
  - **验证类型**: 单元测试 | API接口功能测试 | 集成测试 | E2E测试 | 冒烟测试 | 回归测试 | 手动验证 | 编译检查 | Lint检查
  - **验证摘要**: 验证目标与边界(不展开完整用例)
  - **验证引用**: `05B_VERIFICATION_PLAN.md#t-x-y-z`
  - **证据产出**: `tests/...`, `reports/...`, `screenshots/...`, `logs/...`
  - **估时**: Xh
  - **依赖**: T{A}.{B}.{C}
  - **优先级**: P0 | P1 | P2

验证格式(05B)

Task-by-Task 条目

### T{X}.{Y}.{Z}
- 关联需求:
- 关联契约:
- 风险类别:
- 单元测试覆盖:
- API接口功能测试覆盖:
- 集成/E2E/冒烟覆盖:
- 前置数据:
- 断言:
- 证据:

追溯矩阵

## Verification Traceability Matrix
| REQ/Contract | Task | Verification | Test Material | Evidence | Status |
|---|---|---|---|---|---|

验证类型选择逻辑

按"最轻但足够"原则:

  1. 局部逻辑 / 纯算法 / 状态转换 / 异常处理 → 单元测试
  2. HTTP API / CLI API / 权限边界 / 错误语义 / 数据变更接口 → API接口功能测试
  3. 跨模块 / 数据库 / 多服务协作 → 集成测试
  4. 直接面向终端用户的关键路径 → E2E测试 或 手动验证
  5. Sprint 退出关口 / 里程碑 gate → 冒烟测试(优先绑定 INT-S{N}
  6. 修改可能影响已完成关键能力 → 回归测试
  7. 配置/脚手架/基础设施 → 编译检查 / Lint检查 / 手动验证

Read the full file on GitHub · 253 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 253 lines · 51 tokens per session scan A 40406d274c72

Subscribe to this mod's changes

task-planner is a skill published in the GitHub repository Haaaiawd/ANWS (142 stars, last pushed 3mo ago), licensed MIT. It adds 51 tokens to every session and 2,478 once invoked, about $0.0003 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-30.