Social publisher

From aaione/everything-claude-code-zh · View interactive version

Social publisher is an AI agent skill from the GitHub repository aaione/everything-claude-code-zh. 通过 SocialClaw 进行智能体驱动的社交媒体帖子调度和发布,覆盖 13 个平台。当用户想要发布到 X、LinkedIn、Instagram、Facebook Pages、TikTok、Discord、Telegram、YouTube、Reddit、WordPress 或 Pinterest 时使用 — 或在管理活动、上传媒体或监控帖子交付状态时使用。

How to use this skill

Skill file

社交发布器(SocialClaw)

通过单一工作区 API 密钥将 Claude Code 连接到 SocialClaw,实现跨 13 个平台的智能体驱动社交媒体发布。

何时激活

设置

# 必需:从 https://getsocialclaw.com/dashboard 获取工作区 API 密钥
export SC_API_KEY="<workspace-key>"

# 验证访问
curl -sS -H "Authorization: Bearer $SC_API_KEY" https://getsocialclaw.com/v1/keys/validate

# 安装 CLI(可选但推荐)
npm install -g socialclaw@0.1.12
socialclaw login --api-key <workspace-key>

核心工作流

1. 列出已连接的账户

socialclaw accounts list --json

如果未连接:

socialclaw accounts connect --provider x --open
socialclaw accounts connect --provider linkedin --open

2. 上传媒体(可选)

socialclaw assets upload --file ./image.png --json
# → { "asset_id": "..." }

3. 构建 schedule.json

{
  "posts": [
    {
      "provider": "x",
      "account_id": "<account-id>",
      "text": "帖子文本",
      "scheduled_at": "2026-06-01T10:00:00Z"
    }
  ]
}

4. 发布前验证

socialclaw validate -f schedule.json --json

5. 发布

socialclaw apply -f schedule.json --json
# → { "run_id": "..." }

6. 监控

socialclaw status --run-id <run-id> --json
socialclaw posts list --json

支持的平台

| 平台 | 键名 |

|----------|-----|

| X(Twitter) | x |

| LinkedIn 个人主页 | linkedin |

| LinkedIn 公司页面 | linkedin_page |

| Instagram 商业版 | instagram_business |

| Instagram 独立版 | instagram |

| Facebook 页面 | facebook |

| TikTok | tiktok |

| YouTube | youtube |

| Reddit | reddit |

| WordPress | wordpress |

| Discord | discord |

| Telegram | telegram |

| Pinterest | pinterest |

安全

相关技能

来源

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.