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.
npx agentmods add commands/herbertgao/ogg2mp3/batchgit clone --depth 1 https://github.com/HerbertGao/ogg2mp3What 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 | $0.00026 | $0.00423 |
| Opus 5 | $0.00013 | $0.00211 |
| Sonnet 5 | $0.00005 | $0.00085 |
| Haiku 4.5 | $0.00003 | $0.00042 |
Grade A, and why
batch 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.
What it actually says
用户参数:$ARGUMENTS
第一个参数是目录路径。默认策略:递归 + 跳过已存在 + 非交互 + JSON:
ogg2mp3 batch "<dir>" -r --skip-existing --yes --json [...passthrough flags]
如果用户在 $ARGUMENTS 里显式传了 --overwrite、--dry-run 等,原样透传(注意 --overwrite 和 --skip-existing 互斥——透传 --overwrite 时去掉默认的 --skip-existing)。
输出是 NDJSON(每行一个对象)。汇总:
- 数
ok: true && !skipped多少条(实际转换的) - 数
skipped: true多少条 - 数
ok: false多少条;如果有,列出失败的 input 和 error - 如果有任何
cover_embedded: false,单独提一句"X 个文件没成功嵌入封面(可能不是 QQ 音乐源)"
如果命令退出码 0:用一行总结成功结果,例:"转换 12 个文件,跳过 3 个已存在,全部带封面。" 如果退出码 1:列出失败的文件,告诉用户具体哪几个出问题、可能原因。
如果用户没提供目录($ARGUMENTS 为空),告诉用户用法:/ogg2mp3:batch <dir>,不要瞎调。
不要主动 --overwrite——即使用户说"重新转一下",先问清楚是只补缺还是全量重转。
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.
- yesterday First seen · 29 lines · 26 tokens per session scan A 4fb240064b1d
batch is a command published in the GitHub repository HerbertGao/ogg2mp3 (5 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 423 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-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.