← 返回 Skills 市场
md2wechat
作者
geekjourney
· GitHub ↗
· v2.0.7
· MIT-0
946
总下载
4
收藏
8
当前安装
8
版本数
在 OpenClaw 中安装
/install md2wechat
功能描述
Convert Markdown to WeChat Official Account HTML, inspect supported providers/themes/prompts, generate article images, create drafts, write with creator styl...
安全使用建议
This skill appears to do what it says: it wraps the md2wechat CLI and needs your WeChat app credentials to upload/publish drafts. Before installing or running it: 1) Verify the md2wechat binary source (inspect the Homebrew tap or Go repo) so you trust the code you will run. 2) Keep WECHAT_APPID and WECHAT_SECRET private — anyone with them can create/publish drafts on your account. 3) Review ~/.config/md2wechat/config.yaml and any project md2wechat.* files the tool will read to ensure they don't point to untrusted API endpoints (MD2WECHAT_BASE_URL). 4) If you don't want automatic network publishing, avoid giving credentials or use dry-run options first. If you want a deeper audit, provide the brew formula or the GitHub repo contents for code review.
功能分析
Type: OpenClaw Skill
Name: md2wechat
Version: 2.0.7
The md2wechat skill provides a comprehensive interface for a CLI tool designed to convert Markdown files into WeChat Official Account articles. It handles sensitive WeChat credentials (WECHAT_APPID, WECHAT_SECRET) and local configuration files, but its instructions in SKILL.md are strictly aligned with its stated purpose of content creation, image generation, and draft management. The skill includes safety-oriented instructions for the agent, such as validating configurations and requiring explicit user consent before performing remote actions or draft creation.
能力评估
Purpose & Capability
Name/description, required binary (md2wechat), and required env vars (WECHAT_APPID, WECHAT_SECRET) match the stated functionality of converting Markdown, generating/uploading drafts, and interacting with WeChat. The config file paths and optional image-service settings are consistent with image generation and provider configuration.
Instruction Scope
SKILL.md is instruction-only and instructs the agent to run the md2wechat CLI and to read config files (~/.config/md2wechat/config.yaml and project-local md2wechat.*) and environment variables (e.g., MD2WECHAT_BASE_URL). Those reads are relevant to selecting providers/themes and API endpoints, but the skill will access user config and environment settings beyond the two declared WECHAT variables — this is expected for a CLI that discovers runtime capabilities, but users should be aware the agent will consult local config files and env vars.
Install Mechanism
Install options are a Homebrew formula from a third‑party tap (geekjourneyx/tap/md2wechat) and a Go module (github.com/geekjourneyx/...). Both are standard installation mechanisms and traceable to GitHub, but they are third‑party sources — users should review the tap/module repo or build artifacts before installing.
Credentials
Only WECHAT_APPID and WECHAT_SECRET are required, which is proportionate for a tool that uploads/publishes drafts to WeChat. The SKILL.md also references other env vars (MD2WECHAT_BASE_URL) and config files for provider/image settings; those are plausible but not declared in requires.env. Crucially, providing WECHAT_APPID/SECRET grants the skill the ability to create or publish drafts on the user's WeChat account, so protect these credentials.
Persistence & Privilege
always is false and the skill does not request permanent/global agent privileges. It may modify its own md2wechat config or instruct the user to update MD2WECHAT_BASE_URL, but it does not request to alter other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install md2wechat - 安装完成后,直接呼叫该 Skill 的名称或使用
/md2wechat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.7
md2wechat 2.0.7
- Adds explicit intent routing between standard article drafts (`convert --draft`) and image-based posts (`create_image_post`) for correct publishing flows.
- Introduces clear rules: requests for 小绿书, 图文笔记, newspic, or image-first posts are routed to `create_image_post`, not `convert --draft`, even if Markdown content exists.
- Documents the usage of `--cover` (local path) vs `--cover-media-id` (reusable WeChat asset) in draft creation; clarifies they are not interchangeable with remote URLs.
- Expands discovery and provider inspection guidelines, including image model selection using `providers show <name> --json`.
- Strengthens agent and workflow guidance to enforce correct command family usage based on user intent.
v2.0.5
- Adds support for `inspect` and `preview` commands to check article readiness, metadata, and generate standalone HTML previews before conversion.
- Updates the workflow to recommend a confirm-first flow: `inspect` -> `preview` -> `convert` / `--draft`.
- Clarifies distinctions between `preview`, `convert --preview`, and upload/draft operations.
- Expands rules for draft behavior, flag handling, and preview/degraded confirmation flows.
- Improves guidance for handling errors (e.g., `45004` on draft creation) and metadata resolution steps.
v2.0.4
md2wechat 2.0.4
- Added documentation for `convert` command options: `-o`, `--title`, `--author`, and `--digest`.
- Clarified article metadata resolution order and field limits for title, author, and digest.
- Noted that creating a draft requires `--cover` and that digest is auto-generated if missing.
- No code or implementation changes; documentation updates only.
v2.0.3
**Expanded discovery and image generation features, improved config and workflow guidance.**
- Discovery-first approach: emphasizes inspecting providers, themes, and prompts via live CLI before using them.
- Updated and expanded command examples for conversion, image handling, draft creation, and writing/humanizing text.
- Enhanced configuration instructions: covers multiple config sources and recommends validation before critical actions.
- Encourages use of presets for cover and infographic images over manual prompt entry.
- Updated metadata to reflect full install options via brew and go, and clarified required binaries and environment variables.
- Added safety, config, and agent rules for transparent use and better error avoidance.
v2.0.2
- Removed internal runtime management and wrapper logic; now relies on md2wechat CLI already being installed and available on PATH.
- Removed references to the runtime lookup contract and related documentation.
- Cleaned up installer instructions; only fixed-version OpenClaw installer ensures both skill and CLI installation.
- Updated download metadata URLs to point to version 2.0.2 release assets.
- Removed references/runtime.md and scripts/run.sh files from the repository.
v2.0.1
- Updated all installation links in skill metadata to use version 2.0.1 resources.
- Documentation now clarifies that the runtime must match the skill version and mismatched runtimes will be rejected.
- Explicitly states that installing via `clawhub` does not provision the runtime—use fixed-version installers instead.
- Improved transparency about runtime lookup, boundaries, and required configuration.
- Workflow and usage instructions updated for clarity and accuracy.
v2.0.0
md2wechat 2.0.0 – Major update for OpenClaw integration and simplified references
- Refactored skill for OpenClaw platform integration, with metadata optimized for automatic installation and runtime lookup.
- Reduced internal reference files and consolidated runtime contract into a single document (`references/runtime.md`).
- Removed embedded documentation on style prompts, HTML guides, AI writing trace removal, and internal workflow; now relies on external runtime capabilities queries.
- Updated description and skill manifest: now focuses on Markdown-to-WeChat conversion, image generation (cover, infographic), and draft creation.
- Clarified environment variable usage (`WECHAT_APPID`, `WECHAT_SECRET`) and runtime boundaries—no silent downloads, fixed installer resources only.
- Added detailed workflow and recommended commands for both capability discovery and primary tasks.
v1.0.0
- Initial release of md2wechat skill.
- Converts Markdown articles to WeChat Official Account HTML with inline CSS.
- Supports fast API mode and beautiful themed AI mode (powered by Claude).
- Features include writer style assistant, AI writing trace removal (humanizer), and draft uploading.
- Integrates natural language prompts for image and article generation.
- Offers configurable writing styles and visual themes for conversion.
- Includes workflow checklist and detailed extraction/explanation steps for seamless publishing.
元数据
常见问题
md2wechat 是什么?
Convert Markdown to WeChat Official Account HTML, inspect supported providers/themes/prompts, generate article images, create drafts, write with creator styl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 946 次。
如何安装 md2wechat?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install md2wechat」即可一键安装,无需额外配置。
md2wechat 是免费的吗?
是的,md2wechat 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
md2wechat 支持哪些平台?
md2wechat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 md2wechat?
由 geekjourney(@geekjourneyx)开发并维护,当前版本 v2.0.7。
推荐 Skills