social-cli
Skill by letta-ai
social-cli is a command line tool for posting, replying, reading feeds and searching on Bluesky and X. It uses YAML files and exit codes so AI agents and automation scripts can run sync, check and dispatch loops.
Install social-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/letta-ai/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/tools/social-cli ~/.claude/skills/social-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/letta-ai/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/tools/social-cli ~/.gemini/antigravity-cli/skills/social-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
social-cli is a command line tool for Bluesky (ATProto) and X (Twitter). It lets an agent post, reply, start threads, like, delete and follow, and read feeds, profiles and search results. Output is YAML, and exit codes signal success, invalid input or partial failure so scripts can react.
The main workflow is a sync, check and dispatch loop. Sync pulls notifications into inbox YAML files, the agent writes decisions to outbox files, and dispatch executes them and records results in a sent ledger to prevent duplicates. Bluesky also supports annotations on any URL using the at.margin.note lexicon. It suits agents and automation scripts that manage posts across Bluesky and X.
Written from the project's SKILL.md and checked against it.
What it can do
- post, reply, threadPublishes posts, replies and multi-post threads to Bluesky or X.
- like, delete, followHandles basic engagement actions on Bluesky and X posts and accounts.
- searchSearches posts on Bluesky or X and returns results as YAML.
- feedReads feeds, including custom Bluesky feeds and X home or user feeds.
- profile, whoami, rate-limitsShows profile details, the current account and API rate limit status.
- annotateAdds notes or highlights to any URL on Bluesky using at.margin.note.
- sync, check, dispatchRuns an agent loop that pulls notifications, checks them and sends outbox actions.
- Inbox and outbox filesStores notifications and agent decisions as YAML files in the working directory.
- Replay protectionRecords sent actions in a ledger so duplicate dispatches are avoided.
- Retries and session refreshRetries failed requests with backoff and refreshes expired Bluesky sessions.
What you need
- Node.js and pnpm to install and build from source
- Bluesky account handle and app password
- X API key, API secret, access token and access token secret
- X bearer token (optional, for app-only endpoints)
Try asking
- Check my inbox and reply to any Bluesky mentions.
- Post a thread about this article to Bluesky and X.
- Annotate https://example.com with a highlighted quote.
Good to know
- Annotations work on Bluesky only.
- X notifications include mentions only.
- Posts over 300 characters (Bluesky) or 280 (X) are rejected before the API call.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: tools/social-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to social-cli
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
social-cli: common questions
Which platforms does social-cli support?
It supports Bluesky (ATProto) and X (Twitter). Only credentials for the platforms you use are required.
How does social-cli avoid sending duplicate posts?
Dispatch appends each sent action to sent_ledger-{platform}.yaml, and sync deduplicates against that ledger. This prevents duplicate dispatch across runs.
What do the exit codes mean?
Exit code 0 means all actions succeeded, 1 means an invalid outbox or missing credentials, and 2 means partial failure. The check command exits 1 when nothing is actionable.
How do I install social-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is social-cli free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is social-cli safe to use?
It scores 54 of 100. Grades: maintenance B, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to social-cli?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
