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 skills/leihuang830102-hash/opencode-howto/blog-draftnpx skills add leihuang830102-hash/Opencode-Howto --skill blog-draftgit clone --depth 1 https://github.com/leihuang830102-hash/Opencode-HowtoWrote 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/leihuang830102-hash/opencode-howto/blog-draft)<a href="https://agentmods.dev/skills/leihuang830102-hash/opencode-howto/blog-draft"><img src="https://agentmods.dev/badge/skills/leihuang830102-hash/opencode-howto/blog-draft.svg" alt="Measured on agentmods" 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 | $0.00039 | $0.00448 |
| Opus 5 | $0.00019 | $0.00224 |
| Sonnet 5 | $0.00008 | $0.00090 |
| Haiku 4.5 | $0.00004 | $0.00045 |
Grade A, and why
blog-draft 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.
This is a copy
88% identical to blog-draft — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Blog Draft / 博客草稿生成
User Input
$ARGUMENTS
用户最好提供:
- 主题 / 想法
- 参考资料(URL、文件、笔记)
- 目标读者
- 语气风格
如果用户是在修改已有草稿,直接从“迭代草稿”阶段开始。
Execution Flow
Step 1: 创建文章目录
目录格式:
blog-posts/
└── YYYY-MM-DD-short-topic-name/
└── resources/
Step 2: 整理资料
对每个资料生成摘要文件,至少包含:
- 关键观点
- 可引用的数据或句子
- 与主题的关联
Step 3: 明确文章方向
整理并向用户确认:
- 主要观点
- 可选角度
- 核心论点
- 信息缺口
Step 4: 先产出大纲
生成 OUTLINE.md,包含:
- 目标读者
- 语气
- 目标篇幅
- 核心 takeaway
- 文章结构
- 计划引用的资料
Step 5: 写草稿
按大纲生成 draft-v0.1.md,要求:
- 有吸引人的开头
- 结构清晰
- 有证据和例子
- 重要事实带引用
- 结尾有总结或行动建议
Step 6: 迭代
如果用户要求修改:
- 记录反馈
- 递增版本号
- 保存为
draft-v0.2.md、draft-v0.3.md
输出要求
- 先给结构,再写全文
- 引用要清楚
- 表达可以中文化,但文件和目录命名保持可管理
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.
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.
- 5d ago First seen · 86 lines · 39 tokens per session scan A 27b1a2dbcbea
blog-draft is a skill published in the GitHub repository leihuang830102-hash/Opencode-Howto (5 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to blog-draft, differing in 4 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…