Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 86
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/x

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install X in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.