wechat-publisher
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
Skill by Trompetilla
Chalk Labs
Need help deploying wechat-publisher?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/trompetilla-wechat-publisher
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
wechat-publisher- Description
- 一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
- License
- MIT
- Instructions
- 311 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (8)
- README.md
- SKILL.md
- _meta.json
- example.md
- themes.md · references/
- troubleshooting.md · references/
- publish.sh · scripts/
- setup.sh · scripts/
SKILL.md (first lines)
# wechat-publisher **一键发布 Markdown 文章到微信公众号草稿箱** 基于 [wenyan-cli](https://github.com/caol64/wenyan-cli) 封装的 OpenClaw skill。 ## 功能 - ✅ Markdown 自动转换为微信公众号格式 - ✅ 自动上传图片到微信图床 - ✅ 一键推送到草稿箱 - ✅ 多主题支持(代码高亮、Mac 风格代码块) - ✅ 支持本地和网络图片 ## 快速开始 ### 1. 安装 wenyan-cli **wenyan-cli 需要全局安装:** ```bash npm install -g @wenyan-md/cli ``` **验证安装:** ```bash wenyan --help ``` > **注意:** publish.sh 脚本会自动检测并安装 wenyan-cli(如果未安装) ### 2. 配置 API 凭证 API 凭证已保存在 `/Users/leebot/.openclaw/workspace/TOOLS.md` 确保环境变量已设置: ```bash export WECHAT_APP_ID=your_wechat_app_id export WECHAT_APP_SECRET=your_wechat_app_secret ``` **重要:** 确保你的 IP 已添加到微信公众号后台的白名单! 配置方法:https://yuzhi.tech/docs/wenyan/upload ### 3. 准备 Markdown 文件 文件顶部**必须**包含完整的 frontmatter(wenyan 强制要求): ```markdown --- title: 文章标题(必填!) cover: https://example.com/cover.jpg # 封面图(必填!) --- # 正文开始 你的内容... ``` **⚠️ 关键发现(实测):** - `title` 和 `cover` **都是必填字段**! - 缺少任何一个都会报错:"未能找到文章封面" - 虽然文档说"正文有图可省略cover",但实际测试必须提供 cover - 所有图片(本地/网络)都会自动上传到微信图床 **推荐封面图来源:** ```markdown # 方案1: 相对路径(推荐,便于分享) cover: ./assets/default-cover.jpg # 方案2: 绝对路径 cover: /Users/bruce/photos/cover.jpg # 方案3: 网络图片 cover: https://your-cdn.com/image.jpg ``` **💡 提示:** 使用相对路径时,从 Markdown 文件所在目录开始计算。 ### 4. 发布文章 **方式 1: 使用 publish.sh 脚本** ```bash cd /Users/leebot/.openclaw/workspace/wechat-publisher ./scripts/publish.sh /path/to/article.md ``` **方式 2: 直接使用 wenyan-cli** ```bash wenyan publish -f article.md -t lapis -h solarized-light ``` **方式 3: 在 OpenClaw 中使用** ``` "帮我发布这篇文章到微信公众号" + 附带 Markdown 文件路径 ``` ## 主题选项 wenyan-cli 支持多种主题: **内置主题:** - `default` - 默认主题 - `lapis` - 青金石(推荐) - `phycat` - 物理猫 - 更多主题见:https://github.com/caol64/wenyan-core/tree/main/src/assets/themes **代码高亮主题:** - `atom-one-dark` / `atom-one-light` - `dracula` - `github-dark` / `github` - `monokai` - `solarized-dark` / `solarized-light` (推荐) - `xcode` **使用示例:** ```bash # 使用 lapis 主题 + solarized-light 代码高亮
From Trompetilla/Skills, MIT.
More from Trompetilla/Skills
- 0.437score
bw-cli
Trompetilla
Securely interact with Bitwarden password manager via the bw CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-youtube
Trompetilla
YouTube SERP Scout for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-search
Trompetilla
Intelligent search for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
llm-router
Trompetilla
Unified LLM Gateway - One API for 70+ AI models.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
us-stock-analyst
Trompetilla
Professional US stock analysis with financial data, news, social sentiment, and multi-model AI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
openclaw-media-gen
Trompetilla
Generate images & videos with AIsa.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
MarketPulse
Trompetilla
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
Twitter Command Center (Search + Post)
Trompetilla
Search X (Twitter) in real time, extract relevant posts, and publish tweets/replies instantly—perfect for social listening, engagement, and rapid content ops.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Feb 5, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Trompetilla/Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.434score
wechat-publisher
johnalbertini14-glitch
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
SkillDFreshness: D★ 2Claude Code +9 - 0.254score
wechat-publisher
kbarbel640-del
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
SkillDFreshness: D★ 1Claude Code +9 - 0.238score
wechat-publisher
baneeishaque
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
SkillDFreshness: DClaude Code +9
More from Trompetilla
- 0.437score
bw-cli
Trompetilla
Securely interact with Bitwarden password manager via the bw CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-youtube
Trompetilla
YouTube SERP Scout for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
openclaw-search
Trompetilla
Intelligent search for agents.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
llm-router
Trompetilla
Unified LLM Gateway - One API for 70+ AI models.
SkillDFreshness: D★ 1Claude Code +9 - 0.430score
us-stock-analyst
Trompetilla
Professional US stock analysis with financial data, news, social sentiment, and multi-model AI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
openclaw-media-gen
Trompetilla
Generate images & videos with AIsa.
SkillDFreshness: D★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get wechat-publisher running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
wechat-publisher skill. Agent Mart. https://agentmart.dev/skills/trompetilla-wechat-publisher (last updated 2026-10-24)