md2wechat Agent API markAgent API Docs
md2wechat Agent API markAgent API Docs
Homepage

Start

Markdown to WeChat API DocsQuickstartAuth

APIs

Integrations

Operations

ErrorsPricingContact
X (Twitter)

md2wechat-skill FAQ

A quick troubleshooting page for md2wechat-skill, organized by symptom and shortest fix path.

md2wechat-skill FAQ

This page does one thing only: it explains the most common issues in a fast symptom -> cause -> fix format.

If you have not started installation yet, begin with:

  • md2wechat-skill

Symptom 1: command not found: md2wechat

Cause

The skill was installed, but the CLI was not, or PATH was not refreshed.

Fix

brew install geekjourneyx/tap/md2wechat
md2wechat version --json

If you installed through install.sh, also run:

export PATH="$HOME/.local/bin:$PATH"

Symptom 2: npx skills add succeeded, but the agent still cannot use the tool

Cause

npx skills add installs only the skill, not the runtime.

Fix

Check:

command -v md2wechat
md2wechat version --json

If the first command prints nothing, the CLI is still not available.

Symptom 3: why did it default to API mode?

Cause

Because md2wechat convert defaults to API mode.

Fix

If you want AI mode explicitly:

md2wechat convert article.md --mode ai --theme autumn-warm

Symptom 4: why did AI mode not return final HTML?

Cause

AI mode is designed to return structured output for a second model step. It is not the same as direct API-to-HTML conversion.

Fix strategy

  • use API mode when you want stable direct HTML output
  • use --mode ai when you want the themed AI workflow

Symptom 5: Claudian cannot find the command, but Terminal can

Cause

Obsidian GUI processes often inherit a different PATH than Terminal.

Fix

In Claudian:

  • Settings
  • Environment
  • Custom variables

Add the CLI directory, for example:

PATH=/Users/your-name/.local/bin:existing-path

Symptom 6: OpenClaw still fails after installation

Cause

OpenClaw requires both the skill shell and the CLI in PATH.

Fix

Check both:

ls ~/.openclaw/skills/md2wechat/
command -v md2wechat

Both sides must be healthy.

Symptom 7: the agent does not know which themes or providers are available

Cause

Discovery was skipped.

Fix

Run:

md2wechat capabilities --json
md2wechat providers list --json
md2wechat themes list --json
md2wechat prompts list --kind image --json

Symptom 8: draft creation fails

Common causes

  • missing WeChat AppID
  • missing WeChat Secret
  • missing md2wechat.cn API key for API mode
  • missing cover image

Fix direction

Confirm that you already have:

  • WeChat AppID
  • WeChat Secret
  • API key
  • a valid cover image such as cover.jpg

Where should you go next?

  • for the main onboarding path: md2wechat-skill
  • for validation order and best practices: md2wechat-skill Guide
  • for runtime-specific pages: Coding Agents, Claudian, OpenClaw

Table of Contents

md2wechat-skill FAQ
Symptom 1: command not found: md2wechat
Cause
Fix
Symptom 2: npx skills add succeeded, but the agent still cannot use the tool
Cause
Fix
Symptom 3: why did it default to API mode?
Cause
Fix
Symptom 4: why did AI mode not return final HTML?
Cause
Fix strategy
Symptom 5: Claudian cannot find the command, but Terminal can
Cause
Fix
Symptom 6: OpenClaw still fails after installation
Cause
Fix
Symptom 7: the agent does not know which themes or providers are available
Cause
Fix
Symptom 8: draft creation fails
Common causes
Fix direction
Where should you go next?