⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
x-twitter-scraper
Use when the user needs public X/Twitter data without login: user profile lookup, recent timeline up to about 20 tweets, full tweet content including Note Tweet long-form, pinned tweet lookup, or JSON export. Trigger for check Twitter/X user, view recent tweets, scrape public X profile, and fetch a specific tweet. Not for full history timelines, authenticated/private content, or advanced search requiring login.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
x-twitter-scraper
X/Twitter public data scraper — no login required.
OpenClaw Skill — works with OpenClaw AI agents
What It Does
Scrapes public X/Twitter data using the GraphQL API with guest tokens — no account needed. Supports fetching user profiles, recent timelines (up to ~20 tweets), and full single-tweet content including Note Tweet long-form text. Outputs clean text or structured JSON.
Quick Start
openclaw skill install x-twitter-scraper
# Or:
git clone https://github.com/rrrrrredy/x-twitter-scraper.git ~/.openclaw/skills/x-twitter-scraper
Run dependency setup on first use:
bash scripts/setup.sh
pip install httpx -q
Features
- No login required: guest token authentication for public data
- User profiles: followers, following, bio, pinned tweets
- Timeline scraping: up to ~20 most recent tweets per user
- Full tweet content: includes Note Tweet long-form text
- JSON output: add
--jsonflag for structured data - Auto-updatable: GraphQL query IDs refreshable via setup script
- Hard stop protection: auto-stops after 3 consecutive failures
Usage
Trigger with natural language:
- "查 @elonmusk 的 X 主页"
- "看 @某人 最新推文"
- "获取这条推文的完整内容"
- "查 X 动态" / "看推特"
CLI examples:
python3 scripts/x_scraper.py profile _LuoFuli
python3 scripts/x_scraper.py timeline elonmusk --count 5
python3 scripts/x_scraper.py tweet 2034379957913129140
python3 scripts/x_scraper.py profile _LuoFuli --json
Project Structure
x-twitter-scraper/
├── SKILL.md # Skill definition and workflow
├── scripts/
│ ├── setup.sh # Dependency setup & query ID extraction
│ └── x_scraper.py # Main scraper CLI tool
├── references/
│ └── .gitkeep
└── .gitignore
Requirements
- OpenClaw agent runtime
- Python 3 with
httpx(pip install httpx) - Upstream proxy for X API access (set
X_PROXYenv var)
License
// HOW IT'S BUILT
KEY FILES