用于当用户想在 X、LinkedIn、Instagram、Facebook 页面、TikTok、Discord、Telegram、YouTube、Red... 等平台为 AI 代理安排和发布社交媒体内容。
SocialClaw is a workspace-scoped social publishing service at https://getsocialclaw.com.
This skill is an instruction layer for the hosted SocialClaw service.
It does not contain the SocialClaw backend or the provider integrations themselves. It teaches an OpenClaw-compatible agent how to:
socialclaw CLI if it is already installedThis skill can work without the CLI. The CLI is only an optional client for the same hosted service.
Use this skill when the user wants to:
Do not use this skill for editing the SocialClaw codebase itself. This bundle is for operating a deployed SocialClaw workspace.
https://getsocialclaw.comAuthorization: Bearer <key>socialclaw CLI when installedSC_API_KEYhttps://getsocialclaw.comsocialclaw (or social) if already installedSocialClaw also has a separate npm CLI package named socialclaw.
Prefer it when it is already installed or the user wants command-line examples. The CLI is a client for the hosted SocialClaw service. It can:
socialclaw install --claudeThe CLI is optional. This skill does not require it to function.
If the user explicitly wants the CLI and it is not installed yet:
bash
npm install -g socialclaw
If the user does not have a workspace API key yet:
bash
open https://getsocialclaw.com/dashboard
Then tell them:
Set:
bash
export SC_API_KEY="<workspace-key>"
If the CLI is installed, log in with it:
bash
socialclaw login --api-key <workspace-key>
Otherwise validate the key over HTTP:
bash
curl -sS \
-H "Authorization: Bearer $SC_API_KEY" \
"https://getsocialclaw.com/v1/keys/validate"
If execution fails with plan_required, subscription_inactive, subscription_past_due, subscription_paused, or subscription_canceled, direct the user to:
https://getsocialclaw.com/pricinghttps://getsocialclaw.com/dashboardhttps://getsocialclaw.com/dashboard to sign in with Google and create one.If the CLI is installed, prefer commands like these:
Store the workspace key:
bash
socialclaw login --api-key <workspace-key>
Start a connection flow:
bash
socialclaw accounts connect --provider youtube --open
Start a Pinterest OAuth connection:
bash
socialclaw accounts connect --provider pinterest --open
Connect Telegram manually with a bot token and chat target:
bash
socialclaw accounts connect --provider telegram --bot-token <bot-token> --chat-id @yourchannel --json
Connect Discord manually with a channel webhook URL:
bash
socialclaw accounts connect --provider discord --webhook-url <discord-webhook-url> --json
List connected accounts:
bash
socialclaw accounts list --json
Upload media:
bash
socialclaw assets upload --file ./image.png --json
Validate a schedule:
bash
socialclaw validate -f schedule.json --json
Apply a schedule:
bash
socialclaw apply -f schedule.json --json
Install the Claude Code command:
bash
socialclaw install --claude
Inspect a post:
bash
socialclaw posts get --post-id <post-id> --json
For browser-based account linking:
socialclaw accounts connect --provider <provider> --opensocialclaw accounts status --connection-id <id> --jsonPOST /v1/connections/startGET /v1/connections/:connectionIdSupported providers:
xfacebookinstagram_businessinstagramlinkedinlinkedin_pagepinteresttiktokdiscordtelegramyoutuberedditwordpressTelegram and Discord are the exceptions to the browser-based OAuth flow.
Telegram is connected manually with:
chat_id or @channelusernameFor Telegram:
socialclaw accounts connect --provider telegram --bot-token <token> --chat-id <@channel|chat_id> --jsonPOST /v1/connections/start with {"provider":"telegram","botToken":"...","chatId":"..." }Discord is connected manually with:
For Discord:
socialclaw accounts connect --provider discord --webhook-url <discord-webhook-url> --jsonPOST /v1/connections/start with {"provider":"discord","webhookUrl":"..." }