prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
Manages md2wx CLI for converting Markdown to WeChat Official Account drafts. Use when working with WeChat article publishing, Markdown to HTML conversion, or WeChat media upload.
Claude Code
$ npx -y skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite --agent claude-code
Codex
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a codex -y
Cursor
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a cursor -y
Gemini CLI
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a gemini-cli -y
GitHub Copilot
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a github-copilot -y
OpenCode
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a opencode -y
Windsurf
$ npx skills add geekjourneyx/md2wechat-lite --skill md2wechat-lite -a windsurf -y
name: md2wechat-lite description: Manages md2wx CLI for converting Markdown to WeChat Official Account drafts. Use when working with WeChat article publishing, Markdown to HTML conversion, or WeChat media upload.
CLI tool for converting Markdown to WeChat Official Account formatted drafts.
**Install**:
curl -fsSL https://raw.githubusercontent.com/geekjourneyx/md2wechat-lite/main/cli/scripts/install.sh | sh
**Configure credentials**:
md2wx config set wechat-appid "wx123..." md2wx config set wechat-appsecret "your_secret" md2wx config set api-key "wme_your_key"
| Command | Purpose | |---------|---------| | `article-draft` | Create article draft from Markdown | | `newspic-draft` | Create Xiaolvshu (image card) draft | | `batch-upload` | Upload images to WeChat CDN | | `themes list` | List available themes | | `config` | Manage settings (set/get/list/path) |
Convert Markdown to WeChat article:
md2wx article-draft --file article.md --theme bytedance --cover-image "https://cdn.example.com/cover.jpg"
Or pass inline Markdown:
md2wx article-draft --markdown "# Title\n\nContent" --theme elegant-red --cover-image "https://cdn.example.com/cover.jpg"
Note:
Create image-rich card drafts:
md2wx newspic-draft --title "标题" --content "内容" --images "https://cdn.example.com/img1.jpg,https://cdn.example.com/img2.png"
Upload images and get WeChat CDN URLs:
md2wx batch-upload --images "https://cdn.example.com/a.jpg,https://cdn.example.com/b.jpg"
Image input constraints:
**Built-in** (6): default, bytedance, chinese, apple, sports, cyber
**Template** (32): `{minimal|focus|elegant|bold}-{gold|green|blue|orange|red|navy|gray|sky}`
List/search themes:
md2wx themes list [--verbose] [--search query]
For theme descriptions: See `cli/pkg/themes/list.go`
Config file: `~/.md2wx/config.yaml` (stored as `key=value` lines)
**Priority**: Command args > Environment vars > Config file > Defaults
**Environment variables**:
cli/
├── main.go # Root command
├── article-draft.go # Article draft
├── newspic-draft.go # Xiaolvshu draft
├── batch-upload.go # Image upload
├── config.go # Config management
├── themes.go # Theme list command
└── pkg/
├── api/client.go # HTTP API client
├── config/ # Config file I/O
├── themes/ # Theme definitions
└── output/ # JSON formatterAll commands output JSON:
{
"success": true,
"data": { "media_id": "...", "url": "..." }
}See source files for:
AI Agent 自动排版公众号 —— Markdown 转微信排版 CLI 工具 打通公众号创作的最后一公里 像发朋友圈一样简单,用 Markdown 写公众号文章 md2wx CLI · 38+ 精美主题 · 支持 Claude Code / OpenClaw
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…