用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/caol64/wenyan-cli --skill publish-to-wechat命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
AI-ready skill to test, register, and publish Markdown articles to WeChat Official Accounts using a local custom CSS theme via Wenyan CLI.
AI-ready skill to design and generate highly customized CSS themes for WeChat Official Accounts.
基于 SOC 职业分类
正在显示 SKILL.md
| name | publish-to-wechat |
| description | AI-ready skill to format and publish Markdown articles to WeChat Official Accounts using Wenyan CLI. |
这是一个专门为 AI Agent 设计的技能,用于将标准的 Markdown 文档转换为符合微信公众号排版要求的富文本并直接发布。它集成了自动化样式注入、代码高亮处理以及素材库图片自动上传功能。
WECHAT_APP_ID 和 WECHAT_APP_SECRET 环境变量。wenyan-cli (pnpm add -g @wenyan-md/cli)。orangeheart)和代码高亮方案。文章开头 必须 包含以下 YAML 块,否则发布接口将返回错误:
---
title: 文章标题
cover: ./cover.jpg # 若缺省则自动取正文第一张图
author: 作者名称 # 可选
source_url: https://example.com/original-article # 可选,原文链接
---
-f, --file:(必填) Markdown 文件路径。-t, --theme:排版主题(默认 default)。-h, --highlight:代码高亮主题(默认 solarized-light)。--no-mac-style:禁用代码块 Mac 风格。wenyan publish -f my-article.md
wenyan publish -f article.md -t orangeheart -h solarized-light
wenyan theme -l