md2wechat Agent API markmd2wechat Agent API
  • Docs
  • Themes
  • Editor
  • Blog
  • Pricing
  • Examples
  • Skills
  • Contact
How to Install and Use md2wechat-skill in OpenClaw
2026/03/21

How to Install and Use md2wechat-skill in OpenClaw

A complete OpenClaw guide for md2wechat-skill, covering the separate skill package, CLI runtime, ClawHub, validation, and the first successful task.

OpenClaw is where people most often mix up two different installation stories.

They install the skill shell and assume the runtime now exists.

That assumption is exactly what breaks the workflow.

The mental model that keeps OpenClaw sane

For OpenClaw, think about two separate pieces:

  • the OpenClaw skill shell
  • the md2wechat CLI runtime

You need both.

If one is present and the other is missing, the integration is still broken.

That is why OpenClaw should never be documented as if it were the same thing as the Claude Code or Codex path.

The fastest complete installation path

The most direct way to install the OpenClaw version is:

curl -fsSL https://github.com/geekjourneyx/md2wechat-skill/releases/download/v2.0.7/install-openclaw.sh | bash
export PATH="$HOME/.local/bin:$PATH"

That path exists for a reason: it is the easiest way to end up with both the skill package and the CLI runtime in a consistent version.

If you only want the CLI in your environment first and already have Node and npm, you can also run:

npm install -g @geekjourneyx/md2wechat

That installs only the CLI. It does not create the OpenClaw skill shell under ~/.openclaw/skills/md2wechat/.

The ClawHub path

If you already live in ClawHub, you can install the skill shell with:

npx clawhub@latest install md2wechat

That can be a good shell-level install path, but it does not guarantee that the md2wechat CLI is also available.

So after ClawHub, you still need to check:

command -v md2wechat

If there is no output, the runtime is still missing.

What to verify right after install

These checks should happen before any publishing task:

md2wechat version --json
md2wechat config init
md2wechat config validate
md2wechat capabilities --json
ls ~/.openclaw/skills/md2wechat/

That tells you:

  • the CLI is callable
  • config files can be initialized
  • discovery works
  • the skill shell exists where OpenClaw expects it

The first task worth running

Once verification is clean, start with a plain preview task:

md2wechat convert article.md --preview

Then move up to the more sensitive parts:

md2wechat convert article.md --draft --cover cover.jpg

That second step is where missing WeChat credentials or incomplete config usually surface.

The most common OpenClaw mistakes

1. Treating ClawHub install as the full story

It is not always the full story. It may install the shell without the runtime.

2. Debugging the wrong directory

The OpenClaw path is:

~/.openclaw/skills/md2wechat/

Do not debug ~/.claude/skills/ and assume the result applies to OpenClaw.

3. Forgetting that API mode is still the default

Even inside OpenClaw, convert defaults to API mode unless you explicitly pass --mode ai.

4. Expecting drafts to work without credentials

OpenClaw does not remove the need for:

  • WeChat AppID
  • WeChat Secret
  • usually an md2wechat.cn API key for API-mode workflows

A useful prompt for OpenClaw

If you want the agent to do the setup work, use:

Please install the OpenClaw version of md2wechat, verify the skill shell and CLI runtime, then run md2wechat capabilities --json before doing any conversion work.

That prompt forces the runtime checks to happen before the publishing promises.

Where to continue

  • OpenClaw
  • md2wechat-skill Guide
  • md2wechat-skill FAQ
All Posts

Author

avatar for geekjourney
geekjourney

Categories

  • Integration
The mental model that keeps OpenClaw saneThe fastest complete installation pathThe ClawHub pathWhat to verify right after installThe first task worth runningThe most common OpenClaw mistakes1. Treating ClawHub install as the full story2. Debugging the wrong directory3. Forgetting that API mode is still the default4. Expecting drafts to work without credentialsA useful prompt for OpenClawWhere to continue

More Posts

From Content Retrieval to WeChat Drafts: The Content Creation Toolchain I Design for AI Agents
Workflow

From Content Retrieval to WeChat Drafts: The Content Creation Toolchain I Design for AI Agents

A practical overview of the AI Agent content toolchain behind my projects: jina-cli for content retrieval, agents for topic selection and drafting, and md2wechat Agent API for formatting and sending content into WeChat drafts.

avatar for geekjourney
geekjourney
2026/03/22
How to Design an Agent Content Topic Selection Workflow
Workflow

How to Design an Agent Content Topic Selection Workflow

A practical guide to AI Agent topic selection workflows: why topic judgment matters more than drafting, what a topic workflow should output, how jina-cli supports source retrieval, and how the result connects to md2wechat publishing.

avatar for geekjourney
geekjourney
2026/03/26
Why Advanced Layout Improves the Product Value of md2wechat Agent API
API

Why Advanced Layout Improves the Product Value of md2wechat Agent API

Advanced layout modules do more than improve presentation. They make the API easier to understand, easier to integrate, and easier to position as a higher-value product.

avatar for geekjourney
geekjourney
2026/04/26

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

md2wechat Agent API markmd2wechat Agent API

The official md2wechat API, docs, CLI, and skill entry points for Markdown to WeChat publishing workflows.

GitHubX (Twitter)
Product
  • Quickstart
  • Themes
  • Pricing
  • Contact
Docs
  • Auth
  • OpenAPI
  • llms.txt
Ecosystem
  • Examples
  • Skills
  • md2wechat-lite
© 2026 md2wechat Agent API. All Rights Reserved.