Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cloudwego/abcodernpx agentmods add commands/cloudwego/abcoder/readmeWrote 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/commands/cloudwego/abcoder/readme)<a href="https://agentmods.dev/commands/cloudwego/abcoder/readme"><img src="https://agentmods.dev/badge/commands/cloudwego/abcoder/readme/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/commands/cloudwego/abcoder/readme"><img src="https://agentmods.dev/badge/commands/cloudwego/abcoder/readme.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.00000 | $0.00880 |
| Opus 5.5 | $0.00000 | $0.00352 |
| Sonnet 5.5 | $0.00000 | $0.00176 |
| Haiku 4.5 | $0.00000 | $0.00088 |
Grade A, and why
README scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 涉及 curl 时提供具体命令(请求头、请求体、URL、响应结构) How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Code Commands
Claude Code 斜杠命令定义,用于规范化和自动化开发工作流。
命令说明
/abcoder:task - 创建编码任务
创建 CODE_TASK 文档,规范化编码需求描述。
执行流程:
- 创建
./task/{{MMDD}}/目录 - 读取模板
{{CLAUDE_HOME_PATH}}/.claude/tmpls/ABCODER_CODE_TASK.md - 根据任务上下文填充模板,生成
./task/{{MMDD}}/{{NAME}}__CODE_TASK.md - 列出外部依赖包(如有)
- 提示创建成功
使用示例:
/abcoder:task Feature_Auth → 创建 ./task/1231/Feature_Auth__CODE_TASK.md
/abcoder:task Bugfix-Api → 创建 ./task/1231/Bugfix_Api__CODE_TASK.md
CODE_TASK 格式要求:
- action: create/modify/delete
- 文件路径准确
- 涉及 SDK 时指定 Package/Method 名称
- 涉及 curl 时提供具体命令(请求头、请求体、URL、响应结构)
- 提供具体
get_ast_node入参、验证方法
/abcoder:schedule - 设计实现方案
使用 mcp__abcoder 分析代码库,设计技术实现方案。
执行流程:
- 从
mcp__abcoder__get_repo_structure开始 - 下钻到
mcp__abcoder__get_ast_node查看细节 - 分析依赖关系和调用链
- 设计最小改动、最大化复用的方案
Guardrails:
- 最大化复用已有功能
- 优先采用最小改动方式
- 限制修改影响面
- 找出模糊细节并提出问题
- 禁止编写代码,禁止使用 agent
/abcoder:recheck - 技术方案核对
批判性检查 CODE_TASK 的技术可行性。
执行流程:
- 从
mcp__abcoder__get_repo_structure开始 - 使用 mcp__abcoder 核对技术细节
- 下钻到
mcp__abcoder__get_ast_node粒度验证
检查项:
- 方案是否可实现需求
- 是否存在技术风险
- 是否最大化复用已有功能
- 是否最小化改动
模板文件
ABCODER_CODE_TASK.md
编码任务模板,定义任务清单格式。
核心要素:
1. [ ] 任务描述
- file: 文件路径
- action: create/modify/delete
- 技术规格(SDK Method / curl JSON / IDL结构 / `get_ast_node` 调用参数)
核心理念 - 直接使用原则:
- 编写 CODE_TASK 时预先使用
mcp__abcoder分析 - 提供完整的
get_ast_node调用参数 - SubAgent 直接执行,无需重新分析
工作流示意
用户需求
│
▼
/abcoder:schedule ──────────────→ 设计方案(abcoder分析)
│ │
▼ ▼
/abcoder:task ────────→ CODE_TASK(含技术规格)
│ │
▼ ▼
/abcoder:recheck ─────→ 方案核对(abcoder验证)
│ │
▼ ▼
coding-executor ──────→ 执行实现
文件位置
{{CLAUDE_HOME_PATH}}/.claude/
├── commands/
│ ├── abcoder:task.md
│ ├── abcoder:schedule.md
│ └── abcoder:recheck.md
└── tmpls/
└── ABCODER_CODE_TASK.md
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 · 115 lines · 0 tokens per session scan A 6dc9feb2832c
README is a command published in the GitHub repository cloudwego/abcoder (390 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 880 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
analyze
Full GoSQLX analysis of a SQL string or .sql file (validity, metadata, security, lint, formatting).
format
Format a SQL string or .sql file with GoSQLX.
lint
Lint a SQL string or .sql file with GoSQLX style rules (L001-L010).
security
Scan a SQL string, .sql file, or SQL-building source file for injection risks with GoSQLX.
superskill
route a task through superskill packs.
checklist
Generate a custom checklist for the current feature based on user requirements.