{
  "markdown": "<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/ndesv21/socialclaw/main/.github/readme/logo.png\" alt=\"SocialClaw logo\" width=\"112\">\n</p>\n\n<h1 align=\"center\">SocialClaw</h1>\n\n<p align=\"center\">\n  Social media scheduling CLI and OpenClaw skill for AI agents posting to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest.\n</p>\n\n<p align=\"center\">\n  <a href=\"https://getsocialclaw.com\"><strong>Official Website: getsocialclaw.com</strong></a> ·\n  <a href=\"https://getsocialclaw.com/dashboard\">Dashboard</a> ·\n  <a href=\"https://www.npmjs.com/package/socialclaw\">npm</a> ·\n  <a href=\"https://github.com/ndesv21/socialclaw/tree/main/skill\">Skill Bundle</a>\n</p>\n\n<p align=\"center\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/ndesv21/socialclaw/main/.github/readme/workflow-dark.png\">\n    <img src=\"https://raw.githubusercontent.com/ndesv21/socialclaw/main/.github/readme/workflow-light.png\" alt=\"SocialClaw turns prompts, workflows, and AI agents into scheduled publishing, retries, inspection, and analytics across social channels.\" width=\"100%\">\n  </picture>\n</p>\n\n**[getsocialclaw.com](https://getsocialclaw.com) is the official SocialClaw website** — the hosted dashboard, API, and account sign-up all live there.\n\nThis repo is the public home for:\n- the `socialclaw` npm CLI\n- the OpenClaw and ClawHub skill bundle\n- the Claude Code plugin and `/socialclaw` command asset\n- public usage docs, provider notes, and schedule examples\n\n## Install\n\n```bash\nnpm install -g socialclaw\nsocialclaw login\nsocialclaw accounts list --json\n```\n\n**Install as an AI agent skill** (Claude Code, Cursor, Cline, Codex, and more):\n\n```bash\nnpx skills add ndesv21/socialclaw\n```\n\n## What the CLI covers\n\n- workspace API key login and hosted dashboard bootstrap\n- browser OAuth connect plus manual Discord and Telegram connect\n- hosted asset upload and deletion\n- schedule validation, campaign preview, apply, inspect, clone, and draft publishing\n- post, run, attempt, analytics, job, usage, and health inspection\n- provider-side deletion for supported published posts\n- Claude Code command installation through `socialclaw install --claude`\n\n## CLI at a glance\n\n```bash\nsocialclaw login\nsocialclaw accounts list --json\nsocialclaw assets upload --file ./image.png --json\nsocialclaw validate -f schedule.json --json\nsocialclaw apply -f schedule.json --json\nsocialclaw posts delete --post-id <post-id> --json\n```\n\n<details>\n<summary>Current help surface</summary>\n\n```text\n____             _       _      ____ _\n/ ___|  ___   ___(_) __ _| |    / ___| | __ ___      __\n\\___ \\ / _ \\ / __| |/ _` | |   | |   | |/ _` \\ \\ /\\ / /\n ___) | (_) | (__| | (_| | |   | |___| | (_| |\\ V  V /\n|____/ \\___/ \\___|_|\\__,_|_|    \\____|_|\\__,_| \\_/\\_/\n\nsocialclaw login\nsocialclaw accounts list --json\nsocialclaw assets upload --file <path> --json\nsocialclaw campaigns preview -f <schedule.(yaml|yml|json)> --json\nsocialclaw validate -f <schedule.(yaml|yml|json)> --json\nsocialclaw apply -f <schedule.(yaml|yml|json)> --json\nsocialclaw posts get --post-id <id> --json\nsocialclaw posts delete --post-id <id> --json\nsocialclaw status --run-id <id> --json\nsocialclaw analytics post --post-id <id> --json\n```\n\n</details>\n\n## Watch the Demo\n\n<p align=\"center\">\n  <a href=\"https://www.youtube.com/watch?v=Biy8saQqf44\">\n    <img src=\"https://raw.githubusercontent.com/ndesv21/socialclaw/main/.github/readme/socialclaw-demo-poster.png\" alt=\"Watch the SocialClaw demo video\" width=\"820\">\n  </a>\n</p>\n\n<p align=\"center\">\n  <sub>Click the image to open the demo video.</sub>\n</p>\n\n## Built for Agent-Driven Publishing\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/ndesv21/socialclaw/main/.github/readme/agent-social-banner.jpg\" alt=\"SocialClaw connects AI agents to social publishing across major channels.\" width=\"100%\">\n</p>\n\n## Authentication and access\n\nRunning `socialclaw login` without an API key opens the hosted dashboard so the user can:\n\n- sign in with Google\n- connect social accounts\n- create or copy a workspace API key\n- activate a trial or paid plan for CLI and API access\n\nImportant:\n\n- the CLI works against a deployed SocialClaw workspace via API key auth\n- an API key alone is not enough for agent execution; the workspace must also have an active trial or paid plan\n- if a command returns `plan_required` or `subscription_*`, go to `https://getsocialclaw.com/pricing` or `https://getsocialclaw.com/dashboard`\n\n## Quick start\n\n```bash\nsocialclaw login\nsocialclaw login --api-key <workspace-key> --base-url https://getsocialclaw.com\nsocialclaw accounts list --json\nsocialclaw accounts capabilities --provider pinterest --json\nsocialclaw accounts connect --provider pinterest --open\nsocialclaw accounts connect --provider discord --webhook-url <webhook-url> --json\nsocialclaw accounts connect --provider telegram --bot-token <bot-token> --chat-id @yourchannel --json\nsocialclaw assets upload --file ./image.png --json\nsocialclaw campaigns preview -f schedule.json --json\nsocialclaw validate -f schedule.json --json\nsocialclaw apply -f schedule.json --json\nsocialclaw posts delete --post-id <post-id> --json\nsocialclaw workspace health --json\nsocialclaw usage --json\n```\n\n## Agent integrations\n\n### MCP server\n\nThe package ships a Model Context Protocol server. Any MCP client (Claude Code, Claude Desktop, Cursor, and others) gets 17 validation-first publishing tools over your connected workspace accounts: list accounts and capabilities, upload media, validate and preview schedules, apply with idempotency keys, publish drafts, and inspect posts, attempts, runs, analytics, usage, and health.\n\nClaude Code:\n\n```bash\nclaude mcp add socialclaw \\\n  --env SOCIALCLAW_API_KEY=sc_live_your_key \\\n  -- npx -y socialclaw mcp\n```\n\nClaude Desktop, Cursor, and other JSON-configured clients:\n\n```json\n{\n  \"mcpServers\": {\n    \"socialclaw\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"socialclaw\", \"mcp\"],\n      \"env\": {\n        \"SOCIALCLAW_API_KEY\": \"sc_live_your_key\"\n      }\n    }\n  }\n}\n```\n\nIf you have already run `socialclaw login --api-key <key>`, the server reuses the saved credentials and the `env` block is unnecessary. See [getsocialclaw.com/mcp](https://getsocialclaw.com/mcp) for the full tool list.\n\n### Claude Code plugin\n\nInstall the packaged Claude Code plugin from inside Claude Code:\n\n```shell\n/plugin marketplace add ndesv21/socialclaw\n/plugin install socialclaw@socialclaw\n```\n\nThis installs the marketplace plugin from [`skills/socialclaw/`](./skills/socialclaw) with metadata from [`.claude-plugin/`](./.claude-plugin). It is the cleanest option if you want Claude to auto-invoke SocialClaw when a user asks to connect accounts, upload media, schedule posts, inspect delivery, or check analytics.\n\n### Claude slash command and skill file\n\nIf you want the explicit `/socialclaw` command instead of the full plugin flow:\n\n```bash\nsocialclaw install --claude\n```\n\nThat installs the bundled command file from [`skill/claude/socialclaw.md`](./skill/claude/socialclaw.md) into `~/.claude/commands/socialclaw.md`.\n\nUse this path when you want a lightweight Claude Code setup that:\n- exposes one clear SocialClaw command\n- keeps the workspace API key flow explicit\n- still lets Claude use the same hosted SocialClaw API and CLI workflow\n\n### OpenClaw and ClawHub\n\nThe OpenClaw-compatible skill bundle lives in [`skill/`](./skill).\n\nIt is designed for OpenClaw and other compatible agent runtimes that can load a `SKILL.md`, work from a workspace API key, and call either:\n- the SocialClaw HTTP API directly\n- the `socialclaw` CLI as a client for the hosted service\n\nThis is the bundle to publish to ClawHub for OpenClaw discovery.\n\n### Other agents\n\nSocialClaw is not limited to one agent framework. The repo also includes an agent manifest in [`skill/agents/openai.yaml`](./skill/agents/openai.yaml), and the CLI works well for any runtime that can execute shell commands or make HTTP requests.\n\nThat makes SocialClaw a good fit for:\n- Codex and terminal-native agent workflows\n- Claude Code via plugin or command file\n- OpenClaw and ClawHub skills\n- custom internal agents that need one stable publishing surface for social channels\n\nIn practice, all of these share the same model:\n- connect customer accounts inside SocialClaw\n- create a workspace API key\n- upload media, validate, apply, inspect, analyze, and optionally delete supported posts through the hosted service\n\n## Supported providers\n\n- X\n- Facebook Pages\n- Instagram Business\n- Instagram standalone professional accounts\n- LinkedIn profile\n- LinkedIn page\n- Pinterest\n- TikTok\n- Discord\n- Telegram\n- YouTube\n- Reddit\n- WordPress\n\nPinterest is exposed as the `pinterest` provider in the public CLI and skill bundle. Its main publish target is board-centric, with support for standard pins, video pins, multi-image pins, board creation and section or catalog discovery, plus pin and account analytics. Product, collection, and idea surfaces should be treated as capability-gated or beta rather than assumed for every workspace.\n\nTikTok supports one video or one photo gallery per post. Photo galleries can include up to 35 images and expose `autoAddMusic` plus `photoCoverIndex`; selecting a specific TikTok song or sound is not available through TikTok's Content Posting API. For photo galleries, normalize images before upload, preferably to 1080x1920 JPEGs for vertical slides or another standard TikTok-compatible aspect/size. Oversized or unusual image dimensions may pass SocialClaw validation and initial TikTok acceptance, then fail later with `picture_size_check_failed`; reconcile photo posts after publish to confirm TikTok reports `PUBLISH_COMPLETE`.\n\n## Publishing\n\nBump the version with `npm version`:\n\n```bash\nnpm version patch\ngit push && git push --tags\nnpm publish --access public\n```\n\nTo sync reference files manually after editing `skill/references/`:\n\n```bash\nnpm run sync:references\n```\n\n## Notes\n\n- Users connect accounts inside the hosted SocialClaw dashboard.\n- The dashboard and API live at `https://getsocialclaw.com`.\n- The npm package ships the CLI, skill docs, Claude Code plugin, and command asset.\n",
  "bytes": 10223,
  "sha": "2cbdd2912e9c367100995e7ce2b61eaae81c907443193e829024aa0375337931",
  "repo_slug": "ndesv21/socialclaw",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_ndesv21_socialclaw_socialclaw_social_med_0dac10c9/readme"
}