blog-draft

blog-draft is a skill for Claude Code from leihuang830102-hash/Opencode-Howto. It costs 39 tokens per session (448 once invoked), scanned A, a copy of blog-draft, MIT.

A writing workflow for turning ideas, notes, and source material into a structured blog post.

In plain words
What is it for?
Use it to collect source summaries, confirm the article direction, create an outline, write a draft, and save later revisions with clear version numbers.
Why use it?
It organizes research, planning, drafting, and revisions so an article can be developed in clear stages with its supporting materials.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to collect source summaries, confirm the article direction, create an outline, write a draft, and save later revisions with clear version numbers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leihuang830102-hash/opencode-howto/blog-draft
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.

Any agent
npx skills add leihuang830102-hash/Opencode-Howto --skill blog-draft
Clone the repo
git clone --depth 1 https://github.com/leihuang830102-hash/Opencode-Howto

Made for: Claude Code.

Wrote 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.

agentmods badge for blog-draft

README.md
[![agentmods](https://agentmods.dev/badge/skills/leihuang830102-hash/opencode-howto/blog-draft/github.svg)](https://agentmods.dev/skills/leihuang830102-hash/opencode-howto/blog-draft)
Your own site
<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/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.

agentmods 80×15 button for blog-draft

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.1 $0.00039 $0.00448
Opus 5.5 $0.00016 $0.00179
Sonnet 5.5 $0.00008 $0.00090
Haiku 4.5 $0.00004 $0.00045

Measured 2mo ago against content hash 27b1a2dbcbea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

Origin

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.

03-skills/blog-draft/SKILL.md · 86 lines

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

输出要求

  • 先给结构,再写全文
  • 引用要清楚
  • 表达可以中文化,但文件和目录命名保持可管理
Files

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.

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. 2mo ago First seen · 86 lines · 39 tokens per session scan A 27b1a2dbcbea

Subscribe to this mod's changes

blog-draft is a skill published in the GitHub repository leihuang830102-hash/Opencode-Howto (5 stars, last pushed 6mo ago), licensed MIT. It adds 39 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5.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.

Related

blog-draft compared with skills from other repositories

blog-draft next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blog-draftleihuang830102-hash/Opencode-HowtoSkill56mo agoMITA39Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code