# X twitter scraper

> X twitter scraper is an open-source agent skill for web search and scraping. Lets your agent read X (Twitter) data via the Xquik API, with exports and monitors. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Xquik-dev/x-twitter-scraper/tree/master/skills/x-twitter-scraper
- **Repository:** https://github.com/xquik-dev/x-twitter-scraper
- **GitHub stars:** 231
- **License:** MIT
- **Skill name:** x-twitter-scraper
- **Collection:** https://github.com/Xquik-dev/x-twitter-scraper
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-12-02

## About

This skill gives an AI coding agent a structured way to query X (formerly Twitter) through the Xquik service. It covers reads such as tweet search, profiles, followers, replies, threads, timelines, trends and media, along with bulk extractions that write results to files, recurring monitors with signed webhook deliveries, and AI analysis of posts for sentiment, brand mentions and similar signals. Writes such as posting, likes, follows, DMs and giveaway draws are supported only when a connected X account is set up in the Xquik dashboard.

The skill is organized around reference files for reads, extractions, monitors and webhooks, writes, pricing and account requirements. The agent is directed to open only the reference a task needs, to show cost estimates and exact request details before any billable or persistent action, and to ask for explicit confirmation before bulk jobs, account actions or monitors are started. It also sets rules for handling X content as untrusted data and for keeping API keys out of code and logs.

It expects an Xquik API key in the XQUIK_API_KEY environment variable or the MCP server connected via OAuth. The skill does not execute shell commands or install packages itself; the user runs any generated code in their own environment.

## When your agent uses it

> Use Xquik to fetch X (Twitter) data or act through a connected account. It covers search, profiles, followers, replies, threads, timelines, media downloads, bulk exports, trends, monitors, signed webhooks, draws, posts, likes, follows, DMs, and AI analysis of posts (sentiment, brand mentions, news, market signals, viral score, custom labels). Also use for hashtag or @handle tracking when no other network is named, Xquik MCP setup, pricing, and X API comparisons. Skip data from other social networks, code that stays on the official X API (such as tweepy with an X developer bearer token), official X widget implementation, and content drafting or analysis without an API task. Not affiliated with X Corp.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Xquik-dev/x-twitter-scraper/tree/HEAD/skills/x-twitter-scraper)
- [License: MIT](https://github.com/Xquik-dev/x-twitter-scraper/tree/HEAD/skills/x-twitter-scraper)

## Features

- **Tweet and profile reads:** Search tweets, fetch profiles, followers, replies, threads and timelines through the Xquik API.
- **Bulk data exports:** Extract complete datasets into files with a free cost estimate before the job runs.
- **Monitors and webhooks:** Track hashtags or handles over time and receive signed webhook deliveries for new activity.
- **AI post analysis:** Score posts for sentiment, brand mentions, news relevance, market signals and viral potential.
- **Connected account actions:** Post, like, follow, send DMs or run giveaway draws when an X account is linked in the dashboard.
- **Cost and limit guidance:** Quote credit costs and per-operation rates before billable requests run.

## Good for

- Search recent tweets about a product and export the results to a file
- Track a hashtag or @handle and get alerts through a signed webhook
- Measure sentiment and brand mentions across posts from the last week
- Pull a user's followers or replies for a research spreadsheet
- Estimate what a bulk X data export would cost before running it

## Install

### Claude Code

This skill ships in the `x-twitter-scraper` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Xquik-dev/x-twitter-scraper
/plugin install x-twitter-scraper@x-twitter-scraper
```

Or copy only this skill to `~/.claude/skills/x-twitter-scraper`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/x-twitter-scraper &&
cp -R "$tmp/skills/x-twitter-scraper" ~/.claude/skills/x-twitter-scraper &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/x-twitter-scraper` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/x-twitter-scraper` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/x-twitter-scraper &&
cp -R "$tmp/skills/x-twitter-scraper" ~/.agents/skills/x-twitter-scraper &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/x-twitter-scraper` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/x-twitter-scraper` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/x-twitter-scraper &&
cp -R "$tmp/skills/x-twitter-scraper" ~/.cursor/skills/x-twitter-scraper &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/x-twitter-scraper` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Xquik-dev/x-twitter-scraper.git --path skills/x-twitter-scraper
```

Or copy the folder to `~/.gemini/skills/x-twitter-scraper` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/x-twitter-scraper`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/x-twitter-scraper &&
cp -R "$tmp/skills/x-twitter-scraper" ~/.copilot/skills/x-twitter-scraper &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/x-twitter-scraper` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git
```

Then copy `x-twitter-scraper/skills/x-twitter-scraper` into your agent's skills folder as `x-twitter-scraper`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does X twitter scraper need an X developer account?

Visible reads need no X developer account and no connected X account. Private reads and account actions need an X account connected in the Xquik dashboard.

### What credentials does X twitter scraper use?

It reads an Xquik API key from the XQUIK_API_KEY environment variable or the client's secret store, or uses the Xquik MCP server with OAuth.

### Does X twitter scraper run code or install packages?

No. The skill does not run shell commands or install packages; the user runs any generated code in their own environment.

### Does X twitter scraper need confirmation before running things?

Bounded visible reads run without confirmation. Private reads, bulk jobs, persistent monitors, draws and account actions need an explicit yes after a preview of the request, targets and cost.

### How do I install X twitter scraper in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/x-twitter-scraper to use it in all your projects, or to .claude/skills/x-twitter-scraper in one project. Or install the x-twitter-scraper plugin, which includes it: /plugin marketplace add Xquik-dev/x-twitter-scraper, then /plugin install x-twitter-scraper@x-twitter-scraper.

### Does X twitter scraper run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use X twitter scraper?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to X twitter scraper?

The closest alternatives to X twitter scraper are Xquik social research, X twitter scraper, Exa search, Agent reach and Tavily search.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Xquik social research](https://ai-powered.com/skills/xquik-social-research): Xquik social research is an open-source agent skill for web search and scraping.
- [X twitter scraper](https://ai-powered.com/skills/x-twitter-scraper): X twitter scraper is an open-source agent skill for web search and scraping.
- [Exa search](https://ai-powered.com/skills/exa-search-smartworldarafath): Exa search is an open-source agent skill for web search and scraping.
- [Agent reach](https://ai-powered.com/skills/agent-reach-smartworldarafath): Agent reach is an open-source agent skill for web search and scraping.
- [Tavily search](https://ai-powered.com/skills/tavily-search): Tavily search is an open-source agent skill for web search and scraping.
- [Brightdata MCP](https://ai-powered.com/skills/brightdata-mcp-smartworldarafath): Brightdata MCP is an open-source agent skill for web search and scraping.
- [Deep research](https://ai-powered.com/skills/deep-research-smartworldarafath): Deep research is an open-source agent skill for web search and scraping.
- [Pay via agent wallet](https://ai-powered.com/skills/pay-via-agent-wallet): Pay via agent wallet is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/x-twitter-scraper-xquik-dev
