📢
简介
自动化社交媒体发布工具,集成新闻聚合与品牌图文生成,支持定时多平台分发。
原始描述
Daily social media posting with NewsAPI for PayLessTax & LevelUpLove
通过你的 Agent 添加
安装目录:social-media-publisher/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
Claude Code~/.claude/skills/daily-social-media-publisher/
Codex CLI~/.codex/skills/daily-social-media-publisher/
DeepSeek Harness~/.agents/skills/daily-social-media-publisher/
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: social-media-publisher description: Daily social media posting with NewsAPI for PayLessTax & LevelUpLove version: 2.7.0 author: Migration from Agent Zero
Social Media Publisher Skill
Overview
Automated daily social media posting system that generates content using NewsAPI and UploadPost API with Templated.io image rendering.
Purpose
- Fetch industry news via NewsAPI
- Generate branded image posts using Templated.io
- Publish to social platforms via UploadPost API
- Schedule daily posts for LevelUpLove and PayLessTax
Input Variables
| Variable | Description | Example |
|---|---|---|
| NEWS_API_KEY | NewsAPI.org key | 92a8bbc150d... |
| UPLOADPOST_API_KEY | UploadPost API key | from uploadpost.json |
| TEMPLATED_IO_KEY | Templated.io API key | from templated_io.json |
| BRAND | Which brand to post | "paylesstax" or "leveluplove" |
| CONTENT_TYPE | Post type | "news" or "onerliner" |
| PLATFORM | Where to post | "instagram", "facebook", "twitter" |
Content Types
News-Based Posts
- Scrape latest news via NewsAPI (tax for PayLessTax, relationship for LevelUpLove)
- Summarize headline
- Generate image via Templated.io
- Post via UploadPost API
- Schedule next post
One-Liner Pool Posts
- Rotate through hand-written one-liners from JSON pool
- Quick generation, no external news fetch
- Fast turnaround for high-frequency posting
One-Liner Pools
PayLessTax Topics:
- Tax deadline reminders
- VAT compliance tips
- Penalty warnings
- Professional services CTA
LevelUpLove Topics:
- Dating advice
- Relationship tips
- Gaming/streaming culture
- Engagement questions
Triggers
Scheduled through OpenClaw:
- PayLessTax: Every 2 hours during business hours (06:00-18:00)
- LevelUpLove: Every 3 hours (09:00, 12:00, 15:00, 18:00, 21:00)
APIs & Dependencies
- NewsAPI.org: Fresh content headlines
- Templated.io: Image generation via templates
- UploadPost API: Social media publishing
- requests: HTTP client
- Pillow: Image manipulation (fallback)
Image Rendering Flow
- Select template from config (paylesstax_ig_post, leveluplove_ig_post)
- Replace text layer with news headline or one-liner
- Render to PNG via Templated.io
- Download and confirm
- Upload via UploadPost
Config Files Required
paylesstax_oneliners.json
[
"Miss the 2026 deadline? Penalties apply automatically.",
"VAT compliance made simple: We're the shortcut you need."
]
uploadpost.json
{
"api_key": "...",
"endpoint": "https://api.upload-post.com/api/upload_photos"
}
templated_io.json
{
"api_key": "...",
"templates": {
"paylesstax": {"template_id": "tpl_xxx"},
"leveluplove": {"template_id": "tpl_yyy"}
}
}
Output
{
"brand": "paylesstax",
"content_type": "news",
"headline": "SARS Extends Tax Deadline",
"image_url": "https://...",
"post_id": 12345,
"status": "published",
"scheduled_next": "2026-03-04T08:00:00"
}
Files
- index.py - Main posting logic
- onliners/paylesstax.json - One-liner pool
- onliners/leveluplove.json - One-liner pool
- config/uploadpost.example.json - Template config
- config/templated_io.example.json - Template config
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。