111 ndesv21

socialclaw Skill

当用户想通过 SocialClaw 为 AI 代理安排并发布社交媒体内容时使用,支持 X、LinkedIn、Instagram、Facebook 主页、TikTok、Discord、Telegram、YouTube、Reddit、WordPress 和 Pinterest。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(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

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 Codex how to:

  • get or use a workspace API key
  • call the SocialClaw HTTP API
  • understand provider and 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
  • 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

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

npm install -g socialclaw

For command details, read references/cli.md.

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 and 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 and actions before assuming sections, catalogs, or advanced surfaces
  1. If a provider workflow is not supported, say so directly instead of inventing a workaround.
  2. Treat Pinterest product, collection, and idea surfaces as capability-gated or beta unless account capabilities or actions explicitly advertise them.
  3. 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 and settings for the target account.
  6. Upload media if needed.
  7. Validate or preview the post or campaign.
  8. Apply it.
  9. Inspect posts, runs, analytics, or retry or reconcile if needed.

Read next