Gzh Design
isjiamu/gzh-design-skill
微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…
微信公众号文章排版与多账号发布工具,把已有 Markdown、DOCX、PDF 或纯文本转成可直接粘贴或通过官方 API 写入草稿箱/发布的 HTML。用于用户明确要求“公众号排版”“微信排版”“转公众号 HTML”“自动排版”“一键排版”、上传草稿、发布已有文章或配置多账号发布时。单独要求撰写文章时使用…
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 843645440/wechat-skill wechat-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .claude/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 843645440/wechat-skill wechat-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .agents/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 843645440/wechat-skill wechat-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .cursor/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 843645440/wechat-skill wechat-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .gemini/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install 843645440/wechat-skill wechat-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .github/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 843645440/wechat-skill --skill wechat-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 843645440/wechat-skill wechat-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "wechat-skill" agent skill from https://github.com/843645440/wechat-skill/tree/release into .opencode/skills/wechat-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wechat-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
wechat-skill微信公众号文章排版与多账号发布工具,把已有 Markdown、DOCX、PDF 或纯文本转成可直接粘贴或通过官方 API 写入草稿箱/发布的 HTML。用于用户明确要求“公众号排版”“微信排版”“转公众号 HTML”“自动排版”“一键排版”、上传草稿、发布已有文章或配置多账号发布时。单独要求撰写文章时使用…
Wechat Skill is an agent skill from 843645440/wechat-skill. 微信公众号文章排版与多账号发布工具,把已有 Markdown、DOCX、PDF 或纯文本转成可直接粘贴或通过官方 API 写入草稿箱/发布的 HTML。用于用户明确要求“公众号排版”“微信排版”“转公众号 HTML”“自动排版”“一键排版”、上传草稿、发布已有文章或配置多账号发布时。单独要求撰写文章时使用 wechat-tech-insight-writer;要求从选题一路完成写作、排版和草稿发布时使用 wechat-content-pipeline。不用于普通网页、落地页或 PPT;发布能力不等同于向粉丝群发。
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 99 other files, including scripts, reference files and assets (for example `.baoyu-skills/baoyu-article-illustrator/EXTEND.md`, `.baoyu-skills/baoyu-cover-image/EXTEND.md` and `.github/ISSUE_TEMPLATE/bug_report.md`).
It sits in Documents & Office, covering Messaging and chat bots and Word documents. It works with WeChat and Microsoft Word. The repository describes itself as: 微信公众号内容 Skill 工具包:热点发现、科技写作、去 AI 味、配图、排版、多账号草稿与工作流编排。 The licence is AGPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8ae1abe. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
AGNES_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Wechat Skill loads about 1.3k tokens when it runs, and up to ~9.9k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 299 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from 843645440/wechat-skill at commit 8ae1abe, republished under its AGPL-3.0 licence (© 843645440). 299 words, ~1,255 tokens.
.claude/skills/wechat-skill/SKILL.md (or your agent's skills folder). This skill also uses 92 other files; get the full folder from GitHub.把一篇 Markdown 转成粘进公众号编辑器后样式不丢的 HTML。
**排版由脚本完成,不要手写 HTML。**渲染器是
.agents/skills/wechat-content-pipeline/scripts/render_article.py,主题、组件、
内联样式、<span leaf=""> 包裹、章节编号、代码块缩进全部在里面确定性生成。
历史上本 Skill 要求 Agent 读取大型 Markdown 组件库再手写 HTML。旧组件已从活跃分支移除, 需要考古时从 Git 历史读取;当前实现只以固定渲染器为准。
设 RENDER=.agents/skills/wechat-content-pipeline/scripts/render_article.py。
# 1. 非 Markdown 输入先归一化(见下节),已是 md 则跳过
# 2. 选主题:读 references/theme-index.md,取一个 --theme 标识
# 3. 渲染
python3 $RENDER --article <输入.md> --theme <标识> --output "<原名>_排版_<中文名>(<标识>).html"
# 4. 校验(ERROR 必须 0,半角标点 WARNING 也要修到 0)
python3 scripts/validate_gzh_html.py "<上面的 html>"
# 5. 生成带「复制」按钮的预览页
python3 scripts/wrap_preview.py "<上面的 html>"交付时告诉用户:打开 {...}_预览.html → 点右上角「复制到公众号」→ 编辑器里粘贴,
并给出干净正文文件路径作为兜底,附校验结论。
render_article.py 成功时 stdout 打一行 JSON(status / title / theme / image_count)。
校验或渲染报错时回去改 article.md,不要去改产物 HTML,也不要新写渲染脚本。
用户可能给 Markdown 文本、.md 路径、.docx、.pdf、.txt/无标记纯文本、网页富文本。
非 Markdown 一律先读 references/format-normalize.md 按其规则转成 Markdown 草稿(docx 用 scripts/extract_docx.py,PDF 用 Read 分页读取 + 清噪,纯文本按标题启发式推断结构)。什么都没给就向用户索要。
读 references/theme-index.md(只有 ~1 KB 的选择表)。
用户指定了就用;没指定用 moyu-green,或让用户从 gallery 挑。不要按文章风格自行匹配主题。
被 wechat-content-pipeline 调用时用 prepare 已固定的主题,不重选、不询问。渲染器不输出「本文看点」目录。
用户说「直接排 / 自动排 / 一键 / 不用问」→ 全自动模式:不提问,主题用 moyu-green(用户指定除外),交付时附决策说明。
写 article.md 时只用下面这些,脚本会挑对应组件。其它花样不保证。
| 元素 | 写法 | 产出 |
|---|---|---|
| 文章标题 | # 标题(全文只能一个) | 主题封面/引言卡 |
| 开头引言 | 文章最前面的 > 引用 | hero 引言 |
| 章节 | ## 标题 | 编号章节标题(01/02/…,末章为结语/总结类自动用 ∞) |
| 子章节 | ### 标题 | 左竖条小标题 |
| 正文 | 普通段落 | 正文段 |
| 下划线强调 | **文字**、++文字++、<u>文字</u> | 主题下划线 |
| 高亮 | ==文字== | 主题色底高亮 |
| 行内代码 | 反引号 | 等宽药丸 |
| 代码块 | ``` 围栏(可带语言) | 代码块组件,缩进与换行保留 |
| 引用 | 非开头的 > 文字 | 引用块 |
| 列表 | - 项 / 1. 项 | 列表组件 |
| 表格 | | 分隔 | 表格组件 |
| 图片 / GIF | ,独占一行、路径不含空格 | 图片组件(有 alt 才生成说明) |
下划线是本 Skill 的核心特色,但它现在是写作期的事:脚本只把 **…** 渲染成下划线,
决定标哪些词是写作者的活。所以排版前确认正文里每段有 1–3 个 **关键短语**
(核心观点、结论、关键数据、专有名词,4–15 字)。原文一个加粗都没有时,主动补上再渲染
——这是出现频率最高的基础标记,缺了排出来会很平。
正文标点用全角(,。!?:;""''()—— …);代码块、行内代码、英文专名/URL 内部保持原样。
半角标点是校验脚本最高频的 WARNING 来源,在写 article.md 时就写对,别指望事后替换。
theme-index.md 去发现主题——--theme 的 choices 才是全集。<section>…</section> 正文片段,不带 <!DOCTYPE>/<html>/<head>/<body>。这由脚本保证,别去包壳。{{作者名}} 之类占位符带进产物或草稿箱。wechat-tech-insight-writer,不要在本 Skill 代写正文。wechat-content-pipeline,用它的 pipeline_job.py / pipeline_runtime.py 命令链,不要在本 Skill 另写排版或封面实现。work/<account>/current/job.json,再读 .agents/skills/wechat-content-pipeline/references/pipeline-failure-triage.md。.agents/skills/wechat-content-pipeline/scripts/gen_inline_images.py(用户/Agent 已有图优先;否则仅在有 AGNES_API_KEY 时脚本生图;失败不配图)。封面 → gen_cover_image.py:用户图 → 正式报道 HTML 标题 → 可选生图 → Pillow / 账号默认封面。docs/setup.md,先跑 python3 scripts/setup_status.py。run_id 为幂等边界:同时核对 job 阶段、draft-result.json 的账号、动作、run_id 和 draft_media_id;running/uncertain 禁止自动重发。用户要求上传草稿、提交发布或配置多公众号时,先读 references/multi-account-publishing.md,用 scripts/wechat_publish.py 执行,不手写临时请求:
assets/wechat-accounts.example.json,每个账号用别名注册;AppID/AppSecret 只从各自环境变量读取。--dry-run,再逐账号 --action draft 并人工验收。publish --media-id <已审核草稿ID> 发布现有草稿。不要在审核后再用 send --action publish 创建第二份草稿。向用户说明这是「发布」而非「群发给粉丝」。--account;本 Skill 不创建定时器。原文图片按账号分别上传,封面素材必须属于目标账号。IP 白名单错误(40164):报告出口 IP,等用户加白后只重跑发布这一步,不重写正文。
<style>/<script>/<div>、class/id 属性、position:fixed/absolute/sticky、float、@media/@keyframes、display:grid、CSS 变量、外部字体/CSS。<span leaf="">文字</span> 包裹(否则粘贴后样式整片丢失)。display:flex(有限)、linear-gradient、border-radius、box-shadow、<section>/<p>/<span>/<strong>/<img>/<h3>。<p style="margin:0">」,绝不用 white-space:pre;缩进用 。<img> 用 max-width:100%;height:auto;display:block;margin:0 auto,不用 width:100%(会把小图拉糊);只有表格/封面卡/流程图才用 width:100%。改 render_article.py 后必须把全部注册主题各渲染一遍 + validate_gzh_html.py 到 0 ERROR + 跑
python3 -m unittest discover -s tests。加新主题见 references/theme-index.md。
触发与主题选择的回归用例见
references/eval-cases.md。
© 843645440, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 92 other files (scripts, references, assets) in the repository root of 843645440/wechat-skill.
Open the folder on GitHubat commit 8ae1abe
Wechat Skill 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Wechat Skill this skill843645440/wechat-skill | 109 | — | ~1.3k | Automated safety check: Pass | AGPL-3.0 | |
| Gzh Designisjiamu/gzh-design-skill | 3.9k | 1 repos | ~2.2k | Automated safety check: Pass | AGPL-3.0 | |
| Lark Docrongxinzy/RongxinAI | 154 | 2 repos | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Lark DocPinvou/pinvou-agent | 2.4k | — | ~738 | Automated safety check: Pass | MIT | |
| Lark Noterongxinzy/RongxinAI | 154 | 2 repos | ~971 | Automated safety check: Pass | AGPL-3.0 | |
| Lark Docappleweiping/WEIPING_WIKI | 119 | — | ~1.4k | Automated safety check: Pass | MIT |
isjiamu/gzh-design-skill
微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…
rongxinzy/RongxinAI
飞书云文档(Docx / Wiki 文档):读取和编辑飞书文档内容。当用户给出文档 URL 或 token,或需要查看、创建、编辑文档、插入或下载文档图片附件时使用。文档中嵌入的电子表格、多维表格、画板,先用本 skill 提取 token 再切到对应 skill。当用户给出 doubao.com 的 /docx/ 或 /wiki/ URL/token 时,也应直接使用本…
Pinvou/pinvou-agent
【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书云文档(Docx/Wiki)与思维笔记内容操作:读取、创建、编辑文档,插入或下载图片附件,查询或回滚历史版本。用户给出文档 URL/token(含 doubao.com 的 /docx/、/wiki/)时使用,按 URL 路径/token…
rongxinzy/RongxinAI
飞书会议纪要(Note)直查:已知 noteid 时查询纪要详情、展示类型、关联文档 token,并读取 unified 原始逐字记录。当用户已持有 noteid,或从文档显式 vc-node-id 获得 noteid 时使用。不负责会议/日程/妙记定位、文档标题搜索或 Docx 正文读取。
appleweiping/WEIPING_WIKI
飞书云文档 / Docx / 知识库 Wiki 文档(v2):创建、打开、读取、获取、查看、总结、整理、改写、翻译、审阅和编辑飞书文档内容。当用户给出飞书文档 URL/token,或说查看/读取/打开某个文档、提取文档内容、总结文档、生成/创建文档、追加/替换/删除/移动内容、调整排版、插入或下载文档图片/附件/素材/画板缩略图时使用。文档内容中出现嵌入电子表格、多维表格、需要将重要信息可视化为…
Pinvou/pinvou-agent
何时用:仅当用户明确指定 doc/docx/word/在线文档/office文档或提供 doc.weixin.qq.com/doc/ 链接时使用;泛指「做个文档/写文档/整理成文档」默认走 wecomcli-smartpage 或本地工具,本技能不得抢占。doc 内容操作:新建、导入(.doc/.docx/.txt)、读取、追加、覆盖写入;结构化数据需求改用智能文档/智能表格;公共管理走…
843645440/wechat-skill
使用受约束 JSON、固定 HTML/CSS 和 Chrome/Chromium 确定性生成微信公众号封面 PNG。用于完整公众号流水线必须提供 thumbmediaid,或需要准确中文标题、独立封面视觉且不调用图片模型的 1410×600 封面时;不生成正文图片。
843645440/wechat-skill
编排中文微信公众号文章。两条入口:用户成稿只排版推草稿(去 AI 味可关,不卡字数);或给主题由 AI 写(去 AI 味强制开)。可降级配图、封面、随机主题,写入指定账号草稿箱。默认不扫热点、不公开发布。
843645440/wechat-skill
从已完成写作的微信公众号文章中提取观点、对比、流程或已核实数据,并交给固定渲染器一次生成当前主题的公众号正文与原生 HTML 信息模块。用于已选定排版主题后增强手机端扫读体验,同时不生成正文图片、不调用图片模型、不让 Agent 临时编码排版的场景。
843645440/wechat-skill
受控系列选题上游。仓库默认是科技/AI 系列;仅当本机 config/local 启用 public-event 预设时,才核验官方材料并策展公共事件档案。不自动公开发布。
843645440/wechat-skill
写有人愿意读完的中文微信公众号文章,并用脚本把「好不好」量化成分数。四个维度:信息量(每 300 字一个具体信息)、利他性(读者能带走的东西)、可读性(手机竖屏节奏)、抓人(钩子密度与闭环)。写完必须跑 scoredraft.py 体检并修到 blocking=0 且 score≥75。自带默认关闭的热点雷达开关(hotradar.py),开启后聚合 8…
843645440/wechat-skill
可选的脚本生图客户端。优先使用 Agent 运行时自带的生图工具;没有自带能力且配置了 AGNESAPIKEY 时,才调用本目录脚本。用于流水线封面或正文配图的脚本降级,不指定其它供应商。
Works with
微信公众号文章排版与多账号发布工具,把已有 Markdown、DOCX、PDF 或纯文本转成可直接粘贴或通过官方 API 写入草稿箱/发布的 HTML。用于用户明确要求“公众号排版”“微信排版”“转公众号 HTML”“自动排版”“一键排版”、上传草稿、发布已有文章或配置多账号发布时。单独要求撰写文章时使用…. Wechat Skill is an agent skill from 843645440/wechat-skill.
Wechat Skill fits situations like: tasks that involve Messaging and chat bots; tasks that involve Word documents.
Run `npx skills add 843645440/wechat-skill --skill wechat-skill -a claude-code`. Or copy the skill folder (the 843645440/wechat-skill repository) into .claude/skills/wechat-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 843645440/wechat-skill --skill wechat-skill -a codex`. Or copy the skill folder (the 843645440/wechat-skill repository) into .agents/skills/wechat-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 843645440/wechat-skill --skill wechat-skill -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-skill, .gemini/skills/wechat-skill, .github/skills/wechat-skill and .opencode/skills/wechat-skill in your project.
Going by SKILL.md and its folder, Wechat Skill needs the command-line tools its instructions call (python3) and credentials named AGNES_API_KEY. Our summary lists: Python 3; A credential in AGNES_API_KEY.
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.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. 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.
Wechat Skill is published under the AGPL-3.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k 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 8.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Wechat Skill: Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), Lark Doc (rongxinzy/RongxinAI, 154 stars), Lark Doc (Pinvou/pinvou-agent, 2.4k stars) and Lark Note (rongxinzy/RongxinAI, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
843645440 (a GitHub user) maintains it in 843645440/wechat-skill, which has 109 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 14, 2026.
Source: 843645440/wechat-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.