skill-wechat-publisher

skill-wechat-publisher is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 119 tokens per session (2,694 once invoked), scanned A, original, Apache-2.0.

A WeChat public-account writing and publishing tool that turns source material into formatted articles and saves them as drafts in WeChat. WeChat public accounts are channels for publishing articles to followers.

In plain words
What is it for?
Use it to create articles from references, text, or documents and prepare them in the WeChat draft box.
Why use it?
It brings research, drafting, formatting, and draft delivery into one workflow, while checking the writing for signs of automated text.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/openclaw/skill-wechat-publisher/scripts/wechat_api.py list-accounts.

Good fit Use it to create articles from references, text, or documents and prepare them in the WeChat draft box.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel
agentmods
npx agentmods add skills/zju-real/easel/skill-wechat-publisher

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 skill-wechat-publisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/skill-wechat-publisher/github.svg)](https://agentmods.dev/skills/zju-real/easel/skill-wechat-publisher)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/skill-wechat-publisher"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-wechat-publisher/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 skill-wechat-publisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/skill-wechat-publisher"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-wechat-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,694 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00119 $0.02694
Opus 5 $0.00060 $0.01347
Sonnet 5 $0.00024 $0.00539
Haiku 4.5 $0.00012 $0.00269

Measured 7d ago against content hash 0b02d53bb44d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

skill-wechat-publisher 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 7d 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/openclaw/skill-wechat-publisher/SKILL.md · 118 lines

How it starts

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

微信公众号文章自动创作与发布

从素材输入到公众号草稿箱的完整自动化流程:用户只需提供话题或参考资料,skill 完成搜索调研、撰写、配图、排版、AI 味自检、发布。

不要调用 baoyu-post-to-wechat skill。 路由时同时看到两者,一律选本 skill(wechat-publisher),它带多账号 / 主题排版 / 反 AI 检测 gate。

⚠️ 环境依赖(部分可跑)

能力 状态 依赖
公众号发草稿(publish.py → 官方 HTTP API) ✅ 可跑 wechat-publisher.yaml 里的 app_id / app_secret + IP 白名单
反 AI 检测(ai_score.py ✅ 可跑 纯本地,无外部依赖
MD→公众号排版(html_converter.py ✅ 可跑 纯本地
生成配图(generate_image.py ❌ 当前不可用 需图像 API key(OpenAI Images / Gemini 代理)
多平台同步(multi_publish.py,阶段七) ❌ 当前不可用 需浏览器 + Wechatsync Chrome 扩展

核心链路(写作→排版→反 AI 检测→发草稿)在配好 app_id/app_secret 后可跑;配图缺 key 时改用外部生图或跳过,多平台同步默认不启用。

账号与人格

默认 2 个账号(见 wechat-publisher.yaml):main(刷屏AI / 飞哥 / refined-blue,热情北京口语,面向 AI 产品)与 tech(蒜是哪根葱 / 葱哥 / minimal-mono,冷幽默技术直男,面向工程实践)。不指定 --accountmain

必须按当前账号的 voice 改写语气 —— 两个号写出明显风格差异,这本身就是反 AI 检测的关键(平台对每个号建历史文风基线)。

前置条件

cp wechat-publisher.yaml.example wechat-publisher.yaml   # 填 app_id / app_secret / author / theme
python3 skills/openclaw/skill-wechat-publisher/scripts/wechat_api.py list-accounts
# 验证 API 连接
cd skills/openclaw/skill-wechat-publisher/scripts && python3 -c "from wechat_api import get_access_token; print('OK:', get_access_token()[:10])"
pip install requests pyyaml --break-system-packages 2>/dev/null || pip install requests pyyaml

配置文件固定放 skill 根目录(config.py::_find_unified_yaml() 只查此处),账号下必须有 app_idapp_secret。API 参数细节见 references/api_reference.md,错误码见 references/errors.md

完整工作流程(7 阶段,第 7 为可选 opt-in)

阶段一:理解需求与收集素材

搞清用户要什么,同时采集真人味原料(具体人名/时间/金额/产品版本/踩过的坑 —— 反 AI 检测最重要原料)。识别目标账号(AI 产品→main,工程→tech),选定 article_structure + opening_hook。产出 outputs/主题名/brief.md

阶段二:全网信息搜索与整理

既搜权威层(WebSearch:资讯/数据/案例/官方报告),也搜真人层(Reddit/HN/V2EX/即刻/X/小红书的原话作语料)。关键数据多源交叉。产出 research.md,每条标来源、分层。

阶段三:撰写骨架稿(第一轮)

按结构写初稿,允许有 AI 味(下一阶段专门人味化)。article_structure 8 种、opening_hook 7 种的完整选择规则与写法见 references/article-structures.md。骨架稿阶段就主动混用行内标色(见 references/inline-markup.md)。避免"首先/其次""值得一提的是""随着…的发展"等 AI 套话。

Read the full file on GitHub · 118 lines

Files

What ships with it

60 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. 7d ago First seen · 118 lines · 119 tokens per session scan A 0b02d53bb44d

Subscribe to this mod's changes

skill-wechat-publisher is a skill published in the GitHub repository ZJU-REAL/Easel (794 stars, last pushed yesterday), licensed Apache-2.0. It adds 119 tokens to every session and 2,694 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-09-03.