当前位置: 首页 > Skill >

SocialClaw - Social Claw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest

SocialClaw - Social Claw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest

2.0.4 2026.11.07 浏览:614
获取Skill文件查看使用说明
作者:沈川许可证:
本文目录展开

SocialClaw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest

SocialClaw is a workspace-scoped social publishing service at https://getsocialclaw.com.

What this skill is

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:

  • get or use a workspace API key
  • call the SocialClaw HTTP API
  • understand provider/account-type caveats
  • optionally use the separate socialclaw CLI if it is already installed

This 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:

  • connect or disconnect social accounts in a SocialClaw workspace
  • upload media and get SocialClaw-hosted delivery URLs
  • validate, preview, apply, or inspect scheduled posts and campaigns
  • inspect connected account capabilities, publish settings, actions, jobs, health, or analytics

Do not use this skill for editing the SocialClaw codebase itself. This bundle is for operating a deployed SocialClaw workspace.

Defaults

  • Base URL: https://getsocialclaw.com
  • Auth: workspace API key in Authorization: Bearer <key>
  • Preferred interface: socialclaw CLI when installed
  • Fallback interface: SocialClaw HTTP API

Runtime requirements

  • Required env: SC_API_KEY
  • Hosted base URL: https://getsocialclaw.com
  • Optional CLI: socialclaw (or social) if already installed
  • Workspace status: an active trial or paid plan is required for CLI/API execution through the workspace key

Optional CLI

SocialClaw 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:

  • store a workspace API key locally
  • start connection flows
  • upload assets
  • validate, preview, and apply schedules
  • inspect posts, runs, analytics, usage, and workspace health
  • install the packaged Claude Code command with socialclaw install --claude

The CLI is optional. This skill does not require it to function.

If the user explicitly wants the CLI and it is not installed yet:

npm install -g socialclaw

Quick start

If the user does not have a workspace API key yet:

open https://getsocialclaw.com/dashboard

Then tell them:

  • sign in with Google
  • open the API key section
  • create or copy their workspace API key

Set:

export SC_API_KEY="<workspace-key>"

If the CLI is installed, log in with it:

socialclaw login --api-key <workspace-key>

Otherwise validate the key over HTTP:

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/pricing
  • https://getsocialclaw.com/dashboard

Operating rules

  1. Start by confirming the user has a SocialClaw workspace API key.
  2. If the user does not have a key yet, send them to https://getsocialclaw.com/dashboard to sign in with Google and create one.
  3. A workspace API key alone is not sufficient for execution. If billing-related errors appear, route the user to pricing or dashboard billing instead of retrying commands.
  4. Never ask the user for provider app secrets. End users connect accounts inside SocialClaw.
  5. Prefer explicit provider/account-type language:
    • Facebook Pages, not Facebook personal profiles
    • Instagram Business linked to a Facebook Page
    • Instagram standalone professional accounts
    • LinkedIn profile and LinkedIn page are separate providers
    • Pinterest is board-centric; inspect capabilities/actions before assuming sections, catalogs, or advanced surfaces
  6. If a provider workflow is not supported, say so directly instead of inventing a workaround.
  7. Treat Pinterest product, collection, and idea surfaces as capability-gated or beta unless account capabilities/actions explicitly advertise them.
  8. Avoid echoing full API keys back into chat.

Main workflow

  1. Confirm the user has a workspace API key.
  2. If needed, direct the user to the dashboard to sign in with Google and create a key.
  3. Validate workspace access.
  4. List accounts or start a connection flow.
  5. Inspect capabilities/settings for the target account.
  6. Upload media if needed.
  7. Validate or preview the post/campaign.
  8. Apply it.
  9. Inspect posts, runs, analytics, or retry/reconcile if needed.

Essential examples

If the CLI is installed, prefer commands like these:

Store the workspace key:

socialclaw login --api-key <workspace-key>

Start a connection flow:

socialclaw accounts connect --provider youtube --open

Start a Pinterest OAuth connection:

socialclaw accounts connect --provider pinterest --open

Connect Telegram manually with a bot token and chat target:

socialclaw accounts connect --provider telegram --bot-token <bot-token> --chat-id @yourchannel --json

Connect Discord manually with a channel webhook URL:

socialclaw accounts connect --provider discord --webhook-url <discord-webhook-url> --json

List connected accounts:

socialclaw accounts list --json

Upload media:

socialclaw assets upload --file ./image.png --json

Validate a schedule:

socialclaw validate -f schedule.json --json

Apply a schedule:

socialclaw apply -f schedule.json --json

Install the Claude Code command:

socialclaw install --claude

Inspect a post:

socialclaw posts get --post-id <post-id> --json

Connection workflow

For browser-based account linking:

  • CLI:
    • socialclaw accounts connect --provider <provider> --open
    • then socialclaw accounts status --connection-id <id> --json
  • API:
    • POST /v1/connections/start
    • return the authorize URL to the user or open it if browser tools are available
    • poll GET /v1/connections/:connectionId

Supported providers:

  • x
  • facebook
  • instagram_business
  • instagram
  • linkedin
  • linkedin_page
  • pinterest
  • tiktok
  • discord
  • telegram
  • youtube
  • reddit
  • wordpress

Telegram and Discord are the exceptions to the browser-based OAuth flow.

Telegram is connected manually with:

  • a Telegram bot token
  • a target chat_id or @channelusername

For Telegram:

  • CLI:
    • socialclaw accounts connect --provider telegram --bot-token <token> --chat-id <@channel|chat_id> --json
  • API:
    • POST /v1/connections/start with {"provider":"telegram","botToken":"...","chatId":"..." }

Discord is connected manually with:

  • a Discord channel webhook URL

For Discord:

  • CLI:
    • socialclaw accounts connect --provider discord --webhook-url <discord-webhook-url> --json
  • API:
    • POST /v1/connections/start with {"provider":"discord","webhookUrl":"..." }

Read next

  • For HTTP fallback recipes, read references/workflows.md.
  • For the optional CLI and command examples, read references/cli.md.
  • For provider/account-type caveats, read references/providers.md.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,031
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,029
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,017
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,011
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,011
Skill 文件
  • SKILL.md
    • SocialClaw is a social media scheduling skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest
    • What this skill is
    • Defaults
    • Runtime requirements
    • Optional CLI
    • Quick start
    • Operating rules
    • Main workflow
    • Essential examples
    • Connection workflow
    • Read next
  • 项目或源文件

相关 Skill

更多
抖音趋势洞察 抖音趋势洞察 当用户需要做抖音趋势洞察、抖音趋势分析、热点观察、内容方向判断、趋势线索归纳或营销灵感整理时使用。面向内容运营、品牌调研和创作者。
全网作品数据抓取分析工具(抖音小红书视频号快手B站通用) 全网作品数据抓取分析工具(抖音小红书视频号快手B站通用) 抓取抖音、小红书、B站、快手、视频号五大平台作品数据(播放/点赞/评论/分享/收藏),完全免费,无需登录/API Key/付费。支持飞书多维表格同步。配置飞书请说配置飞书,抓取数据请直接给链接进行解析。
🎬 short-video — 短视频全域爆款内容生成器 🎬 short-video — 短视频全域爆款内容生成器 短视频全域爆款内容生成器。对标抖音、视频号、小红书、B站全平台流量创作逻辑,面向全平台短视频博主、自媒体达人、知识创作者、带货达人、内容运营,提供一站式自媒体全流程创作AI技能。涵盖多时长短视频完整脚本生成、视频全配套素材自动产出、流量配套文案生成、多创作风格自由切换、批量内容产出五大核心模块,文案接地气、口语化自然流畅,可直接对标拍摄剪辑使用。
短视频选题素材研究 短视频选题素材研究 当用户需要做短视频选题素材研究、短视频脚本素材、口播角度参考、开场钩子观察、竞品内容复盘、评论反馈整理或抖音/快手/小红书选题素材时使用。由社媒数据助手 SocialDataX 提供。
TikTok Content Creation Compliance TikTok Content Creation Compliance 依据TikTok Shop卖家大学官方指南,审查卖家及创作者推广内容的合规性。适用于AI代理需检查内容合规性的场景。