x-twitter-scraper

x-twitter-scraper is a skill for Claude Code, Codex from eric861129/SKILLS_All-in-one. It costs 117 tokens per session (7,203 once invoked), scanned A, original, MIT.

An integration guide for Xquik, a service that provides API and webhook access to data and actions on X, formerly called Twitter. It supports searching posts and users, extracting followers and engagement data, monitoring accounts, and handling some account actions.

In plain words
What is it for?
Use it to build X integrations for post searches, user lookups, follower extraction, trend monitoring, giveaway draws, webhooks, media downloads, and selected posting or engagement actions.
Why use it?
It gives a coding agent a defined way to connect to X data and automation without implementing each API request from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

Good fit Use it to build X integrations for post searches, user lookups, follower extraction, trend monitoring, giveaway draws, webhooks, media downloads, and selected posting or engagement actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eric861129/skills_all-in-one/x-twitter-scraper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add eric861129/SKILLS_All-in-one --skill x-twitter-scraper
Clone the repo
git clone --depth 1 https://github.com/eric861129/SKILLS_All-in-one

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-twitter-scraper

README.md
[![agentmods](https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/x-twitter-scraper/github.svg)](https://agentmods.dev/skills/eric861129/skills_all-in-one/x-twitter-scraper)
Your own site
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/x-twitter-scraper"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/x-twitter-scraper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-twitter-scraper

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric861129/skills_all-in-one/x-twitter-scraper"><img src="https://agentmods.dev/badge/skills/eric861129/skills_all-in-one/x-twitter-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.07203
Opus 5 $0.00059 $0.03601
Sonnet 5 $0.00023 $0.01441
Haiku 4.5 $0.00012 $0.00720

Measured 9d ago against content hash 235db422c20d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

x-twitter-scraper scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const csvResponse = await fetch(exportUrl, { headers });
public/SKILLS/Data & Analysis/x-twitter-scraper/SKILL.md · 528 lines

How it starts

The opening of the file, as written. The whole thing — 528 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Xquik API Integration

Xquik is an X (Twitter) real-time data platform providing a REST API, HMAC webhooks, and an MCP server for AI agents. It covers account monitoring, bulk data extraction (20 tools), giveaway draws, tweet/user lookups, media downloads, follow checks, trending topics, write actions (tweet, like, retweet, follow, DM, profile, media upload, communities), and Telegram integrations.

Quick Reference

Base URL https://xquik.com/api/v1
Auth x-api-key: xq_... header (64 hex chars after xq_ prefix)
MCP endpoint https://xquik.com/mcp (StreamableHTTP, same API key)
Rate limits 10 req/s sustained, 20 burst (API); 60 req/s sustained, 100 burst (general)
Pricing $20/month base (1 monitor included), $5/month per extra monitor
Quota Monthly usage cap. 402 when exhausted. Enable extra usage from dashboard for overage (tiered spending limits: $5/$7/$10/$15/$25)
Docs docs.xquik.com
HTTPS only Plain HTTP gets 301 redirect

Authentication

Every request requires an API key via the x-api-key header. Keys start with xq_ and are generated from the Xquik dashboard. The key is shown only once at creation; store it securely.

const API_KEY = "xq_YOUR_KEY_HERE";
const BASE = "https://xquik.com/api/v1";
const headers = { "x-api-key": API_KEY, "Content-Type": "application/json" };

For Python examples, see references/python-examples.md.

Choosing the Right Endpoint

Goal Endpoint Notes
Get a single tweet by ID/URL GET /x/tweets/{id} Full metrics: likes, retweets, views, bookmarks, author info
Search tweets by keyword/hashtag GET /x/tweets/search?q=... Tweet info with optional engagement metrics (likeCount, retweetCount, replyCount)
Get a user profile GET /x/users/{username} Name, bio, follower/following counts, profile picture, location, created date, statuses count
Check follow relationship GET /x/followers/check?source=A&target=B Both directions
Get trending topics GET /trends?woeid=1 Regional trends by WOEID. Metered
Get radar (trending news) GET /radar?source=hacker_news Free, 7 sources: Google Trends, Hacker News, Polymarket, TrustMRR, Wikipedia, GitHub, Reddit
Monitor an X account POST /monitors Track tweets, replies, quotes, retweets, follower changes
Update monitor event types PATCH /monitors/{id} Change subscribed events or pause/resume
Poll for events GET /events Cursor-paginated, filter by monitorId/eventType
Receive events in real time POST /webhooks HMAC-signed delivery to your HTTPS endpoint
Update webhook PATCH /webhooks/{id} Change URL, event types, or pause/resume
Run a giveaway draw POST /draws Pick random winners from tweet replies
Download tweet media POST /x/media/download Single (tweetInput) or bulk (tweetIds[], up to 50). Returns gallery URL. First download metered, cached free
Extract bulk data POST /extractions 20 tool types, always estimate cost first
Check account/usage GET /account Plan status, monitors, usage percent
Link your X identity PUT /account/x-identity Required for own-account detection in style analysis
Analyze tweet style POST /styles Cache recent tweets for style reference
Save custom style PUT /styles/{username} Save custom style from tweet texts (free)
Get cached style GET /styles/{username} Retrieve previously cached tweet style
Compare styles GET /styles/compare?username1=A&username2=B Side-by-side comparison of two cached styles
Get tweet performance GET /styles/{username}/performance Live engagement metrics for cached tweets
Save a tweet draft POST /drafts Store drafts for later
List/manage drafts GET /drafts, DELETE /drafts/{id} Retrieve and delete saved drafts
Compose a tweet POST /compose 3-step workflow (compose, refine, score). Free, algorithm-backed
Connect an X account POST /x/accounts Credentials encrypted at rest. Required for write actions
List connected accounts GET /x/accounts Free
Re-authenticate account POST /x/accounts/{id}/reauth When session expires
Post a tweet POST /x/tweets From a connected account. Supports replies, media, note tweets, communities
Delete a tweet DELETE /x/tweets/{id} Must own the tweet via connected account
Like / Unlike a tweet POST / DELETE /x/tweets/{id}/like Metered
Retweet POST /x/tweets/{id}/retweet Metered
Follow / Unfollow a user POST / DELETE /x/users/{id}/follow Metered
Send a DM POST /x/dm/{userId} Text, media, reply to message
Update profile PATCH /x/profile Name, bio, location, URL
Upload media POST /x/media FormData. Returns media ID for tweet attachment
Community actions POST /x/communities, POST /x/communities/{id}/join Create, delete, join, leave
Create Telegram integration POST /integrations Receive monitor events in Telegram. Free
Manage integrations GET /integrations, PATCH /integrations/{id} List, update, delete, test, deliveries. Free

Read the full file on GitHub · 528 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 528 lines · 117 tokens per session scan A 235db422c20d

Subscribe to this mod's changes

x-twitter-scraper is a skill published in the GitHub repository eric861129/SKILLS_All-in-one (52 stars, last pushed 4mo ago), licensed MIT. It adds 117 tokens to every session and 7,203 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

architect

This skill should be used when the user asks to "design system architecture", "evaluate microservices vs monolith", "create architecture diagrams", "analyze dependencies", "choose a database", "plan for scalability", "make technical decisions", or "review system design".

Joncik91/ucai · 56 tokens

backend

This skill should be used when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs".

Joncik91/ucai · 54 tokens

apache-kafka-knowledge-patch

Use this skill when upgrading, configuring, extending, or operating Apache Kafka and its clients, Kafka Streams, Kafka Connect, MirrorMaker, KRaft, share groups, or tiered storage. Inspect the project's actual broker, client, metadata, and Java versions before applying version-dependent advice.

Nevaberry/nevaberry-plugins · 10 tokens

authjs-knowledge-patch

Use this patch to choose the maintained authentication path, avoid security-sensitive provider mistakes, and apply current Auth.js integration patterns. Read the topic reference before changing an affected flow; the quick reference prioritizes breaking behavior, security updates, and common implementation work.

Nevaberry/nevaberry-plugins · 9 tokens

better-auth-knowledge-patch

Use this skill when implementing, upgrading, debugging, or reviewing Better Auth applications. Start with the quick references below, then load the topic file that matches the task.

Nevaberry/nevaberry-plugins · 9 tokens

clerk-knowledge-patch

Use this guide when implementing, upgrading, or debugging Clerk authentication, authorization, Organizations, Billing, SDKs, components, or deployment architecture. Start with the migration notes, then open the matching reference.

Nevaberry/nevaberry-plugins · 9 tokens