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,461 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.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.svg" alt="Measured on agentmods" 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 $0.00026 $0.00308
Sonnet 5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00062

Measured 4d ago against content hash 6dbe950b6611, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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 文章发布到微信公众号
  • 把网页链接(博客/新闻页)提取后发布到微信公众号
  • 需要统一微信排版模板(standardviral)并自动生成封面
  • 需要程序化输出 media_idpublish_id、发布状态

工作流

  1. 准备配置:
    • 编辑本目录 config.json,仅需填写:wechat.app_idwechat.app_secretwechat.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. 4d 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,461 stars, last pushed 4d ago), licensed Apache-2.0. It adds 52 tokens to every session and 616 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

Book2Skill

Convert one or more TXT, Markdown, DOCX, or PDF documents into a reusable skill zip backed by normalized Markdown, extracted images, and a grounded JSONL knowledge index. Invoke this skill before inspecting task files, then execute its workflow directly without listing directories.

zhimaAi/chatwiki · 56 tokens

fastgpt-docker-deploy

FastGPT Docker Compose self-hosting deployment workflow. Use when a user asks an AI agent to deploy FastGPT with Docker by referencing /deploy/SKILL.md, including creating an empty fastgpt directory, running the install script in non-interactive mode, starting Docker Compose, monitoring service health, troubleshooting…

labring/FastGPT · 84 tokens

design-drawing-svg-md

Use when converting vector PDF engineering drawings (steel-structure shop drawings, A0 drawings, linework-only PDFs without a text layer) into LLM-consumable dual-carrier records — semantic Markdown reading thread plus layered SVG geometry archive linked by shared IDs and crosswalk.

znlgis/opengis-skills · 61 tokens

dify

Use when building LLM applications with visual workflow — RAG knowledge bases, AI agents, chatbots with drag-and-drop orchestration. Dify: open-source LLM app platform supporting 30+ models (OpenAI, Claude, DeepSeek, Ollama, Qwen, GLM) with Docker deployment.

znlgis/opengis-skills · 66 tokens

ai-skills

Use when building LLM applications, RAG knowledge bases, AI agents, terminal coding agents, multi-model orchestration, plugin-based agent harnesses, or file translation. Index of 9 skills: Dify, Hermes Agent, OpenClaw, OpenCode, Pi, DocuTranslate, Oh-My-OpenAgent, Superpowers-zh, DeepSeek Harness.

znlgis/opengis-skills · 79 tokens

Web2Skill

Convert one public website URL or an explicit batch of public URLs into a reusable skill zip backed by rendered HTML snapshots and a bounded JSONL retrieval index. Use to discover a documentation directory from one URL, crawl a supplied URL set sequentially, generate a source profile, or package indexed web content as…

zhimaAi/chatwiki · 67 tokens