One install. Any AI coding agent gets full Twitter/X superpowers. The official skills.sh skill — maintained by the twitterapi.io team — that teaches Claude Code, Cursor, GitHub Copilot, Cline, Codex, Gemini CLI, Amp, Antigravity, Windsurf, and 12+ other AI
$ npx -y skills add kaitoinfra/twitterapi-io --agent claude-code
What's inside
One install. Any AI coding agent gets full Twitter/X superpowers.
The official skills.sh skill — maintained by the twitterapi.io team — that teaches Claude Code, Cursor, GitHub Copilot, Cline, Codex, Gemini CLI, Amp, Antigravity, Windsurf, and 12+ other AI agents how to use the twitterapi.io REST API to read and write Twitter/X data.
npx skills add kaitoInfra/twitterapi-io
That's it. After install, your agent can scrape any tweet, user, follower list, search query, trend, X Space, community, or list — and post / reply / like / retweet / follow / DM through any account you control. No OAuth dance, no rate-limit cliff, no Elon-Musk-pricing.
| twitterapi.io | X official API | RapidAPI scrapers | |
|---|---|---|---|
| Pricing | $0.15 / 1k tweets, $0.18 / 1k profiles | $5,000–$42,000/month enterprise tiers; free tier is 10k posts/month | $20–$300/month subscriptions, mostly bait-and-switch |
| Auth | Single x-api-key header | OAuth 2.0 / OAuth 1.0a complexity | Mixed |
| Latency | ~700ms average | Slow | Slow + flaky |
| Throughput | 200 req/s per client | Tier-gated | Subscription-gated |
| Coverage | Reads + writes (post, like, follow, DM, schedule, communities, lists, spaces, real-time webhooks) | Reads + writes (with pricing pain) | Mostly read-only |
| Posting via others' accounts | Yes (via cookie session) | No | No |
| Real-time webhooks | Yes, server-side filter rules | Yes, very expensive | No |
| Onboarding to working code | 30 seconds | Days | Hours |
twitterapi.io is built for builders. We process 1,000,000+ API calls daily for indie hackers, growth teams, AI agents, research labs, and trading desks. Get your API key →
Once the skill is installed, just describe the task in plain English. The agent will read this skill, pick the right endpoint, handle pagination + cursor + auth + error retries, and ship working code:
from:openai since:2025-01-01 min_faves:5000 and export to CSV"login_cookies from your X account)from:elonmusk OR #AI and POST it to my webhook"login_cookies + proxy + action fieldshas_next_page (the reliable termination signal)data, others spread fields top-level)The skill is end-to-end validated against the live API — every code sample in SKILL.md has been smoke-tested against api.twitterapi.io.
export TWITTERAPI_IO_KEY="your_key_here"
/twitter/user_login_v2 to exchange them for a login_cookies session.That's all the agent needs.
.
├── README.md
└── skills/
└── twitterapi-io/
├── SKILL.md # Entry point — auth, patterns, quick-ref tables
└── references/
├── endpoints.md # Full endpoint catalog (per-endpoint param tables)
├── write-operations.md # Login flow + every write endpoint body
└── examples.md # Runnable Python/Node code for common workflows
The agent reads SKILL.md by default and only loads reference files when it needs the detail — keeping its context window small.
Reads (just x-api-key):
Writes (login_cookies + proxy from /twitter/user_login_v2):
Real-time:
| Operation | Price |
|---|---|
| Tweets (read) | $0.15 / 1,000 |
| User profiles (read) | $0.18 / 1,000 |
| Followers (read) | $0.15 / 1,000 |
| Search results | $0.15 / 1,000 tweets |
| Articles | ~$0.001 each |
| Write actions (post/like/follow) | ~$0.002–$0.003 each |
| Minimum charge | $0.00015 / request |
Discounted rates for students, research institutions, and high-volume accounts. Calculator + dashboard →
npx skills add kaitoInfra/twitterapi-io clones this repo into your project's agent paths:
.agents/skills/twitterapi-io/ for universal agents (Cursor, Codex, Cline, Copilot, Gemini CLI, Amp, Antigravity, etc. — 12+ supported).claude/skills/twitterapi-io/ for Claude Code.windsurf/skills/twitterapi-io/ for WindsurfSkills.sh handles per-IDE pathing automatically. To remove: npx skills remove kaitoInfra/twitterapi-io.
Works with any AI coding agent that loads SKILL.md or supports the Anthropic Skills format:
Found an endpoint where the docs say one thing and the API does another? Open an issue or PR. The skill is regenerated against the live backend regularly, so corrections land fast.
MIT — see LICENSE. Use freely, remix, ship products.
Built and maintained by the team behind twitterapi.io. If this skill saves you hours, a star ⭐ is the highest compliment.
.gitignore
LICENSE
README.md
skills/
twitterapi-io/
references/
endpoints.md
examples.md
write-operations.md
SKILL.mdFAQ
twitterapi-io is a Claude Code plugin with 1 hand-picked skill for ai & agents work, indexed on Flowy. Install it with the command on its page. It includes twitterapi-io. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.