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 skills add rockyflux/yq-workflow --skill yq-code-gengit clone --depth 1 https://github.com/rockyflux/yq-workflowWrote 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/skills/rockyflux/yq-workflow/yq-code-gen)<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/yq-code-gen"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/yq-code-gen/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/skills/rockyflux/yq-workflow/yq-code-gen"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/yq-code-gen.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.00034 | $0.00783 |
| Opus 5.5 | $0.00014 | $0.00313 |
| Sonnet 5.5 | $0.00007 | $0.00157 |
| Haiku 4.5 | $0.00003 | $0.00078 |
Grade A, and why
yq-code-gen 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 3mo 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.
What it actually says
YQ Code Generation
Overview
把已经明确的需求、接口、数据和边界落成可运行、可验证、可维护的实现。
Core principle: 先对齐边界和验证方式,再写最贴近现有代码库的实现。
When to Use
- 用户要实现功能、补模块、落地设计或补齐骨架
- 上游需求和方案已经基本稳定
- 需要在现有代码库模式内新增行为
- 重点是交付代码,不是讨论方案
Route Elsewhere
- 范围或验收标准还不清楚:转
yq-req-analysis - 方案和边界还没定:转
yq-system-design、yq-api-design、yq-db-design - 重点是重构旧代码:转
yq-code-refactor - 重点是定位问题:转
yq-debug
Process
- 汇总上游约束、假设和禁止事项。
- 对照现有代码库找到最接近的实现模式。
- 先立边界和接口,再填业务逻辑、校验和错误处理。
- 为测试、日志和后续评审保留稳定观察点。
- 标明未覆盖风险和后续补测点。
Output
# Code Generation Result
## Scope Implemented
## Files or Modules Added / Changed
## Key Decisions
## Validation and Error Handling
## Follow-up Tests Needed
## Recommended Next Step
Related Skills
- 上游通常来自
yq-req-analysis、yq-system-design、yq-api-design、yq-db-design - 下游通常接
yq-test-gen、yq-code-review、yq-security-scan - 编码前后的验证纪律可参考
superpowers:test-driven-development
Recommended Next Step
- 默认交给
yq-test-gen,先把关键行为和回归风险锁住 - 如果需要先做人审视角的风险收敛,可接
yq-code-review - 如果改动涉及认证、授权、敏感数据或外部输入,可并行补
yq-security-scan
Common Mistakes
- 直接开写,没有先收口边界
- 只补 happy path,没有错误语义和状态校验
- 生成脱离仓库风格的孤岛式代码
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.
- 3mo ago First seen · 95 lines · 34 tokens per session scan A ffe9deff1fea
yq-code-gen is a skill published in the GitHub repository rockyflux/yq-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 783 once invoked, about $0.0001 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-09-03.
yq-code-gen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yq-code-genrockyflux/yq-workflow | Skill | 2 | 1mo ago | MIT | A | 34 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 12d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | yesterday | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 977 | yesterday | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |
| explore-unknownsdzhng/skills | Skill | 1.5k | 20d ago | MIT | A | 162 | Claude Code, Codex |