Skip to content

feat: add Multi-Platform Publisher agent for Chinese content distribution#516

Open
lz-googlefycy wants to merge 1 commit into
msitarzewski:mainfrom
lz-googlefycy:feat/multi-platform-publisher
Open

feat: add Multi-Platform Publisher agent for Chinese content distribution#516
lz-googlefycy wants to merge 1 commit into
msitarzewski:mainfrom
lz-googlefycy:feat/multi-platform-publisher

Conversation

@lz-googlefycy
Copy link
Copy Markdown

Summary

Adds a new marketing agent Multi-Platform Publisher (📡 marketing-multi-platform-publisher.md) that orchestrates one-click publishing of a single Markdown article to 19+ Chinese content platforms — 知乎 / 小红书 / CSDN / B 站 (专栏 + 动态 + 视频) / 公众号 / 掘金 / 思否 / 博客园 / etc.

Why this agent

The existing marketing folder has excellent per-platform strategists (@zhihu-strategist, @bilibili-content-strategist, @xiaohongshu-specialist, @douyin-strategist, etc.), but no agent that coordinates multi-platform publishing end-to-end. Users currently have to:

  1. Manually invoke each strategist for content adaptation
  2. Copy-paste between platforms
  3. Find and use disparate publishing tools

This agent fills the gap as the conductor — routing one source draft through the right strategists for adaptation, then through the right tool for each target platform.

What it does

  • Platform fit analysis — refuses to publish mismatched content (e.g. consumer 种草 on 思否)
  • Per-platform adaptation — coordinates with the existing strategists for style rewrites
  • Toolchain orchestration — picks the right tool per platform:
  • Draft-first safety — never auto-publishes; always returns draft URLs for human review
  • Rate & risk control — enforces per-platform daily caps, inter-post jitter, image MD5 variation
  • Failure diagnosis — when something fails, leads with the diagnosis (token mismatch / port conflict / cookie expired / length overflow), not blind retry

Companion repository

A companion repo provides the full toolchain installer, OpenCode skill, end-to-end docs, and example workflows: https://github.com/lz-googlefycy/agency-blog-publisher

The agent in this PR is a self-contained marketing strategist — it works without the companion repo, but the companion repo provides scripts and documentation for users who want the full hands-off setup.

Compliance with CONTRIBUTING.md

  • ✅ Follows the ## 🧠 Identity & Memory / ## 🎯 Core Mission / etc. emoji-header structure
  • ✅ Includes services: frontmatter (Wechatsync / xhs-mcp / biliup, all free OSS)
  • ✅ Distinct personality (the "traffic conductor")
  • ✅ Concrete deliverables (parameter table, tool invocation templates, status report template)
  • ✅ Step-by-step workflow process
  • ✅ Quantitative success metrics
  • ✅ Advanced capabilities section

Testing

The agent has been tested in real usage:

  • Published technical drafts to 知乎 (account verified) + CSDN (account verified) + B 站专栏 (account verified) successfully
  • Wechatsync v2.0.9 build's missing 小红书 adapter is documented + handled via xhs-mcp fallback
  • Rate-control and length-validation rules pulled from each platform's actual constraints

Anything reviewers should look at?

  • The agent leans on platform-specific tooling (Wechatsync, xhs-mcp, biliup) which the user must install separately. The agent emits the exact install command if a tool is missing, but this is somewhat heavier than agents that only require generic LLM capabilities. Happy to adjust framing if reviewers prefer a more "tooling-agnostic" stance.
  • Agent description is in English; the rules tables include Chinese platform names (知乎, 小红书, etc.) since those are the actual targets. Let me know if you want a fully English version.

License

By submitting this PR, I confirm I'm fine with this contribution being licensed under whatever the upstream agency-agents repo uses (MIT per LICENSE).


Thanks for the awesome agent collection — really enjoyed building on top of it.

…tion

Adds a new orchestration agent that coordinates one-click publishing of a single
Markdown article to 19+ Chinese content platforms (知乎/CSDN/B站专栏/小红书/掘金/
公众号/思否/博客园/etc.) by routing to the appropriate tool for each:

- Wechatsync (main channel, 19+ platforms via Chrome extension cookie reuse)
- xiaohongshu-mcp (小红书 fallback)
- biliup (B站 video upload)
- bilibili-api-python (B站 dynamic posts)

The agent enforces draft-first publishing (never auto-publishes), platform-fit
analysis (refuses to publish content that doesn't match the target platform's
culture), per-platform length/format constraints, and rate-control rules.

Pairs with the upstream marketing strategists (zhihu-strategist,
bilibili-content-strategist, xiaohongshu-specialist, content-creator) to do
per-platform style adaptation before the actual sync.

Reference companion repo: https://github.com/lz-googlefycy/agency-blog-publisher
which provides the toolchain installer, OpenCode skill, and end-to-end docs.
Copilot AI review requested due to automatic review settings May 8, 2026 13:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new marketing agent definition that coordinates adapting and drafting a single Markdown article for publication across many Chinese content platforms, with a draft-first safety posture and toolchain guidance.

Changes:

  • Introduces Multi-Platform Publisher agent persona with platform-fit gating, per-platform adaptation routing, and draft-only publishing workflow.
  • Documents toolchain priority and invocation templates (Wechatsync, xiaohongshu-mcp, biliup, bilibili-api-python) plus a standardized reporting format.
  • Adds rate/risk-control rules and operational workflow steps for multi-platform distribution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +121 to +123
from bilibili_api import article, dynamic, Credential
credential = Credential(sessdata="...", bili_jct="...", buvid3="...")
# Cookies from F12 → Application → Cookies → bilibili.com
Comment on lines +104 to +110
**小红书 fallback (xhs-mcp)**:
```bash
xiaohongshu-mcp -headless=false & # start daemon
curl -X POST http://localhost:18060/api/v1/publish \
-H 'Content-Type: application/json' \
-d '{"title":"≤20 chars","content":"...","images":["/abs/img.jpg"],"tags":["..."],"is_original":true}'
```
│ wechatsync sync zhihu.md -p zhihu │
│ wechatsync sync bilibili.md -p bilibili │
│ wechatsync sync csdn.md -p csdn │
│ xhs-mcp publish xhs.md ← if xhs target │
@bensl84
Copy link
Copy Markdown

bensl84 commented May 20, 2026

Closing — this is my personal fork (bensl84/agency-agents). The canonical project lives at https://github.com/msitarzewski/agency-agents — please re-open your PR there. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants