技能图谱SKILLSGROVE
技能图谱/短视频与自媒体/ndesv21/socialclaw/socialclaw

socialclaw

安装

$npx skills add https://github.com/ndesv21/socialclaw --skill socialclaw
$git clone --depth 1 https://github.com/ndesv21/socialclaw.git /tmp/socialclaw && mkdir -p ~/.claude/skills && cp -r /tmp/socialclaw/skills/hermes ~/.claude/skills/socialclaw
请帮我安装这个 Agent Skill:https://github.com/ndesv21/socialclaw/tree/2071b1046251633205e894e974202ca54a79278a/skills/hermes ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITSchedule and publish social media posts across X, LinkedIn, Instagram, Facebook Pages, TikTok, YouTube, Reddit, Pinterest, WordPress, Discord, and Telegram. Use when the user wants to post, schedule, or publish to social media, or check post status and analytics.
以下 SKILL.md 内容转载自 ndesv21/socialclaw(提交 2071b10),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 SocialClaw 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

SocialClaw

Schedule and publish social media posts through connected accounts using the hosted SocialClaw API. SocialClaw handles each network's OAuth, media rules, and publish logic, so this skill only needs a workspace API key.

When to Use

  • The user wants to post or schedule content to social media
  • The user wants to publish the same message to multiple platforms at once
  • The user wants to check whether a scheduled post succeeded
  • The user asks for post analytics

Supported Networks

X, LinkedIn (profile + page), Instagram (business + standalone), Facebook Pages, TikTok, YouTube, Reddit, Pinterest, WordPress, Discord, and Telegram.

Authentication

All requests go to https://getsocialclaw.com and send the workspace key:

Authorization: Bearer $SOCIALCLAW_API_KEY

Never hardcode the key — read it from the SOCIALCLAW_API_KEY environment variable.

Procedure

  1. List connected accounts to get an account id: GET /v1/accounts
  2. (optional) Check capabilities (media/text limits): GET /v1/accounts/{accountId}/capabilities
  3. (optional) Upload media: POST /v1/assets/upload with { filename, contentType, contentBase64 } → returns a hosted URL to use as media_link
  4. Validate before publishing (always): POST /v1/posts/validate with { schedule }
  5. Schedule or publish: POST /v1/posts/apply with { schedule }. Omit publish_at to publish immediately.
  6. Check status: GET /v1/posts/{postId}/attempts

Schedule document shape

{
  "timezone": "UTC",
  "posts": [
    {
      "account": "<accountId>",
      "name": "launch post",
      "description": "<the post text>",
      "publish_at": "2026-06-16T09:00:00Z",
      "media_link": "<optional hosted media URL>"
    }
  ]
}

Examples

List connected accounts:

curl -s https://getsocialclaw.com/v1/accounts \
  -H "Authorization: Bearer $SOCIALCLAW_API_KEY"

Validate, then schedule a post:

PAYLOAD='{"schedule":{"timezone":"UTC","posts":[{"account":"ACCOUNT_ID","name":"launch","description":"Hello from Hermes 🦅","publish_at":"2026-06-16T09:00:00Z"}]}}'

curl -s -X POST https://getsocialclaw.com/v1/posts/validate \
  -H "Authorization: Bearer $SOCIALCLAW_API_KEY" -H "Content-Type: application/json" -d "$PAYLOAD"

curl -s -X POST https://getsocialclaw.com/v1/posts/apply \
  -H "Authorization: Bearer $SOCIALCLAW_API_KEY" -H "Content-Type: application/json" -d "$PAYLOAD"

Alternative: hosted MCP or CLI

SocialClaw also exposes the same capabilities as tools:

  • MCP: connect to the hosted streamable-HTTP server at https://getsocialclaw.com/mcp with Authorization: Bearer $SOCIALCLAW_API_KEY.
  • CLI: npx -y socialclaw mcp (stdio MCP), or the socialclaw CLI after socialclaw login.

Network Calls

  • https://getsocialclaw.com — SocialClaw REST API and hosted MCP. This is the only host contacted.

Notes & Limitations

  • Always run validate before apply to catch provider-rule and media issues early.
  • Each network has its own media type, text length, and account-model rules; the capabilities endpoint reports them.
  • Publishing requires an active SocialClaw plan; listing tools/accounts works on a trial key.
  • Accounts are connected once in the SocialClaw dashboard; this skill does not perform per-network OAuth.
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 SocialClaw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.