wechat-writer

wechat-writer is a skill for Claude Code from HeroAshacker/wechat-content-pipeline. It costs 118 tokens per session (1,080 once invoked), scanned A, original, MIT.

A Chinese-language writing tool for WeChat public accounts, which are publishing channels inside the WeChat app. It turns ideas or source text into article outlines and full articles in several formats.

In plain words
What is it for?
Use it to write opinion pieces, tutorials, lists, hot-topic commentary, or stories, with optional outline-only output and saved Markdown or HTML.
Why use it?
It gives a structured path from rough ideas to a draft and can include research material, title options, polishing, or HTML formatting.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to write opinion pieces, tutorials, lists, hot-topic commentary, or stories, with optional outline-only output and saved Markdown or HTML.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heroashacker/wechat-content-pipeline/wechat-writer
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 HeroAshacker/wechat-content-pipeline --skill wechat-writer
Clone the repo
git clone --depth 1 https://github.com/HeroAshacker/wechat-content-pipeline

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 wechat-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/heroashacker/wechat-content-pipeline/wechat-writer/github.svg)](https://agentmods.dev/skills/heroashacker/wechat-content-pipeline/wechat-writer)
Your own site
<a href="https://agentmods.dev/skills/heroashacker/wechat-content-pipeline/wechat-writer"><img src="https://agentmods.dev/badge/skills/heroashacker/wechat-content-pipeline/wechat-writer/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 wechat-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/heroashacker/wechat-content-pipeline/wechat-writer"><img src="https://agentmods.dev/badge/skills/heroashacker/wechat-content-pipeline/wechat-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,080 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 original No closer match found 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.00118 $0.01080
Opus 5 $0.00059 $0.00540
Sonnet 5 $0.00024 $0.00216
Haiku 4.5 $0.00012 $0.00108

Measured 9d ago against content hash 6be538e1fb39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

wechat-writer 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 9d 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.

skills/wechat-writer/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

微信公众号 AI 写作工具 (wechat-writer)

Instructions

从观点/想法出发,AI 生成完整公众号文章。

Step 1: 获取输入

  • 观点文本: 分号分隔多个观点,如 "AI改变教育; 个性化学习是未来"
  • 观点文件: .txt 文件路径
  • 无输入: 提示用户提供观点

Step 2: 确定参数

参数 默认值 说明
type opinion opinion/tutorial/listicle/commentary/story
provider gemini AI provider: gemini/deepseek/openai/claude
api-key AI API Key
dry-run false 仅打印 prompt,不调用 API
list-types false 列出所有文章类型
no-confirm false 跳过大纲确认
outline-only false 仅输出大纲,不扩写全文
title-candidates 5 大纲阶段生成标题候选数量
output 输出文件路径 (-o)
polish 写完后润色的 provider
polish-type deai 润色类型
theme 排版主题(触发 HTML 转换)

Step 3: 执行写作

cd ~/Claude/🧪\ 小项目与测试/wx-format

# 基础:观点→文章
node index.js write "AI正在改变教育; 个性化学习是未来" --provider gemini

# 指定类型
node index.js write "量化交易3个误区" --type listicle

# 全流程:写作→润色→排版
node index.js write "观点1; 观点2" --provider gemini \
  --polish gemini --polish-type deai -t simple -o article.html

# 仅生成大纲 + 5个标题候选
node index.js write "AI套娃思维" --outline-only --title-candidates 5

Step 4: 返回结果

  • 输出 Markdown 到 stdout(可重定向)
  • -t 时输出 HTML
  • -o 时写入文件

文章类型

类型 名称 特点
opinion 观点文 论点+论据+升华(默认)
tutorial 教程文 步骤式 how-to
listicle 盘点文 Top N 列表
commentary 热点评论 新闻+分析
story 故事文 叙事驱动

Examples

Example 1: 观点→完整文章 + 排版

输入: 用户提供观点 "AI正在改变教育; 个性化学习是未来"

命令:

cd ~/Claude/🧪\ 小项目与测试/wx-format
node index.js write "AI正在改变教育; 个性化学习是未来" --provider gemini \
  --polish gemini --polish-type deai -t simple -o article.html

输出: 生成大纲→确认→扩写全文→去AI味润色→simple主题排版→输出 article.html

Example 2: Dry-run 预览 prompt

输入: 用户想查看生成的 prompt 而不调用 API

命令:

node index.js write "量化交易3个误区" --type listicle --dry-run

输出: 打印完整 prompt 到终端,不消耗 API 额度

Error Handling

  • AI 调用失败 → 检查 --api-key 或环境变量配置
  • 大纲不满意 → 不带 --no-confirm,手动确认/修改大纲
  • 输出乱码 → 确认终端 UTF-8 编码

Read the full file on GitHub · 112 lines

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. 9d ago First seen · 112 lines · 118 tokens per session scan A 6be538e1fb39

Subscribe to this mod's changes

wechat-writer is a skill published in the GitHub repository HeroAshacker/wechat-content-pipeline (11 stars, last pushed 6mo ago), licensed MIT. It adds 118 tokens to every session and 1,080 once invoked, about $0.0006 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-30.

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

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens