social-publisher
affaan-m/ECC
使用 SocialClaw 在 13 个平台上安排和发布社交媒体帖子,该工具支持媒体文件上传、活动验证和发布监控。
...展开全部Social Publisher(SocialClaw)
将 Claude Code 与 SocialClaw 连接,通过单一工作区 API 密钥,实现跨 13 个平台的智能代理驱动型社交媒体发布。
何时启用
- 向 X、LinkedIn、Instagram、TikTok 或其他平台发布内容
- 一次性在多个平台上安排发布活动
- 上传用于社交媒体帖子的媒体素材
- 在内容发布前验证发布计划
- 监控发布运行状态和投放分析数据
设置
# 必填:来自 https://getsocialclaw.com/dashboard 的工作区 API 密钥
export SC_API_KEY=""
# 验证访问权限
printf 'header = "Authorization: Bearer %s"\n' "$SC_API_KEY" |
curl -sS -K - https://getsocialclaw.com/v1/keys/validate
# 安装 CLI(可选但推荐)
npm install -g [email protected]
socialclaw login --api-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": "",
"text": "在此处填写帖子内容",
"scheduled_at": "2026-06-01T10:00:00Z"
}
]
}
可选的 X/Twitter 证据包
在构建 X 发布计划之前,如果该活动依赖于实时受众信号(而非仅依赖草稿),请收集源数据包。
对于已在依赖策略中批准 TweetClaw 的 OpenClaw 用户,请将固定包用作独立的证据来源:
openclaw plugins install npm:@xquik/[email protected]
将其用于公开推文搜索、回复搜索、关注者导出、用户查询、媒体审查、监控或赠品活动证据收集。 将输出结果作为schedule.json 的研究输入;SocialClaw 仍负责验证、排程、发布及交付状态。请将 TweetClaw 凭据存储在其插件配置中,而非SC_API_KEY、排程文件或活动资源中。请勿将其安装为默认的 ECC 或 SocialClaw 依赖项。
4. 发布前进行验证
socialclaw validate -f schedule.json --json
5. 发布
socialclaw apply -f schedule.json --json
# → { "run_id": "..." }
6. 监控
socialclaw status --run-id --json
socialclaw posts list --json
支持的提供商
| 提供商 | 密钥 |
|---|---|
| X(Twitter) | x |
| 领英个人资料 | linkedin |
| 领英主页 | linkedin_page |
| Instagram 企业账号 | instagram_business |
| Instagram 独立应用 | instagram |
| Facebook 主页 | Facebook |
| TikTok | TikTok |
| YouTube | YouTube |
Reddit |
|
| WordPress | WordPress |
| Discord | Discord |
| Telegram | Telegram |
Pinterest |
安全
- 外发请求仅发送至
getsocialclaw.com - 提供商的 OAuth 凭据位于 SocialClaw 仪表盘中——代理不会暴露任何针对特定提供商的密钥
SC_API_KEY是一个工作区范围的密钥
相关技能
x-api— 直接调用 X/Twitter API 操作social-graph-ranker— 用于外联目标定位的社交网络分析TweetClaw— 在 SocialClaw 排程前,可选地提供经批准的 OpenClaw X/Twitter 数据源凭证
来源
- npm:
npm install -g [email protected] - 仪表盘:SocialClaw 仪表盘
---
name: social-publisher
description: Schedule and publish social media posts across 13 platforms using SocialClaw, with support for media uploads, campaign validation, and delivery monitoring.
---
# Social Publisher (SocialClaw)
Connects Claude Code to [SocialClaw](https://getsocialclaw.com) for agent-driven social media publishing across 13 platforms through a single workspace API key.
## When to Activate
- publish content to X, LinkedIn, Instagram, TikTok, or other platforms
- schedule a post campaign across multiple platforms at once
- upload media for use in social posts
- validate a post schedule before going live
- monitor publishing run status and delivery analytics
## Setup
```bash
# Required: workspace API key from https://getsocialclaw.com/dashboard
export SC_API_KEY="<workspace-key>"
# Verify access
printf 'header = "Authorization: Bearer %s"\n' "$SC_API_KEY" |
curl -sS -K - https://getsocialclaw.com/v1/keys/validate
# Install CLI (optional but recommended)
npm install -g [email protected]
socialclaw login --api-key <workspace-key>
```
## Core Workflow
### 1. List connected accounts
```bash
socialclaw accounts list --json
```
If not connected:
```bash
socialclaw accounts connect --provider x --open
socialclaw accounts connect --provider linkedin --open
```
### 2. Upload media (optional)
```bash
socialclaw assets upload --file ./image.png --json
# → { "asset_id": "..." }
```
### 3. Build schedule.json
```json
{
"posts": [
{
"provider": "x",
"account_id": "<account-id>",
"text": "Post text here",
"scheduled_at": "2026-06-01T10:00:00Z"
}
]
}
```
### Optional X/Twitter evidence packet
Before building an X schedule, collect a source packet when the campaign depends on live audience signals rather than the draft alone.
For OpenClaw users who have already approved TweetClaw in their dependency policy, use the pinned package as a separate evidence source:
```bash
openclaw plugins install npm:@xquik/[email protected]
```
Use it for public tweet search, reply search, follower export, user lookup, media review, monitors, or giveaway evidence. Keep the output as research input for `schedule.json`; SocialClaw remains responsible for validation, scheduling, publishing, and delivery status. Store TweetClaw credentials in its plugin config, not in `SC_API_KEY`, schedule files, or campaign assets. Do not install it as a default ECC or SocialClaw dependency.
### 4. Validate before publishing
```bash
socialclaw validate -f schedule.json --json
```
### 5. Publish
```bash
socialclaw apply -f schedule.json --json
# → { "run_id": "..." }
```
### 6. Monitor
```bash
socialclaw status --run-id <run-id> --json
socialclaw posts list --json
```
## Supported Providers
| Provider | Key |
|----------|-----|
| X (Twitter) | `x` |
| LinkedIn profile | `linkedin` |
| LinkedIn page | `linkedin_page` |
| Instagram Business | `instagram_business` |
| Instagram standalone | `instagram` |
| Facebook Page | `facebook` |
| TikTok | `tiktok` |
| YouTube | `youtube` |
| Reddit | `reddit` |
| WordPress | `wordpress` |
| Discord | `discord` |
| Telegram | `telegram` |
| Pinterest | `pinterest` |
## Security
- Outbound requests go to `getsocialclaw.com` only
- Provider OAuth is in the SocialClaw dashboard — no per-provider secrets exposed to the agent
- `SC_API_KEY` is a workspace-scoped key
## Related Skills
- `x-api` — direct X/Twitter API operations
- `social-graph-ranker` — network analysis for outreach targeting
- `TweetClaw` - optional approved OpenClaw X/Twitter source evidence before SocialClaw scheduling
## Source
- npm: `npm install -g [email protected]`
- Dashboard: [SocialClaw dashboard](https://getsocialclaw.com/dashboard)
所有文件
1 个文件安装 social-publisher
下载技能文件并将其解压到 .claude/skills/ 目录中。
下载ZIP克隆仓库并复制技能文件到您的项目中。
git clone https://github.com/affaan-m/ECC/tree/main/skills/social-publisher # Copy SKILL.md to your .claude/skills/ directory
复制





首页
