Token导航 LogoToken导航

Agent Skill · AI 工具

wechat-article(微信文章)

wechat-article 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wechat-article 是AI 工具类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描已通过,按安装量在AI 工具类的 2,536 个 Skill 里排第 947。

总安装 1,529周安装 65GitHub Stars 公开资料未说明下载 536核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wechat-article(微信文章)
来源仓库:https://github.com/freeany/wechat-article
仓库路径:skills/wechat-article
安装命令:
npx skills add https://github.com/freeany/wechat-article --skill wechat-article
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/freeany/wechat-article --skill wechat-article

这个 Skill 是做什么的

AI 工具类 Skill 用来扩展助手本身的能力,例如接模型、接检索、接外部服务。

用于处理 GitHub 协作信息和微信文章相关内容。适合在需要整合仓库状态和文章资源时使用。wechat-article 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。支持 Issue、PR 等事项的自动化整理。通过 GitHub 仓库安装并使用 npx 命令添加技能。

需确认是否会触发文件读写或外部命令执行。

来源仓库内路径:skills/wechat-article

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/freeany/wechat-article --skill wechat-article;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wechat-article 怎么安装?

在终端执行 npx skills add https://github.com/freeany/wechat-article --skill wechat-article。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wechat-article 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wechat-article 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

wechat-article 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

wechat-article 用的人多吗?

公开数据是累计安装 1,529 次,近一周安装 65 次,下载 536 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wechat-article 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理AI 工具类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

AI 工具类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
executing-plans

执行计划 · Codex、Claude

1,515,336173,110只读MIT通过
verification-before-completion

完成前的验证 · Codex、Claude

1,319,472173,121权限未标注MIT通过
subagent-driven-development

子 Agent 驱动开发 · Codex、Claude

1,312,416173,138只读MIT通过
copy-editing

复制编辑 · Codex、Claude

1,209,57625,632只读MIT通过
paywall-upgrade-cro

付费专区升级 cro · Codex、Claude

1,030,17625,617只读MIT通过
wechat-article

微信文章 · 本页

1,529—操作浏览器MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

WeChat Article Converter

Overview

Convert Markdown articles to WeChat Official Account (微信公众号) compatible HTML format with themed styling and inline CSS. This skill handles the entire conversion process automatically using the md_to_wechat.py script.

Core capability: Transform standard Markdown → WeChat-compatible HTML with professional styling.

Workflow

Step 1: Identify User Request

Trigger this skill when user asks for:

  • Converting Markdown to WeChat format
  • "转换为微信公众号格式"
  • "生成微信文章"
  • "公众号排版"
  • Applying WeChat styling to articles

Step 2: Gather Required Information

Required:

  • Input Markdown file path (from user request or current directory)

ALWAYS Ask User for Theme Selection: Use AskUserQuestion tool to present theme options to the user interactively.

Present these 3 theme options:

OptionTheme NameBest For
default专业蓝色技术文章、教程、通用内容
orange活力橙运动、美食、娱乐、促销活动
grid格子主题带序号徽章、动画效果,支持清新绿/大气蓝配色

Exception: Skip theme selection if user explicitly specifies theme in request.

Important: If user selects "grid" theme, ask for color preference: -清新绿 (green) - #52c41a,适合生活方式、健康、环保

  • 大气蓝 (blue) - #007AFF,适合科技、商务、专业内容

Additional Options (ask if needed):

  • Article title for WeChat header (default: none)
  • Include WeChat header/footer (default: yes)

Step 3: Execute Conversion

Important: Always use the absolute path to the skill script:

python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py <input.md> [output.html] [options]

ALWAYS use --preview flag to open browser with copy button:

  1. Basic conversion with browser preview (RECOMMENDED): python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py input.md --theme <selected-theme> --preview
  2. With title and browser preview: python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py input.md --theme <theme> --title "<article-title>" --preview
  3. Content only (no WeChat elements) with preview: python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py input.md --theme <theme> --no-header-footer --preview

Note: The --preview flag will automatically open a browser page with:

  • Article preview
  • "复制 HTML 代码" button to copy the HTML
  • Instructions for pasting into WeChat editor
  • Visual preview of the styled article

Step 4: Present Results to User

Always:

  1. Confirm conversion completed successfully
  2. Show which theme was used
  3. Show output file location
  4. Display a preview of the generated HTML (first ~30 lines)
  5. Remind user they can copy-paste the HTML into WeChat editor

Example Interactions

Example 1: Standard workflow with theme selection and browser preview

User: "把 article.md 转成微信公众号格式"

Claude: [Uses AskUserQuestion]
"请选择文章主题风格:
• default - 专业蓝色(技术文章、教程、通用内容)
• orange - 活力橙(运动、美食、娱乐、促销活动)
• grid - 格子主题(带序号徽章、动画效果,支持清新绿/大气蓝配色)"

User: [Selects] "grid"

Claude: [Uses AskUserQuestion]
"请选择格子主题配色:
• green - 清新绿 (#52c41a) - 生活方式、健康、环保
• blue - 大气蓝 (#007AFF) - 科技、商务、专业内容"

User: [Selects] "blue"

Claude: [Executes] python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py article.md --theme grid --grid-color blue --preview
Claude: ✅ 使用格子主题(大气蓝)转换成功!浏览器已打开预览页面,点击"复制 HTML 代码"按钮即可复制到微信公众号编辑器。

Example 2: User specifies theme directly

User: "转换成微信公众号文章,用默认主题"

Claude: [Skips theme selection, user already specified]
Claude: [Executes] python3 ~/.claude/skills/wechat-article/scripts/md_to_wechat.py article.md --theme default --preview
Claude: ✅ 使用专业蓝色主题转换成功!浏览器已打开预览页面。

Implementation Notes

Available Themes

The skill currently includes 3 themes:

  1. default (专业蓝色) - Professional blue theme

- Primary color: #1e6bb8 - Best for: Technical articles, tutorials, general content

  1. orange (活力橙) - Vibrant orange theme

- Primary color: #e67e22 - Best for: Sports, food, entertainment, promotions

  1. grid (格子主题) - Grid theme with number badges and animations

- Default color: #52c41a (fresh green) - Alternative color: #007AFF (atmospheric blue) - Features: Numbered heading badges, rotation animations, auto list nesting - Best for: All content types, choose color based on topic - Green: Lifestyle, health, environmental topics - Blue: Technology, business, professional content

Dependencies

The script requires:

  • markdown>=3.5.0 - Markdown parsing
  • beautifulsoup4>=4.12.0 - HTML processing
  • pygments>=2.16.0 - Code syntax highlighting

Check if dependencies are installed before running. If not, install:

pip3 install markdown beautifulsoup4 pygments

Troubleshooting

Issue: Dependencies not found Solution: Install with pip3 install markdown beautifulsoup4 pygments

Issue: Script not found Solution: Use absolute path: ~/.claude/skills/wechat-article/scripts/md_to_wechat.py

Issue: WeChat styles not appearing Solution: Ensure user copies the entire HTML content including inline styles

Resources

scripts/md_to_wechat.py

Main conversion script. Execute with appropriate arguments based on user request.

references/themes.md

Detailed theme specifications. Consult when helping user understand theme differences.

assets/examples/sample.md

Example article demonstrating all supported features. Use for testing or showing user capabilities.

平台分布

Claude Code

26.98%
按下载量换算145

OpenCode

22.07%
按下载量换算118

Cursor

18.22%
按下载量换算98

Codex

14.15%
按下载量换算76

replit

8.07%
按下载量换算43

windsurf

3.74%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills