Agent skill

Wechat Article Formatter

by BND-1 in BND-1/wechat_article_skills

将Markdown文章转换为美化的HTML格式,适配微信公众号发布。应用专业CSS样式、代码高亮、优化排版。当用户说"美化这篇文章"、"转换为HTML"、"优化公众号格式"、"生成公众号HTML"时使用。

No licenceAuto-check: notesProductivity & Automation

Install Wechat Article Formatter

skills CLI
$ npx skills add BND-1/wechat_article_skills --skill wechat-article-formatter -a claude-code

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

GitHub CLI
$ gh skill install BND-1/wechat_article_skills wechat-article-formatter --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/BND-1/wechat_article_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/wechat-article-formatter .claude/skills/wechat-article-formatter && 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
wechat-article-formatter
GitHub stars
317
Token cost
~1.5k tokens
SKILL.md length
343 words
Files
32 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

将Markdown文章转换为美化的HTML格式,适配微信公众号发布。应用专业CSS样式、代码高亮、优化排版。当用户说"美化这篇文章"、"转换为HTML"、"优化公众号格式"、"生成公众号HTML"时使用。

  • Works in 2 steps: 优先使用 examples 中的精美模板,而非基础 CSS 主题 → 不要渲染 H1 标题:微信公众号有独立的标题输入框,HTML 中不应包含文章标题
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers ⚡ 执行流程(严格遵守), 🔄 与 wechat-tech-writer 集成, ❌ 错误处理表 and 📚 快速参考, plus 2 more sections
  • Calls python

What it does

Wechat Article Formatter is an agent skill from BND-1/wechat_article_skills. 将Markdown文章转换为美化的HTML格式,适配微信公众号发布。应用专业CSS样式、代码高亮、优化排版。当用户说"美化这篇文章"、"转换为HTML"、"优化公众号格式"、"生成公众号HTML"时使用。

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 33 other files, including scripts and reference files (for example `EXAMPLES.md`, `QUICKSTART.md` and `README.md`).

It sits in Productivity & Automation, covering Messaging and chat bots and Linting and formatting. It works with WeChat.

When your agent uses it

  • Tasks that involve Messaging and chat bots
  • Tasks that involve Linting and formatting

Example prompts

  • “美化这篇文章”
  • “转换为HTML”
  • “优化公众号格式”
  • “/wechat-article-formatter”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Bash

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. 优先使用 examples 中的精美模板,而非基础 CSS 主题
  2. 不要渲染 H1 标题:微信公众号有独立的标题输入框,HTML 中不应包含文章标题

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Wechat Article Formatter loads about 1.5k tokens when it runs, and up to ~18k if it reads all its reference files. Until then it costs about 32 tokens; SKILL.md has 343 words of instructions outside code blocks.

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

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.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash

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 343 words (~1,530 tokens).

name
wechat-article-formatter
allowed-tools
Read, Write, Bash

Read the full SKILL.md on GitHub

Files

SKILL.md and 31 other files (scripts, references) in wechat-article-formatter of BND-1/wechat_article_skills.

  • SKILL.md
  • EXAMPLES.md
  • QUICKSTART.md
  • README.md
  • examples/VSCode 蓝色科技风.html
  • examples/产品经理高级模板.html
  • examples/新潮杂志·孟菲斯风 .html
  • examples/未来科技·弥散光感风.html
  • examples/极客暗黑风.html
  • examples/治愈系·暖色手账风.html
  • examples/现代极简风.html
  • examples/红蓝对决·深度测评模板.html
  • examples/终端极客·暗夜测评风.html
  • examples/高端商务·黑金咨询风.html
  • references/README.md
  • references/conversion-guide.md
  • references/publishing-guide.md
  • references/theme-customization.md
  • references/wechat-code-blocks.md
  • … and 13 more

Open the folder on GitHubat commit abae70b

Compare with similar skills

Wechat Article Formatter 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.

Wechat Article Formatter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wechat Article Formatter this skillBND-1/wechat_article_skills317—~1.5kAutomated safety check: NotesNone
Wechat FormatterJianing1117/jianing-skills329—~4.5kAutomated safety check: PassNone
Wechat Article Formatterhuangserva/servasyy_skills167—~688Automated safety check: NotesNone
Wechat PublisherYiShu5/claude-skills132—~951Automated safety check: NotesMIT
Wechat FormatterYiShu5/claude-skills132—~492Automated safety check: NotesMIT
Wechat CoauthorYiShu5/claude-skills132—~2.4kAutomated safety check: PassMIT

Similar skills

  • Wechat Formatter

    Jianing1117/jianing-skills

    把一篇 Markdown 格式的文章转成可直接粘贴到微信公众号编辑器的 HTML 推文 + 900x383px 封面图片,严格遵循「加宁慢慢来」品牌视觉规范 v7.0。当用户说"排版公众号""帮我生成推文""把这篇文章转成公众号格式""做微信封面""WeChat Article Formatter""WeChat…

    329 GitHub stars~4.5k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Wechat Article Formatter

    huangserva/servasyy_skills

    将 Markdown 文章转换为微信公众号 HTML 格式,支持自动插入配图、微信样式优化. An agent skill from huangserva/servasyy_skills.

    167 GitHub stars~688 tokensUpdated 7 days ago
    Productivity & AutomationAuto-check: notes
  • Wechat Publisher

    YiShu5/claude-skills

    微信公众号文章的发布管道——封面生成、本地图片上传素材库、创建草稿、发布草稿、以及从 mp.weixin URL 提取原文。触发场景:用户说 "发到公众号草稿箱" / "推送到公众号" / "做张公众号封面" / "上传图片到微信" / "把这篇文章提取成 markdown" / "改写这篇 mp.weixin 链接(的提取部分)" / 任何提到「发布 / 草稿 / 封面 / 推送 /…

    132 GitHub stars~951 tokensUpdated 19 days ago
    Productivity & AutomationAuto-check: notes
  • Wechat Formatter

    YiShu5/claude-skills

    把 Markdown 文稿转换成微信公众号可用的内联样式 HTML。触发场景:用户说 "把 markdown 转成公众号能用的 HTML" / "排版一下这篇文章" / "套个主题" / "微信编辑器不识别我的样式" / 任何提到「公众号排版 / 微信 HTML / md 转 html / doocs 主题」的请求。微信编辑器不识别 <style 标签,必须把所有 CSS 内联到每个 HTML…

    132 GitHub stars~492 tokensUpdated 19 days ago
    Productivity & AutomationAuto-check: notes
  • Wechat Coauthor

    YiShu5/claude-skills

    协助意疏写「意疏的AI口袋」公众号文章。Claude 是协作者不是写手——voice 必须从意疏嘴里出来,AI 负责结构化、扩写、降 AI 味。触发:写公众号文章 / 帮我整理口述 / 有素材但想不清 / 这段 AI 味太重 / 看看有没有意疏味道 / 帮我把骨架写成文章。输出 Markdown,排版找 wechat-formatter,发布找 wechat-publisher。

    132 GitHub stars~2.4k tokensUpdated 19 days ago
    Productivity & AutomationAuto-check passed
  • Wechat Style Profiler

    gainubi/wechat-skills

    面向公众号作者的文风 DNA 梳理技能。用于从 3-10 篇参考文章中建立可复用的风格画像,输出 14 维分析、标点符号偏好、分块习惯、段落配方、叙述方法体系、内容推进方式和默认 DNA 文件,并通过用户校准确保画像可直接给写稿技能调用。

    170 GitHub starsUsed in 1 repo~458 tokens
    Productivity & AutomationAuto-check passed

More from BND-1/wechat_article_skills

  • Wechat Product Manager Writer

    BND-1/wechat_article_skills

    从 AI 产品经理视角撰写微信公众号文章。涵盖 AI 产品拆解、场景解决方案、效率提升实战、产品方法论、行业观察。当用户说"写一篇关于XXX的文章"、"分析一下XXX产品"、"聊聊XXX"时使用。

    317 GitHub stars~2.6k tokensUpdated 8 mo ago
    Auto-check: notes
  • Wechat Tech Writer

    BND-1/wechat_article_skills

    自动搜索、抓取、改写技术内容,生成适合微信公众号的中文科普文章。涵盖AI大模型、GitHub开源工具、技术话题。当用户说"写一篇关于XXX的文章"、"帮我研究XXX"、"生成公众号文章"时使用。

    317 GitHub stars~1.8k tokensUpdated 8 mo ago
    Auto-check: notes
  • Wechat Draft Publisher

    BND-1/wechat_article_skills

    自动将 HTML 文章发布到微信公众号草稿箱,支持封面图上传、标题、作者和元数据管理。当用户说"推送到微信"、"发布到公众号草稿"、"上传到草稿箱"或提到微信文章发布时使用。

    317 GitHub stars~819 tokensUpdated 8 mo ago
    Auto-check passed

Works with

Questions about Wechat Article Formatter

What does Wechat Article Formatter do?

将Markdown文章转换为美化的HTML格式,适配微信公众号发布。应用专业CSS样式、代码高亮、优化排版。当用户说"美化这篇文章"、"转换为HTML"、"优化公众号格式"、"生成公众号HTML"时使用。. Wechat Article Formatter is an agent skill from BND-1/wechat_article_skills.

When should I use Wechat Article Formatter?

Wechat Article Formatter fits situations like: tasks that involve Messaging and chat bots; tasks that involve Linting and formatting.

How do I install Wechat Article Formatter in Claude Code?

Run `npx skills add BND-1/wechat_article_skills --skill wechat-article-formatter -a claude-code`. Or copy the skill folder (wechat-article-formatter in BND-1/wechat_article_skills) into .claude/skills/wechat-article-formatter in your project. Claude Code loads it when a task matches its description.

How do I install Wechat Article Formatter in Codex?

Run `npx skills add BND-1/wechat_article_skills --skill wechat-article-formatter -a codex`. Or copy the skill folder (wechat-article-formatter in BND-1/wechat_article_skills) into .agents/skills/wechat-article-formatter in your project. Codex loads it when a task matches its description.

Can I use Wechat Article Formatter 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 BND-1/wechat_article_skills --skill wechat-article-formatter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wechat-article-formatter, .gemini/skills/wechat-article-formatter, .github/skills/wechat-article-formatter and .opencode/skills/wechat-article-formatter in your project.

What does Wechat Article Formatter need to run?

Going by SKILL.md and its folder, Wechat Article Formatter needs the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash.

Does Wechat Article Formatter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Wechat Article Formatter safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), 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 Wechat Article Formatter use?

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

How many tokens does Wechat Article Formatter use?

About 1.5k tokens (SKILL.md is roughly 6.1k 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 16k tokens, read only when the agent opens those files.

What are the alternatives to Wechat Article Formatter?

Skills that share tags, products or a category with Wechat Article Formatter: Wechat Formatter (Jianing1117/jianing-skills, 329 stars), Wechat Article Formatter (huangserva/servasyy_skills, 167 stars), Wechat Publisher (YiShu5/claude-skills, 132 stars) and Wechat Formatter (YiShu5/claude-skills, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wechat Article Formatter?

BND-1 (a GitHub user) maintains it in BND-1/wechat_article_skills, which has 317 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on January 16, 2026.

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