content-distributor
多平台内容分发工具。用于在知乎、豆瓣、微博等中文平台发布内容。支持:(1) 发布帖子/文章 (2) 管理多平台账号 (3) 批量分发内容 (4) 追踪发布状态。触发词:发帖、发布、分发、知乎、豆瓣、微博、推广。
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- content-distributor
- description
- 多平台内容分发工具。用于在知乎、豆瓣、微博等中文平台发布内容。支持:(1) 发布帖子/文章 (2) 管理多平台账号 (3) 批量分发内容 (4) 追踪发布状态。触发词:发帖、发布、分发、知乎、豆瓣、微博、推广。
02 资源文件 11
- 参考文档_meta.json289 B
- 参考文档references/credentials.md3.0 KB
- 参考文档references/extending.md2.5 KB
- 参考文档references/templates.md1.5 KB
- 脚本scripts/configure.py4.3 KB
- 脚本scripts/distribute.py4.7 KB
- 脚本scripts/platforms/__init__.py748 B
- 脚本scripts/platforms/base.py2.8 KB
- 脚本scripts/platforms/douban.py5.1 KB
- 脚本scripts/platforms/zhihu.py5.6 KB
- 脚本scripts/post.py3.2 KB
03 SKILL.md 正文
Content Distributor
多平台内容分发系统,支持中文社交平台的自动化发布。
支持的平台
| 平台 | 发帖类型 | 状态 |
|---|---|---|
| 知乎 | 回答、文章、想法(纯文字) | ✅ 已实现 |
| 知乎 | 想法(带图片) | ⚠️ 需手动添加图片 |
| 豆瓣 | 日记、广播、小组帖 | ⚠️ 仅国内 IP |
| 微博 | 微博正文 | ? 待实现 |
快速开始
1. 查看内容模板
发布前可参考模板文件,也可根据需要自定义:
cat references/templates.md
2. 配置凭据
首次使用前,需要配置平台凭据:
python3 scripts/configure.py --platform zhihu
python3 scripts/configure.py --platform douban
凭据存储在 ~/clawd/secrets/content-distributor.json(不进 git)
3. 发布内容
知乎回答:
python3 scripts/post.py --platform zhihu --type answer \
--question-url "https://www.zhihu.com/question/123456" \
--content "你的回答内容"
知乎文章:
python3 scripts/post.py --platform zhihu --type article \
--title "文章标题" \
--content "文章正文"
豆瓣日记:
python3 scripts/post.py --platform douban --type diary \
--title "日记标题" \
--content "日记内容"
豆瓣小组帖:
python3 scripts/post.py --platform douban --type group \
--group-id "group_id_here" \
--title "帖子标题" \
--content "帖子内容"
4. 批量分发
将同一内容分发到多个平台:
python3 scripts/distribute.py \
--platforms zhihu,douban \
--title "AI下一帧:本周精选" \
--content-file content.md
凭据配置
每个平台的认证方式不同:
- 知乎: Cookie 认证(从浏览器获取)
- 豆瓣: Cookie 认证(从浏览器获取)
- 微博: Cookie 或 App Token
内容格式
- 支持 Markdown 格式(自动转换为平台格式)
- 支持从文件读取长文内容
- 自动处理平台字数限制
错误处理
- 凭据过期: 脚本会提示重新配置
- 发布频率限制: 自动等待或提示稍后重试
- 内容审核: 返回平台的审核状态
添加新平台
参考 references/extending.md 了解如何添加新平台支持。
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.