Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs.

MITAuto-check passedWriting & Content

Install X

skills CLI
$ npx skills add Anil-matcha/awesome-muse-connectors --skill x -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Anil-matcha/awesome-muse-connectors x --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Anil-matcha/awesome-muse-connectors.git skills-src && mkdir -p .claude/skills && cp -r skills-src/connectors/x .claude/skills/x && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
x
GitHub stars
1.3k
Token cost
~647 tokens
SKILL.md length
257 words
Files
2
Skills in repo
153
Repo updated
First seen
Licence
MIT

At a glance

Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs.

  • Works in 4 steps: post, like, dm, and delete are writes:… → Reading (auth, search) needs no… → X rate-limits by endpoint and tier; back… → …
  • Tasks that involve Social media posts
  • SKILL.md covers Purpose, Tooling, Auth and Operating Rules, plus 2 more sections
  • Runs Python scripts from its folder; reaches x.com and api.x.com

What it does

X is an agent skill from Anil-matcha/awesome-muse-connectors. Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs. Trigger phrases: x, twitter, tweet.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `bin/x.py`).

It sits in Writing & Content, covering Social media posts and Messaging and chat bots. It works with X (Twitter). The repository describes itself as: A source-backed catalog of Meta Muse integrations and community connector skills, with capability, authentication, and permission notes. The licence is MIT.

When your agent uses it

  • Tasks that involve Social media posts
  • Tasks that involve Messaging and chat bots

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. post, like, dm, and delete are writes: confirm the exact text and target with the user before running, unless standing permission exists.
  2. Reading (auth, search) needs no confirmation, but keep search usage modest: every search call is a billed read.
  3. X rate-limits by endpoint and tier; back off on 429s.
  4. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the key value.

What it can do on your machine

Read from SKILL.md and the folder at commit d6dc5d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • x.com
    • api.x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

X loads about 647 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 257 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~647

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Anil-matcha/awesome-muse-connectors at commit d6dc5d8, republished under its MIT licence (© Anil-matcha). 257 words, ~647 tokens.

Download SKILL.mdSave it as .claude/skills/x/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
x
description
Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs. Trigger phrases: x, twitter, tweet.
metadata.includeInPrompt
true
tagline
Post, search, like, DM. Note: no usable free read tier.
catalog_auth
OAuth2 PKCE (per-user; paid read access)
catalog_hosts
api.x.com

X

Purpose

Use the user's X account: post and delete tweets, search recent tweets, like tweets, and send DMs. Use when the user mentions X, Twitter, or tweets.

Tooling

All commands go through bin/x.py:

bash
bin/x.py auth                                     # verify the OAuth token
bin/x.py post --text "hello world"                # post a tweet
bin/x.py search --query "AI agents" --limit 10    # search recent tweets
bin/x.py like --tweet-id 1234567890              # like a tweet (resolves your user ID first)
bin/x.py dm --user-id 1234567890 --text "hello"  # send a DM
bin/x.py delete --tweet-id 1234567890            # delete a tweet

Liking a tweet needs your numeric user ID: the CLI resolves it via /2/users/me before calling /2/users/{id}/likes, so you never have to pass it yourself.

Auth

  • Provider id: x (credential is collected as custom.x)
  • Collection: provider OAuth (OAuth2 PKCE) via the secure credential flow (credentials.request_api_access); authorize URL https://x.com/i/oauth2/authorize, token URL https://api.x.com/2/oauth2/token
  • Required scopes: tweet.read, tweet.write, users.read, like.read, like.write, dm.read, dm.write, offline.access
  • Allowed hosts: api.x.com
  • Status check: bin/x.py auth (must return "ok": true)
  • Cost warning: X has no usable free read tier. The free tier is write-only (about 500 posts a month, about 100 reads a month). Anything beyond basic writes needs a paid tier or the newer pay-per-use pricing (roughly $0.005 per read, $0.01 per post), which is the sane path for a personal assistant. Post and delete stay cheap under either plan.

Operating Rules

  1. post, like, dm, and delete are writes: confirm the exact text and target with the user before running, unless standing permission exists.
  2. Reading (auth, search) needs no confirmation, but keep search usage modest: every search call is a billed read.
  3. X rate-limits by endpoint and tier; back off on 429s.
  4. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/x.py

Maturity

🧪 Draft: written from X's public API docs; not yet live-tested end-to-end.

© Anil-matcha, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in connectors/x of Anil-matcha/awesome-muse-connectors.

  • SKILL.md
  • bin/x.py

Open the folder on GitHubat commit d6dc5d8

Compare with similar skills

X next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

X compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
X this skillAnil-matcha/awesome-muse-connectors1.3k—~647Automated safety check: PassMIT
Twitter Automationaiskillstore/marketplace4301 repos~1kAutomated safety check: PassNone
Tweetclawjeremylongshore/tons-of-skills-marketplace2.8k—~1.7kAutomated safety check: PassMIT
Twitterrefly-ai/refly-skills204—~277Automated safety check: PassNone
Content CollectorvigorX777/content-collector-skill240—~2kAutomated safety check: PassNone
Twitter Monitorkangarooking/kangarooking-skills661—~798Automated safety check: PassNone

Similar skills

  • Twitter Automation

    aiskillstore/marketplace

    Automate Twitter/X with posting, engagement, and user management via inference.sh CLI.

    430 GitHub starsUsed in 1 repo~1k tokens
    Writing & ContentAuto-check passed
  • Tweetclaw

    jeremylongshore/tons-of-skills-marketplace

    X/Twitter automation plugin. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~1.7k tokensUpdated today
    Writing & ContentAuto-check passed
  • Twitter

    refly-ai/refly-skills

    Integrate with Twitter for social media management and engagement.

    204 GitHub stars~277 tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Content Collector

    vigorX777/content-collector-skill

    Collect social media content (X/Twitter, WeChat, Jike, Reddit, etc.) into Feishu bitable.

    240 GitHub stars~2k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Twitter Monitor

    kangarooking/kangarooking-skills

    Fetch recent posts from one or more X/Twitter accounts through twitterapi.io, output structured JSON/CSV records, optionally sync records to Feishu/Lark Bitable through feishu-cli, and optionally…

    661 GitHub stars~798 tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Browse X

    pc-style/x-md

    Reads public X (formerly Twitter) posts, threads, X Articles, profiles, followers, following, and search results as Markdown or JSON, with no X account and no API key.

    159 GitHub stars~733 tokensUpdated today
    Productivity & AutomationAuto-check passed

More from Anil-matcha/awesome-muse-connectors

All 153 skills in this repo
  • Airtable

    Anil-matcha/awesome-muse-connectors

    List Airtable bases, read table records, and add records. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~511 tokensUpdated 3 days ago
    Auto-check passed
  • Alphavantage

    Anil-matcha/awesome-muse-connectors

    Stock quotes and daily price history. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~517 tokensUpdated 3 days ago
    Auto-check passed
  • Amadeus

    Anil-matcha/awesome-muse-connectors

    Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates.

    1.3k GitHub stars~699 tokensUpdated 3 days ago
    Auto-check passed
  • Apollo

    Anil-matcha/awesome-muse-connectors

    Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies.

    1.3k GitHub stars~492 tokensUpdated 3 days ago
    Auto-check passed
  • Aqara

    Anil-matcha/awesome-muse-connectors

    Read and control Aqara smart home devices: plugs, switches, lights, AC, locks, curtains, scenes.

    1.3k GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Asana

    Anil-matcha/awesome-muse-connectors

    Read and manage Asana tasks: my tasks, task details, create tasks.

    1.3k GitHub stars~481 tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about X

What does X do?

Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs. X is an agent skill from Anil-matcha/awesome-muse-connectors. Read and write X: post and delete tweets, search recent tweets, like tweets, send DMs.

When should I use X?

X fits situations like: tasks that involve Social media posts; tasks that involve Messaging and chat bots.

How do I install X in Claude Code?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill x -a claude-code`. Or copy the skill folder (connectors/x in Anil-matcha/awesome-muse-connectors) into .claude/skills/x in your project. Claude Code loads it when a task matches its description.

How do I install X in Codex?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill x -a codex`. Or copy the skill folder (connectors/x in Anil-matcha/awesome-muse-connectors) into .agents/skills/x in your project. Codex loads it when a task matches its description.

Can I use X in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Anil-matcha/awesome-muse-connectors --skill x -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x, .gemini/skills/x, .github/skills/x and .opencode/skills/x in your project.

What does X need to run?

Going by SKILL.md and its folder, X needs Python for the scripts in its folder. Our summary lists: Python 3.

Does X access the network?

SKILL.md names 2 domains. In commands or code: x.com and api.x.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is X safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does X use?

X is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does X use?

About 647 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to X?

Skills that share tags, products or a category with X: Twitter Automation (aiskillstore/marketplace, 430 stars), Tweetclaw (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Twitter (refly-ai/refly-skills, 204 stars) and Content Collector (vigorX777/content-collector-skill, 240 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains X?

Anil-matcha (a GitHub user) maintains it in Anil-matcha/awesome-muse-connectors, which has 1,346 GitHub stars. The repository holds 153 skills in this directory. The repository was last updated on October 5, 2026.

Source: Anil-matcha/awesome-muse-connectors on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.