Agent skill

Canghe Post To Wechat

by freestylefly in freestylefly/canghe-skills

Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.

No licenceAuto-check: notesMarketing & SEO

Install Canghe Post To Wechat

skills CLI
$ npx skills add freestylefly/canghe-skills --skill canghe-post-to-wechat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install freestylefly/canghe-skills canghe-post-to-wechat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/freestylefly/canghe-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/canghe-post-to-wechat .claude/skills/canghe-post-to-wechat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
canghe-post-to-wechat
GitHub stars
461
Used in
3 other repos
Token cost
~3.4k tokens
SKILL.md length
996 words
Files
32 (incl. scripts, references)
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.

  • Works in 8 steps: Load Preferences → Determine Input Type → Check Markdown-to-HTML Skill → …
  • User mentions 发布公众号
  • SKILL.md covers Language, Script Directory, Preferences (EXTEND.md) and Pre-flight Check (Optional), plus 7 more sections
  • Runs TypeScript scripts from its folder; calls npx, curl and bash; reaches mp.weixin.qq.com and bun.sh; needs ACCESS_TOKEN and WECHAT_APP_SECRET

What it does

Canghe Post To Wechat is an agent skill from freestylefly/canghe-skills. Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) with HTML, markdown, or plain text input, and image-text posting (贴图, formerly 图文) with multiple images. Use when user mentions "发布公众号", "post to wechat", "微信公众号", or "贴图/图文/文章".

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 36 other files, including scripts and reference files (for example `references/article-posting.md`, `references/config/first-time-setup.md` and `references/image-text-posting.md`).

It sits in Marketing & SEO, covering Social publishing and cross-posting and Messaging and chat bots. It works with WeChat. The repository describes itself as: 苍何的技能skills仓库,搜集好用的 skills,辅助提效.

When your agent uses it

  • User mentions 发布公众号
  • Tasks that involve Social publishing and cross-posting
  • Tasks that involve Messaging and chat bots

Example prompts

  • “post to wechat”
  • “贴图/图文/文章”
  • “Use the canghe-post-to-wechat skill to post content to WeChat Official Account (微信公众号) via API or Chrome CDP”
  • “/canghe-post-to-wechat”

Requirements

  • Node.js
  • A credential in WECHAT_APP_SECRET
  • A credential in ACCESS_TOKEN

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Load Preferences
  2. Determine Input Type
  3. Check Markdown-to-HTML Skill
  4. Convert Markdown to HTML
  5. Validate Metadata
  6. Select Publishing Method and Configure
  7. Publish to WeChat
  8. Completion Report

What it can do on your machine

Read from SKILL.md and the folder at commit dd0bf35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npx
    • curl
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mp.weixin.qq.com
    • bun.sh
    • api.weixin.qq.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ACCESS_TOKEN
    • WECHAT_APP_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Canghe Post To Wechat loads about 3.4k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 996 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePipes a well-known installer script into a shellSKILL.md:96
    | Bun runtime | `curl -fsSL https://bun.sh/install \| bash` |
  • NoteMentions a .env fileSKILL.md:101
    ep 5, or manually set in `.canghe-skills/.env` |
  • NoteMentions a .env fileSKILL.md:249
    test -f .canghe-skills/.env && grep -q "WECHAT_APP_ID" .canghe-skills/.env && echo "project"
  • NoteMentions a .env fileSKILL.md:252
    test -f "$HOME/.canghe-skills/.env" && grep -q "WECHAT_APP_ID" "$HOME/.canghe-skills/.env" && echo "user"
  • NoteMentions a .env fileSKILL.md:266
    A) Project-level: .canghe-skills/.env (this project only)
  • NoteMentions a .env fileSKILL.md:267
    B) User-level: ~/.canghe-skills/.env (all projects)
  • NoteMentions a .env fileSKILL.md:270
    choice, prompt for values and write to `.env`:
  • NoteMentions a .env fileSKILL.md:380
    ep 5, or manually set in `.canghe-skills/.env`
  • NoteMentions a .env fileSKILL.md:392
    2. `<cwd>/.canghe-skills/.env`
  • NoteMentions a .env fileSKILL.md:393
    3. `~/.canghe-skills/.env`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 996 words (~3,432 tokens).

“Match user's language: Respond in the same language the user uses. If user writes in Chinese, respond in Chinese. If user writes in English, respond in English.”

— opening of SKILL.md by freestylefly
name
canghe-post-to-wechat

Read the full SKILL.md on GitHub

Files

SKILL.md and 31 other files (scripts, references) in skills/canghe-post-to-wechat of freestylefly/canghe-skills.

  • SKILL.md
  • references/article-posting.md
  • references/config/first-time-setup.md
  • references/image-text-posting.md
  • scripts/cdp.ts
  • scripts/check-permissions.ts
  • scripts/copy-to-clipboard.ts
  • scripts/md-to-wechat.ts
  • scripts/md/LICENSE
  • scripts/md/extensions/alert.ts
  • scripts/md/extensions/footnotes.ts
  • scripts/md/extensions/index.ts
  • scripts/md/extensions/infographic.ts
  • scripts/md/extensions/katex.ts
  • scripts/md/extensions/markup.ts
  • scripts/md/extensions/plantuml.ts
  • … and 16 more

Open the folder on GitHubat commit dd0bf35

Used in 3 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in freestylefly/canghe-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Canghe Post To Wechat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Canghe Post To Wechat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Canghe Post To Wechat this skillfreestylefly/canghe-skills4613 repos~3.4kAutomated safety check: NotesNone
Baoyu Post To Wechataiskillstore/marketplace433—~649Automated safety check: PassNone
WeChat Official Account Publisheraiworkskills/wechat-article-skills672—~1.5kAutomated safety check: PassApache-2.0
WeChat Official Account PosterJimLiu/baoyu-skills27k2 repos~3.6kAutomated safety check: WarnMIT
Wechat Publishersakuraoxo-clio/wechat-publisher115—~1.4kAutomated safety check: NotesMIT
WeChat Article Publisheriamzifei/wechat-article-publisher-skill157—~2.6kAutomated safety check: NotesMIT

Similar skills

  • Baoyu Post To Wechat

    aiskillstore/marketplace

    Post content to WeChat Official Account (微信公众号). An agent skill from aiskillstore/marketplace.

    433 GitHub stars~649 tokensUpdated today
    Marketing & SEOAuto-check passed
  • WeChat Official Account Publisher

    aiworkskills/wechat-article-skills

    Publishes a finished article and its images directly to a WeChat official account through its official API, as a draft or a live broadcast.

    672 GitHub stars~1.5k tokensUpdated 17 days ago
    Productivity & AutomationAuto-check passed
  • Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations.

    27k GitHub starsUsed in 2 repos~3.6k tokens
    Marketing & SEOAuto-check: warnings
  • Wechat Publisher

    sakuraoxo-clio/wechat-publisher

    把文章排版成微信公众号合规 HTML、自动上传图片、可选自动生成封面图,并通过官方 API 一键写入公众号草稿箱,用户只需在后台预览后发布。优先用组件化手写 HTML 做精排版,也支持 Markdown 快速排版。当用户提到「发布公众号」「推送到草稿箱」「公众号排版」「post to wechat」「微信公众号文章」时使用。

    115 GitHub stars~1.4k tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check: notes
  • WeChat Article Publisher

    iamzifei/wechat-article-publisher-skill

    Publishes Markdown or HTML articles as drafts to a WeChat Official Account through an API client, with a first-time user walkthrough.

    157 GitHub stars~2.6k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check: notes
  • Content Engine

    Jianing1117/jianing-skills

    会自我迭代的内容引擎。三件事:学(拆爆款沉淀方法论)、改(诊断并优化自己的稿子)、复盘(数据回流校准方法论). An agent skill from Jianing1117/jianing-skills.

    329 GitHub stars~1.8k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed

More from freestylefly/canghe-skills

All 19 skills in this repo
  • Canghe Comic

    freestylefly/canghe-skills

    Knowledge comic creator supporting multiple art styles and tones.

    461 GitHub starsUsed in 8 repos~3.2k tokens
    Auto-check passed
  • Canghe Post To X

    freestylefly/canghe-skills

    Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.

    461 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check: warnings
  • Canghe URL To Markdown

    freestylefly/canghe-skills

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from freestylefly/canghe-skills.

    461 GitHub starsUsed in 4 repos~1.1k tokens
    Auto-check passed
  • Canghe Xhs Images

    freestylefly/canghe-skills

    Generates Xiaohongshu (Little Red Book) infographic series with 10 visual styles and 8 layouts.

    461 GitHub starsUsed in 4 repos~4.9k tokens
    Auto-check passed
  • Canghe Markdown To HTML

    freestylefly/canghe-skills

    Converts Markdown to styled HTML with WeChat-compatible themes.

    461 GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Canghe Image Gen

    freestylefly/canghe-skills

    AI image generation with OpenAI, Google, DashScope and Canghe APIs.

    461 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check: notes

Works with

Categories

Questions about Canghe Post To Wechat

What does Canghe Post To Wechat do?

Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Canghe Post To Wechat is an agent skill from freestylefly/canghe-skills. Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.

When should I use Canghe Post To Wechat?

Canghe Post To Wechat fits situations like: user mentions 发布公众号; tasks that involve Social publishing and cross-posting; tasks that involve Messaging and chat bots.

How do I install Canghe Post To Wechat in Claude Code?

Run `npx skills add freestylefly/canghe-skills --skill canghe-post-to-wechat -a claude-code`. Or copy the skill folder (skills/canghe-post-to-wechat in freestylefly/canghe-skills) into .claude/skills/canghe-post-to-wechat in your project. Claude Code loads it when a task matches its description.

How do I install Canghe Post To Wechat in Codex?

Run `npx skills add freestylefly/canghe-skills --skill canghe-post-to-wechat -a codex`. Or copy the skill folder (skills/canghe-post-to-wechat in freestylefly/canghe-skills) into .agents/skills/canghe-post-to-wechat in your project. Codex loads it when a task matches its description.

Can I use Canghe Post To Wechat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add freestylefly/canghe-skills --skill canghe-post-to-wechat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/canghe-post-to-wechat, .gemini/skills/canghe-post-to-wechat, .github/skills/canghe-post-to-wechat and .opencode/skills/canghe-post-to-wechat in your project.

What does Canghe Post To Wechat need to run?

Going by SKILL.md and its folder, Canghe Post To Wechat needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npx, curl and bash) and credentials named ACCESS_TOKEN and WECHAT_APP_SECRET. Our summary lists: Node.js; A credential in WECHAT_APP_SECRET; A credential in ACCESS_TOKEN.

Does Canghe Post To Wechat access the network?

SKILL.md names 4 domains. In commands or code: mp.weixin.qq.com, bun.sh, api.weixin.qq.com and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Canghe Post To Wechat safe to install?

Our automated static check of SKILL.md found notes only (pipes a well-known installer script into a shell; mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Canghe Post To Wechat use?

No licence was found for Canghe Post To Wechat or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Canghe Post To Wechat use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Canghe Post To Wechat?

Skills that share tags, products or a category with Canghe Post To Wechat: Baoyu Post To Wechat (aiskillstore/marketplace, 433 stars), WeChat Official Account Publisher (aiworkskills/wechat-article-skills, 672 stars), WeChat Official Account Poster (JimLiu/baoyu-skills, 27k stars) and Wechat Publisher (sakuraoxo-clio/wechat-publisher, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Canghe Post To Wechat?

freestylefly (a GitHub user) maintains it in freestylefly/canghe-skills, which has 461 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 8, 2026.

Source: freestylefly/canghe-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.