← all repositories
imraywang/wewrite

WeChat's AI Ghostwriter That Studies Your Corrections

A Claude Code skill that turns a single sentence into a researched, formatted WeChat article and then studies your manual edits to sound less generic on the next draft.

2.8k stars Python Coding AssistantsAgents
wewrite
Velocity · 7d
+20
★ / day
Trend
accelerating
star history

What it does WeWrite is a skill plugin for Claude Code, OpenClaw, and Codex that automates the entire WeChat Official Account workflow. It scrapes hot topics from Weibo and Baidu, scores them for SEO, picks a writing framework, gathers real web sources, generates an article with AI images, applies one of 16 mobile-friendly themes with WeChat-specific CSS fixes, and pushes the result straight to your WeChat draft box. If you skip the API keys, it falls back to local HTML and image prompts instead of publishing.

The interesting bit The project treats “not sounding like AI” as a mechanical problem rather than a prompt-engineering hack. It injects 2–3 deliberate “edit anchors” into every draft—marked spots where you spend three minutes adding your own words—and runs a “learning flywheel” that analyzes your manual edits to update its style fingerprint for the next article.

Key highlights

  • Five built-in writing personas (from midnight-friend with first-person self-doubt to cold-analyst for finance) with tunable emotional arcs and data density.
  • Automatic WeChat compatibility repairs: inline CSS injection, CJK-Latin spacing, dark mode attributes, and converting blocked external links to numbered footnotes.
  • Markdown extensions for custom containers like :::dialogue, :::timeline, and :::callout that render to WeChat-safe HTML.
  • Style extraction from your past articles (SICO few-shot) and theme cloning from any existing WeChat post URL.
  • 11-point “humanness” quality check and self-diagnosis report you can trigger with a single command.

Caveats

  • Requires Chinese social media context; the hot-topic sources (Weibo, Toutiao, Baidu) and publishing target (WeChat) are tightly coupled to the mainland China ecosystem.
  • Codex support needs a manual rebuild step (build_codex.py) whenever the core skill file updates, since Codex lacks native SKILL.md auto-triggering.

Verdict Ideal for Chinese content creators running WeChat Official Accounts who want to automate production without surrendering their voice. If you don’t publish in Chinese or don’t use Claude Code/Codex, this is a very elaborate tool to borrow Markdown tricks from.

Frequently asked

What is imraywang/wewrite?
A Claude Code skill that turns a single sentence into a researched, formatted WeChat article and then studies your manual edits to sound less generic on the next draft.
Is wewrite open source?
Yes — imraywang/wewrite is open source, released under the MIT license.
What language is wewrite written in?
imraywang/wewrite is primarily written in Python.
How popular is wewrite?
imraywang/wewrite has 2.8k stars on GitHub and is currently accelerating.
Where can I find wewrite?
imraywang/wewrite is on GitHub at https://github.com/imraywang/wewrite.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.