AgentStack
SKILL verified MIT Self-run

Wechat Draft Publish

skill-danazd91-collab-wechat-mp-skills-wechat-draft-publish · by danazd91-collab

Publish finished article content into a WeChat Official Account draft box through a local bridge service. Use when the user says things like "把这篇发到公众号草稿箱", "帮我推到公众号草稿箱", "发布到微信公众号草稿箱", "把这篇文章存成公众号草稿", or asks to send a Markdown article into WeChat drafts.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-danazd91-collab-wechat-mp-skills-wechat-draft-publish

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Wechat Draft Publish? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

WeChat Draft Publish

Overview

Use this skill after the article content is already finalized and should be sent into a WeChat Official Account draft box.

Treat plain-language requests such as 把这篇发到公众号草稿箱, 帮我推到公众号草稿箱, and 把这个 Markdown 发到公众号草稿箱 as direct triggers.

Read [references/minimal-plan.md](references/minimal-plan.md) when you need the architecture, file layout, or request schema.

Workflow

  1. Confirm the article body is ready.
  • If the user says "这篇", infer the current article content or the file they most recently referenced.
  1. Confirm the payload has the minimum required fields:
  • title
  • article body
  • thumbMediaId or coverImagePath
  1. If the article is Markdown, convert it with the bundled converter instead of asking the user to do it manually.
  2. Check that the local bridge service is reachable at http://127.0.0.1:8787/health.
  3. Publish with:
powershell -ExecutionPolicy Bypass -File ".\scripts\publish-markdown-to-wechat-draft.ps1" `
  -MarkdownFile "D:\path\article.md" `
  -CoverImagePath "D:\path\cover.jpg" `
  -Theme "minimal"
  1. Return the mediaId, final title, and file path used for publishing.

Validation Rules

  • Do not publish if the article is unfinished.
  • Do not publish if neither thumbMediaId nor coverImagePath is available.
  • Stop and ask when the cover image is missing.
  • Prefer the first Markdown # heading as the title when no explicit title is passed.
  • Use the local scripts in this skill folder, not browser automation.
  • Prefer minimal as the default theme unless the user explicitly asks for a more formal, more narrative, or more编辑感的公众号排版。
  • When the Markdown includes :::intro, :::card, or :::quote, preserve those semantic blocks and let the selected theme render them.

Common Commands

Start the local bridge service:

powershell -ExecutionPolicy Bypass -File ".\scripts\start-wechat-draft-service.ps1"

Publish a Markdown article:

powershell -ExecutionPolicy Bypass -File ".\scripts\publish-markdown-to-wechat-draft.ps1" `
  -MarkdownFile "D:\path\article.md" `
  -CoverImagePath "D:\path\cover.jpg" `
  -Theme "minimal"

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.