Research to WeChat
name: research-to-wechat
by clarezoe · published 2026-03-22
$ claw add gh:clarezoe/clarezoe-research-to-wechat---
name: research-to-wechat
description: A research-first content pipeline that turns a topic, notes, article, URL, or transcript into a sourced article with an evidence ledger, routed structure, polished Markdown, inline visuals, cover image, WeChat-ready HTML, browser-saved draft, and optional multi-platform distribution (小红书、即刻、播客、朋友圈). Use when the user wants 深度研究、改写成公众号、写作、排版、配图、HTML 转换、公众号草稿生成、多平台分发.
metadata:
openclaw:
emoji: "🔬"
homepage: "https://github.com/Fei2-Labs/skill-genie"
requires:
anyBins: ["python3"]
primaryEnv: "WECHAT_APPID"
version: "0.4.2"
category: "content-generation"
author: "Skill Genie"
license: "MIT"
---
# Research to WeChat
Use this skill as a research-first control plane. Do not duplicate downstream skill wording.
Core Rules
Operating Paths
Route the request into one of two paths:
use for: topic, keyword, question, notes, transcript, subtitle file
goal: build the article from a research brief and evidence ledger
use for: article text, markdown file, article URL, WeChat URL
goal: preserve the useful source core, then rebuild it for WeChat reading and distribution
Default routing:
Capability Aliases
Resolve capabilities through internal aliases, not vendor-style names:
Use the current alias map in [capability-map.md](references/capability-map.md).
Accepted Inputs
PDF policy:
Video policy:
Output
Create one workspace per article:
`research-to-wechat/YYYY-MM-DD-<slug>/`
Required assets:
Required frontmatter in final markdown:
Required records outside the article:
must capture: target reader, thesis, must-cover points, frame choice, and what cannot be dropped
must capture: verified facts, working inferences, open questions, and source notes
must capture: `pathMode`, `styleMode`, `structureFrame`, `sourceType`, `confidence`, `draftStatus`, and output paths
`manifest.json.outputs.wechat` must include: `markdown`, `html`, `cover_image`, `title`, `author`, `digest`, and `images`
optional platform fields (`xiaohongshu`, `jike`, `xiaoyuzhou`, `moments`) are added when Phase 8 runs
Script Directory
Determine this SKILL.md directory as `SKILL_DIR`, then use `${SKILL_DIR}/scripts/<name>`.
| Script | Purpose |
|--------|---------|
| `scripts/fetch_wechat_article.py` | WeChat article fetch (Python, simulates WeChat mobile UA) |
| `scripts/install-openclaw.sh` | OpenClaw skill installer (copies to `~/.openclaw/skills/`) |
Provenance Contract
The workflow must keep a compact evidence ledger throughout the run:
Default article disclosure should state:
Delivery Ladder
Resolve WeChat draft delivery in this order:
1. API draft when credentials and converter tooling are ready
2. automated browser draft when the worker can drive the editor safely
3. assisted browser draft when login or selectors need user help
4. manual handoff with exact file paths when automation fails
Style Resolution
Resolve style in this order:
1. explicit user instruction
2. preset mode
3. author mode
4. custom brief
Use the full style system in [style-engine.md](references/style-engine.md).
Execution
Run the article through these phases:
1. intake and route selection
2. source packet, brief, and strategic clarification
3. research architecture with structured question lattice (32+ questions across 4 cognitive layers)
4. research merge and evidence ledger
5. frame-routed master draft with full normalization checklist and writing framework self-check
6. refinement, image strategy, visual evaluation, and design selection
7. WeChat HTML rendering, draft upload, and manifest
8. (optional) multi-platform content generation and distribution
Phase 8 only executes when the user explicitly requests it (e.g., "多平台分发", "转小红书", "转即刻", "写朋友圈文案", "做播客脚本").
Use the execution contract in [execution-contract.md](references/execution-contract.md).
Use the design guide in [design-guide.md](references/design-guide.md) for article design selection.
Use the platform copy specs in [platform-copy.md](references/platform-copy.md) for Phase 8.
Done Condition
The skill is complete only when all of these hold:
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...