ABCoder: Task

A command that creates a structured CODE_TASK document from a task description, following a required specification template.

In plain words
What is it for?
It helps create dated task files with a name, specification-based content, dependency information, and required fields.
Why use it?
It gives development tasks a consistent format and records any outside packages they depend on, reducing missing details in handoffs.

Command for Claude Code

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 commands/cloudwego/abcoder/task
Clone the repo
git clone --depth 1 https://github.com/cloudwego/abcoder

Made for: Claude Code.

Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 460 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.00016 $0.00460
Opus 5 $0.00008 $0.00230
Sonnet 5 $0.00003 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured yesterday against content hash 06f1a977bdcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ABCoder: 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 yesterday.

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.

internal/cmd/assets/.claude/commands/abcoder/task.md · 33 lines

What it actually says

根据任务上下文创建一个由 SPEC 驱动的 CODE_TASK 文档。

Guardrails

  • 必须提供任务名称,格式为 /task <任务名称>。若未提供,根据任务上下文推荐一个名词(确保清晰、简洁)。
  • 文件路径使用 ./task/{{MMDD}}/{{NAME}}__CODE_TASK.md 格式。
  • 严格遵循 CODE_TASK 模板格式和要求。
  • 清晰列出所有外部依赖包名称(如有)。
  • 创建完成后停止操作,不进行额外工作。

Steps Track these steps as TODOs and complete them one by one.

  1. 验证用户提供了任务名称,如未提供则提示使用格式 /task <任务名称>
  2. 执行 d=$(date +%m%d) && mkdir -p "./task/$d/" 创建 ./task/{{MMDD}}/ 目录。
  3. 读取模板文件 {{CLAUDE_HOME_PATH}}/.claude/tmpls/ABCODER_CODE_TASK.md
  4. 根据任务上下文和名称,按照模板格式填充内容,生成新文件 ./task/{{MMDD}}/{{NAME}}__CODE_TASK.md
  5. 检查并清晰列出 CODE_TASK 包含的外部依赖包(如有)。
  6. 验证生成的文件格式正确,包含所有必要字段。
  7. 告知用户文件已创建成功,包含文件路径和外部依赖信息(如有),停止操作。

Reference

  • 模板文件:{{CLAUDE_HOME_PATH}}/.claude/tmpls/ABCODER_CODE_TASK.md
  • 示例:
    • /task Feature_Auth → 创建 ./task/1013/Feature_Auth__CODE_TASK.md
    • /task Bugfix-Api → 创建 ./task/1013/Bugfix_Api__CODE_TASK.md
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. yesterday First seen · 33 lines · 0 tokens per session scan A 06f1a977bdcb

Subscribe to this mod's changes

ABCoder: Task is a command published in the GitHub repository cloudwego/abcoder (390 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 16 tokens to every session and 460 once invoked, about $0.0001 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.