💡 Summary
Super Publisher automates multi-platform content publishing for agents.
🎯 Target Audience
🤖 AI Roast: “Powerful, but the setup might scare off the impatient.”
Risk: Medium. Review: shell/CLI command execution; filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.
Super Publisher
Super Publisher 是一个专为 Agent 设计的插件,旨在实现自动化的多平台内容发布。
🌟 核心功能
Toutiao Publisher (skills/toutiao-publisher)
架构原理及最佳实践请参考skills/toutiao-publisher。
- 持久化登录:一次扫码,长期有效,自动管理 Session。
- 自动化发布:通过命令行或自然语言指令自动发布文章。
- 智能适配:自动优化标题长度,支持 Markdown 转 HTML。
- 无头模式:支持后台静默运行。
WeChat Sticker Maker (skills/wechat-sticker-maker)
- 智能切分:自动识别或指定网格布局(九宫格、十六宫格等),精准切分拼图。
- 规范适配:自动生成符合微信规范的 240x240 主图和 50x50 聊天页图标。
- AI 去底:内置
rembg智能去背功能,支持一键移除复杂背景(可选)。 - 元数据生成:自动生成含义词配置表 (
meta.txt) 和专辑信息模板 (info.txt),加速提交流程。
Grid Sticker Generator (skills/grid-sticker-generator)
- 通用生成:基于标准化的 4x4 网格视觉规范,生成无字、透底、矢量风格的网格图。
- 模板支持:内置“打工人”模板,支持加载不同主题的梗库和动作列表。
Sticker Factory (skills/sticker-factory)
详细文档请参考 skills/sticker-factory/README.md。
- 全流程编排:作为“工厂经理”,串联生成器和制作器。
- 一键交付:从自然语言需求("生成一套快乐小狗表情包")直接产出可提交的素材包。
GIF Maker (skills/gif-maker)
详细文档请参考 skills/gif-maker/README.md。
- 动图生成:支持从序列帧或网格图(Sprite Sheet)生成 GIF 动画。
- 智能压缩:专为表情包设计,支持
--max-size参数,自动将 GIF 压制在微信限制(1MB/500KB)以内。 - 参数灵活:支持自定义 FPS、布局切分及循环模式。
📂 项目结构
.
├── .claude-plugin/ # Claude 插件配置文件
├── skills/ # Agent Skills 目录
│ ├── gif-maker/ # [NEW] GIF 动图生成 Skill
│ ├── grid-sticker-generator/ # [NEW] 通用网格表情生成 Skill
│ ├── sticker-factory/ # [NEW] 表情包自动化工厂 Skill
│ ├── toutiao-publisher/ # 头条号发布 Skill
│ └── wechat-sticker-maker/ # 微信表情包制作 Skill
├── spec/ # 规范文档
│ └── Specification.md # Agent Skills 规范
└── template/ # 模板文件
└── SKILL.md # 新 Skill 创建模板
🚀 使用指南
安装插件
本插件遵循 Claude Plugin 规范,支持多种 Agent 环境加载。
1. Claude Code
在启动 Claude Code 之后,执行以下命令加载插件:
# 添加插件市场 /plugin marketplace add guanyang/super-publisher # 从市场安装插件 /plugin install super-publisher@super-publisher
2. Antigravity
执行以下命令配置skills目录下的能力:
# 创建.agent目录 mkdir -p /path/to/your/workspace/.agent/skills # 将skills目录复制到.agent/skills目录 cp -r skills/* /path/to/your/workspace/.agent/skills/
- 注意:请将
/path/to/your/workspace替换为你的工作区路径。
使用 Skill
加载插件后,你可以直接通过自然语言与 Claude 交互使用相关能力,例如:
"帮我把这篇文章发布到头条号" "检查头条号登录状态"
🛠 开发指南
创建新 Skill
- 复制
template/SKILL.md到skills/<new-skill-name>/SKILL.md。 - 按照
spec/Specification.md中的规范完善 Skill 定义。 - 在
skills/<new-skill-name>/目录下实现具体的脚本和逻辑。
规范参考
详细的 Agent Skills 格式规范请参考 spec/Specification.md。
📝 许可证
本项目遵循 MIT 许可证。
Pros
- Supports multiple platforms
- Automates content publishing
- User-friendly natural language interface
- Persistent login management
Cons
- Requires initial setup
- Limited to specific platforms
- Dependency on external services
- May need updates for new platform features
Related Skills
novel-writer-skills
A“This tool is like a writing coach that never sleeps—just don't expect it to write your novel for you!”
screen-creative-skills
A“Powerful, but the setup might scare off the impatient.”
payload
A“Payload's architecture may expose risks such as dependency vulnerabilities and potential CSRF attacks. Regular updates and using secure coding practices can mitigate these risks.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author guanyang.
