← 返回 Skills 市场
ymz2012

微信公众号写作发布助手

作者 余明智 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
35
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install wechat-official-account-writer
功能描述
微信公众号写作发布助手 / WeChat Official Account Writer. 用于写公众号文章、微信公众号推文、技术长文、AI 热点解读、个人观点文、产品文章、教程文章和商业内容;支持选题策划、爆款标题、文章大纲、正文成稿、润色改写、链接翻译/链接改写、AI 资讯整理、Markdown/微信 HTM...
使用说明 (SKILL.md)

WeChat Official Account Writer

能完成什么

这个 skill 面向微信公众号创作者、技术博主、AI 资讯号、产品团队和内容运营,能把一个主题、一段素材、一个链接或一组 AI 热点整理成可发布的公众号草稿。

典型任务:

  • 从一句话主题生成公众号标题、大纲、正文和结尾。
  • 把英文/中文链接翻译、消化、重组为原创中文公众号文章。
  • 把 AI 新闻、AI HOT 条目、产品发布、技术资料改写成适合公众号阅读的内容。
  • 为技术文章生成架构图、流程图、系统图等正文插图方案。
  • 使用 image2/imagegen 生成封面图和正文插图,而不是静态 SVG 模板。
  • 输出微信安全 HTML 和上传 JSON,并调用内置上传器创建微信公众号草稿箱条目。
  • 做发布前检查,识别标题夸张、事实缺口、敏感表述、排版问题和读者理解断点。

Operating Principle

Produce publishable Chinese public-account drafts, not generic essays. Optimize for a clear reader promise, a strong opening, skimmable structure, concrete examples, restrained claims, useful images, and clean output that can be pasted into an editor or sent to the bundled WeChat draft uploader.

Default to Chinese unless the user asks otherwise. Preserve user-provided facts, names, product details, quotes, and constraints exactly. Do not invent data, endorsements, customer cases, policy claims, or source links.

Workflow

  1. Identify the article job:

    • From scratch: turn a topic or rough idea into titles, outline, and draft.
    • Material rewrite: transform notes, reports, transcripts, web pages, or bullet points into an article.
    • Link translation/rewrite: extract the source idea, translate only what is necessary, then reorganize into an original Chinese article with commentary.
    • Polish: improve an existing draft for clarity, flow, headline strength, and WeChat readability.
    • Illustrate: plan or generate a cover and body images.
    • Upload prep: produce the bundled wechat-article-workbench JSON format and run validation/draft commands when requested.
    • Review: find weak logic, risky claims, unsupported facts, tone problems, and publishing friction.
  2. Ask at most two clarifying questions only when missing information would materially change the article:

    • target readers
    • intended angle or goal
    • article length
    • brand/persona voice
    • hard facts or materials that must be used

    If the user wants momentum or gives enough context, make reasonable assumptions and state them briefly before drafting.

  3. Shape the article before writing:

    • Define one reader promise in one sentence.
    • Choose one primary angle, not a list of loosely related points.
    • Draft 8-12 title options when title ideation is requested or useful.
    • Build a section outline with each section answering one reader question.
  4. Write the draft:

    • Open with a concrete scene, contrast, recent change, or direct reader pain.
    • Avoid empty throat-clearing such as "在当今时代" and "随着互联网的发展".
    • Use short paragraphs, visible section headings, and examples.
    • Keep claims proportional to evidence.
    • End with a clear takeaway, question, checklist, or action, depending on the article type.
  5. Package for publishing:

    • Provide a final recommended title.
    • Provide 3-5 alternate titles when useful.
    • Provide a one-sentence summary or abstract if the user may need it.
    • Provide Markdown body unless the user asks for upload prep or draft-box upload.
    • For draft-box upload, provide or write WeChat-safe HTML JSON matching the bundled scripts/wechat-article-workbench uploader.
    • For draft-box upload, use image generation for the cover by default and save the final image to the local project before drafting.
    • For body images, use image generation whenever an illustration materially improves the article.
    • Add a "发布前检查" section only when doing review or when the article contains facts, sensitive claims, or business persuasion.

Image Generation

For draft-box upload, always generate a model-based cover image first. Use the imagegen skill/tool, which should route to the available image2/imagegen path. Save project-bound images under the bundled uploader's data/images/ directory and reference them from the generated article JSON.

Default assets:

  • Cover: one horizontal editorial image based on the article title, core argument, and emotional or technical theme. Avoid embedded title text unless the user explicitly asks for it; image text often renders poorly.
  • Body images: 1-3 generated images when they clarify the article. For technical topics, prefer polished architecture diagrams, workflow visuals, system maps, product scenes, timelines, or concept diagrams. For non-technical topics, prefer editorial illustrations or symbolic scenes that deepen the point.
  • Never use the local SVG/template cover generator as the default.

Read references/image-and-draft-upload.md before creating images or preparing draft-box upload.

Bundled Uploader

This skill includes a self-contained Node.js uploader at scripts/wechat-article-workbench. Use it when the user wants a real WeChat draft-box entry.

Setup is required once per installation:

  1. Run npm install in scripts/wechat-article-workbench.
  2. Copy config.example.env to .env.
  3. Fill WECHAT_APPID, WECHAT_APPSECRET, and short WECHAT_AUTHOR.
  4. Keep DRY_RUN=1 for the first validation run, then set DRY_RUN=0 to create real drafts.

If credentials are missing or the WeChat API/IP whitelist is not ready, still produce the article JSON and image files, then tell the user what setup is missing.

Reference Loading

Load only the reference needed for the task:

  • Read references/article-patterns.md for article structures, opening patterns, ending patterns, and title formulas.
  • Read references/output-checklist.md when polishing, reviewing, or doing a final publish-ready pass.
  • Read references/image-and-draft-upload.md when generating images, creating WeChat HTML JSON, using the bundled uploader, or turning links/manual topics into draft-box entries.

Quality Bar

Before finalizing, verify:

  • The headline matches the body and does not overpromise.
  • The first 200 Chinese characters make the reader know why to keep reading.
  • Each section advances the same central promise.
  • Concrete examples outweigh abstract adjectives.
  • Data, rankings, policy, medical, legal, financial, and competitor claims are either sourced by the user or clearly framed as assumptions.
  • The Markdown is clean and does not contain internal reasoning notes.
  • Upload JSON validates with the local schema before drafting.
  • Draft upload must not proceed without a real coverImagePath, unless the user explicitly enables the static fallback.
安全使用建议
Install only if you are comfortable running the bundled Node workbench and giving it WeChat Official Account credentials for draft creation. Keep DRY_RUN=1 until you have reviewed the generated JSON and image paths, confirm all uploaded images live under the project data/images folder, and decide explicitly whether rewritten link-based articles should include source attribution.
功能分析
Type: OpenClaw Skill Name: wechat-official-account-writer Version: 1.0.3 The skill bundle is a legitimate automation tool designed for WeChat Official Account content management. It provides a structured workflow for scraping web content, generating articles and images, and uploading drafts to the WeChat platform using official APIs (api.weixin.qq.com). The included Node.js workbench (scripts/wechat-article-workbench) uses standard, well-known dependencies like @mozilla/readability, sharp, and jsdom. No evidence of malicious intent, data exfiltration, or unauthorized command execution was found; the code is transparent, well-documented, and its high-risk capabilities (network access and credential handling) are strictly aligned with its stated purpose of article publishing.
能力标签
crypto
能力评估
Purpose & Capability
The stated purpose—writing Chinese WeChat Official Account articles, generating images, validating JSON, and creating WeChat draft-box entries—matches most artifacts and bundled code.
Instruction Scope
Some publishing instructions go beyond normal formatting by suppressing source/original-link attribution in generated WeChat content, which can create reader-trust, copyright, or provenance risk.
Install Mechanism
Registry metadata says there is no install spec, but the references require running npm install and bundled Node scripts. This is purpose-aligned but should be visible to users before installation.
Credentials
The workbench reads and writes local files and uploads local image paths to WeChat, but the code does not fully confine image paths or collected source IDs to the intended data folders.
Persistence & Privilege
The skill stores local source/generated/state files and uses WeChat AppID/AppSecret for real draft creation when DRY_RUN is disabled; this is expected for the uploader but under-declared in metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-official-account-writer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-official-account-writer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Add Chinese-first discovery copy describing article writing, link translation, AI news rewriting, image generation, technical diagrams, validation, and WeChat draft-box upload.
v1.0.2
Use Blob-backed file upload instead of explicit image read buffers to reduce false-positive exfiltration signals.
v1.0.1
Reduce scanner false positive by avoiding content reads for image cache hashing; keep WeChat draft upload behavior unchanged.
v1.0.0
Initial public release: Chinese WeChat Official Account writing workflow with image generation guidance and bundled WeChat draft-box uploader.
元数据
Slug wechat-official-account-writer
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

微信公众号写作发布助手 是什么?

微信公众号写作发布助手 / WeChat Official Account Writer. 用于写公众号文章、微信公众号推文、技术长文、AI 热点解读、个人观点文、产品文章、教程文章和商业内容;支持选题策划、爆款标题、文章大纲、正文成稿、润色改写、链接翻译/链接改写、AI 资讯整理、Markdown/微信 HTM... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 微信公众号写作发布助手?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-official-account-writer」即可一键安装,无需额外配置。

微信公众号写作发布助手 是免费的吗?

是的,微信公众号写作发布助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

微信公众号写作发布助手 支持哪些平台?

微信公众号写作发布助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 微信公众号写作发布助手?

由 余明智(@ymz2012)开发并维护,当前版本 v1.0.3。

💬 留言讨论