blog-draft

blog-draft is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/leihuang830102-hash/opencode-howto/blog-draft
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00039 $0.00448
Opus 5 $0.00019 $0.00224
Sonnet 5 $0.00008 $0.00090
Haiku 4.5 $0.00004 $0.00045

Measured 5d ago against content hash 27b1a2dbcbea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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.mddraft-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. 5d 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 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

microsoft/vscode · 72 tokens

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…

openai/codex · 113 tokens

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.

microsoft/vscode · 53 tokens

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…

microsoft/vscode · 71 tokens