wechat-article-publisher

wechat-article-publisher is a skill for Codex from UnicomAI/wanwu. It costs 52 tokens per session (616 once invoked), scanned A, a copy of wechat-article-publisher, Apache-2.0.

A tool that extracts content from Markdown files or web pages, formats it as a WeChat Official Account article, and can create or publish it.

In plain words
What is it for?
It helps turn local articles or web links into WeChat drafts, apply standard or viral layouts, publish when permitted, and report publishing status.
Why use it?
It provides a repeatable way to prepare articles, preview them, and handle publishing details such as authors and cover images.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps turn local articles or web links into WeChat drafts, apply standard or viral layouts, publish when permitted, and report publishing status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unicomai/wanwu/wechat-article-publisher
About the project

Wanwu is an enterprise platform for building AI agents, workflows, retrieval-augmented applications, and managing models in multi-tenant environments. It is designed for developers and enterprise teams delivering AI applications and integrations. The catalogue entries provide skills and agents for using the platform.

UnicomAI/wanwu · 2,386 stars · on GitHub

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 UnicomAI/wanwu --skill wechat-article-publisher
Clone the repo
git clone --depth 1 https://github.com/UnicomAI/wanwu

Made for: 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 wechat-article-publisher

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/unicomai/wanwu/wechat-article-publisher"><img src="https://agentmods.dev/badge/skills/unicomai/wanwu/wechat-article-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 616 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 100% 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.00052 $0.00616
Opus 5.5 $0.00021 $0.00246
Sonnet 5.5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00062

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

Security

Grade A, and why

wechat-article-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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/publish_wechat.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

100% identical to wechat-article-publisher — 0 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.

configs/microservice/bff-service/configs/agent-skills/clawhub/wechat-article-publisher/SKILL.md · 63 lines

What it actually says

WeChat Article Publisher

何时使用

当用户明确要求以下任一任务时触发本 skill:

  • 把本地 .md 文章发布到微信公众号
  • 把网页链接(博客/新闻页)提取后发布到微信公众号
  • 需要统一微信排版模板(standard 或 viral)并自动生成封面
  • 需要程序化输出 media_id、publish_id、发布状态

工作流

  1. 准备配置:
    • 编辑本目录 config.json,仅需填写:wechat.app_id、wechat.app_secret、wechat.author
  2. 安装依赖:
    • python scripts/publish_wechat.py --install
  3. 预览(不调用微信接口):
    • python scripts/publish_wechat.py <输入> --dry-run
  4. 创建草稿:
    • python scripts/publish_wechat.py <输入>
  5. 直接提交发布(可选):
    • python scripts/publish_wechat.py <输入> --publish --status

<输入> 支持:

  • 本地 Markdown 文件路径
  • http:// / https:// 网页 URL

命令参数

主脚本:scripts/publish_wechat.py

  • input:Markdown 文件路径或网页 URL
  • --config:配置文件路径,默认本 skill 的 config.json
  • --template:覆盖模板,standard|viral
  • --author:覆盖作者
  • --source-url:覆盖原文链接
  • --cover-image:指定本地封面图
  • --dry-run:仅提取+渲染,不调微信 API
  • --publish:草稿创建后调用 freepublish/submit
  • --status:提交发布后查询一次发布状态

执行约束

  • 发布前优先做 --dry-run,检查标题、摘要和渲染 HTML。
  • 如果账号无 freepublish 权限,--publish 可能返回 48001,此时保留草稿手动发布。
  • 若创建草稿时报 41005 media data missing,请通过 --cover-image 指定封面图。

输出结果

脚本标准输出 JSON,关键字段:

  • draft_media_id
  • publish_id(仅 --publish)
  • status(仅 --status)
  • preview_html(仅 --dry-run)
Files

What ships with it

7 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 · 63 lines · 52 tokens per session scan A 6dbe950b6611

Subscribe to this mod's changes

wechat-article-publisher is a skill published in the GitHub repository UnicomAI/wanwu (2,386 stars, last pushed 5d ago), licensed Apache-2.0. It adds 52 tokens to every session and 616 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to wechat-article-publisher, differing in 0 lines, and is treated as a copy.

Related

wechat-article-publisher compared with skills from other repositories

wechat-article-publisher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wechat-article-publisherUnicomAI/wanwuSkill2.4k5d agoApache-2.0A52Codex
Book2SkillzhimaAi/chatwikiSkill2.1k3d agononeA56Codex
pptx-template-qualityLazyAGI/LazyMindSkill935yesterdayApache-2.0A28Claude Code, Codex
exportbibinprathap/VeritasGraphSkill327yesterdayMITA29Claude Code
fastgpt-docker-deploylabring/FastGPTSkill30ktodaynoneA84Claude Code, Codex
bank-statement-parsingjohnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-PredictionSkill6383d agoApache-2.0A23Claude Code, Codex
write-translationstale-project/taleSkill49yesterdayMITA57Claude Code, Codex