X
Skill by danielmiessler
Runs X (Twitter) operations through the X API v2 and the xurl CLI. It covers posting tweets, threads and media, publishing X Articles, searching, fetching bookmarks, and looking up profiles and tweets.
Install X
Built from the published package, never by AI.
git clone --depth 1 https://github.com/danielmiessler/LifeOS /tmp/LifeOS && mkdir -p ~/.claude/skills && cp -r /tmp/LifeOS/LifeOS/install/skills/X ~/.claude/skills/xRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danielmiessler/LifeOS /tmp/LifeOS && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LifeOS/LifeOS/install/skills/X ~/.gemini/antigravity-cli/skills/xAntigravity 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
X is an agent skill that handles X (Twitter) operations through the X API v2 and the xurl CLI. It can post single tweets, threads and media, publish long-form X Articles, search recent tweets, fetch bookmarks, look up user profiles, and read tweets by ID or URL. It can also sweep new bookmarks into idea-issues with LifeOS Upgrade analysis.
The credentials and the OAuth 2.0 token store live in one place, so other skills can delegate their X work to it. Reads use an app-only bearer token, posting and media use OAuth 2.0 user context, and bookmarks use OAuth 2.0 PKCE. The skill states that nothing reaches the account without the principal's confirmation. It is meant for one person working with their own X account.
Written from the project's SKILL.md and checked against it.
What it can do
- PostPosts single tweets, threads and media after the principal confirms.
- ArticleDrafts long-form X Articles by default and publishes them with a flag.
- SearchSearches recent tweets on X.
- BookmarksFetches bookmarks using OAuth 2.0 PKCE.
- PullBookmarksSweeps new bookmarks into idea-issues with LifeOS Upgrade analysis.
- ProfileLooks up X user profiles.
- ReadReads tweets by ID or URL, including article and long-tweet text.
- xurlRuns quick X API calls through the official xurl CLI.
What you need
- X developer app with client ID and client secret
- X bearer token for read operations
- bun runtime
- xurl CLI
- Config file at LIFEOS/USER/CUSTOMIZATIONS/SKILLS/X/Config.md
Try asking
- Search X for recent posts about local AI models
- Fetch my X bookmarks and sweep new ones into ideas
- Look up the X profile for a given username
Good to know
- A published X Article cannot be edited or deleted through the API.
- Text over X's weighted 280-character limit is rejected, not cut.
- Media upload needs the media.write scope, and posting needs tweet.write.
- Not for posting the same content to several platforms or for bulk reads beyond the X API plan.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: LifeOS/install/skills/X/SKILL.md, LifeOS/install/skills/X/Tools/TwitterText.ts, LifeOS/install/skills/X/Tools/article.ts, LifeOS/install/skills/X/Tools/bookmark-issue.ts, LifeOS/install/skills/X/Tools/bookmarks.ts, LifeOS/install/skills/X/Tools/delete.ts, LifeOS/install/skills/X/Tools/media.ts, LifeOS/install/skills/X/Tools/post.ts, LifeOS/install/skills/X/Tools/profile.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
Intents/Bookmarks.md2 KB -
Intents/Post.md4 KB -
Intents/Profile.md827 B -
Intents/PullBookmarks.md12 KB -
Intents/Read.md2 KB
Show all 19 files
-
Intents/Search.md1 KB -
SKILL.md13 KB -
Setup.md8 KB -
Tools/TwitterText.ts3 KB -
Tools/article.ts28 KB -
Tools/bookmark-issue.ts16 KB -
Tools/bookmarks.ts13 KB -
Tools/delete.ts2 KB -
Tools/media.ts9 KB -
Tools/post.ts12 KB -
Tools/profile.ts3 KB -
Tools/read.ts4 KB -
Tools/search.ts3 KB -
Tools/x-client.ts25 KB
Alternatives to X
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
X: common questions
Can it edit or delete a published X Article?
Not through the API. X documents only the create draft and publish endpoints, so the skill defaults to drafts and treats publishing as one-way.
Does it post without asking first?
No. The skill says nothing reaches the account without the principal's confirmation, and a post is reported done only after it is read back.
Which auth mode does each X action use?
Posting, media, Articles and delete use OAuth 2.0 user context. Reads use an app-only bearer token, and bookmarks use OAuth 2.0 PKCE.
How do I install X?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is X free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is X safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. 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 X?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
