WeWrite is a workflow for creating and publishing WeChat public-account articles with an AI coding agent, covering topic selection, source gathering, drafting, review, optional illustrations, formatting, and draft delivery. It is for public-account writers who want to produce articles or adapt them for other platforms, and its catalogue entries provide the skills and plugin for running those workflow steps.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/imraywang/wewrite/wewrite-visualnpx skills add imraywang/wewrite --skill wewrite-visualgit clone --depth 1 https://github.com/imraywang/wewriteWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/imraywang/wewrite/wewrite-visual)<a href="https://agentmods.dev/skills/imraywang/wewrite/wewrite-visual"><img src="https://agentmods.dev/badge/skills/imraywang/wewrite/wewrite-visual.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00065 | $0.00736 |
| Opus 5 | $0.00032 | $0.00368 |
| Sonnet 5 | $0.00013 | $0.00147 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade A, and why
wewrite-visual scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
wewrite-visual — 封面与配图
前置
用户指定文章时使用该文件;否则 wewrite run show,读取当前任务的 artifacts.article、
artifacts.illustrated_article、artifacts.image_prompts、artifacts.images_manifest、
visual、flags 和任务目录。已完成的文章也可以直接配图,不要恢复或新建写作任务。
有任务时运行 wewrite run step visual in_progress。用户直接给了任务外文章时独立执行,
不写任务状态;提示词和图片放进文章同目录的 <文件名>-assets/,带图副本写成
<文件名>-illustrated.md。
根据本轮原话确定模式并用 wewrite run update 记录:只要封面用 cover,封面和必要内文图
用 full,只要提示词用 prompts。不要沿用写作模式猜测用户想生图。prompts 或
skip_image_gen=true 时仍要完成提示词,但不调用付费图片服务。
完整读取:
读取: {skill_dir}/references/visual-guide.md
执行
- 从终稿提取 3-5 个具体实体和文章主情绪,形成统一色板、构图与质感。
- 写一个封面提示词。
cover模式到此为止;full模式只为确实需要解释或缓冲阅读的 段落补图,不按固定数量凑图。 - 将提示词和目标路径写到
artifacts.image_prompts;批量清单写到artifacts.images_manifest。 - 数量必须不超过任务的
visual.max_images。调用时同时传入数量和费用上限:
wewrite image-gen --manifest {run_dir}/images.json --max-images {max_images} --max-cost {max_cost}
max_cost 为空时省略该参数。预算预检不通过就减少内文图,不能绕过上限。图片服务失败时
保留完整提示词并继续流程。
- 一次性检查所有实际文件:能打开、格式与扩展名一致、核心实体可辨、风格连贯。只重试
明显失败的单张一次。
full模式先复制原始正文到artifacts.illustrated_article,再把 采用的内文图插到副本相应段落;封面不插入正文。任何模式都不得覆盖原始正文。
完成后更新 images.cover、images.figures,再执行:
wewrite run step visual completed
只有提示词时同样标 completed,并明确说明未产生费用、没有实际图片。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 63 lines · 65 tokens per session scan A 7650c1891e81
wewrite-visual is a skill published in the GitHub repository imraywang/wewrite (3,230 stars, last pushed 4d ago), licensed MIT. It adds 65 tokens to every session and 736 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.
chengfeng-check-updates
剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.
infographic-template-updater
Update template catalogs and UI prompts after adding new infographic templates (src/templates/.ts), including SKILL.md template list, site gallery template mappings, and the AIPlayground prompt list.