twitter-data-exportlisted
Install: claude install-skill Aditya923-c/xpoz-agent-skills
# Twitter Data Export
## Overview
Search and export Twitter/X data to CSV files for analysis. Supports keyword search, author-based search, date filtering, and bulk exports up to 500K rows — no Twitter API keys required.
## When to Use
Activate when the user asks:
- "Export tweets about [TOPIC] to CSV"
- "Download all tweets from @[USER]"
- "Get Twitter data for [KEYWORD] from last month"
- "I need a dataset of tweets about [TOPIC]"
- "Bulk download tweets matching [QUERY]"
- "Twitter data export"
## Setup & Authentication
Before fetching data, ensure Xpoz access is configured. Follow these checks in order.
### Check 1: Already authenticated?
**If you have MCP tools**, try calling any Xpoz tool (e.g., `checkAccessKeyStatus`). If it works → skip to Step 1.
**If you have the SDK**, try:
```python
from xpoz import XpozClient
client = XpozClient() # reads XPOZ_API_KEY env var
```
If this succeeds without error → skip to Step 1.
If neither works, you need to authenticate. Choose the path that fits your environment:
---
### Path A: MCP via mcporter (OpenClaw agents)
If `mcporter` is available:
```bash
mcporter call xpoz.checkAccessKeyStatus
```
If `hasAccessKey: true` → ready. If not:
```bash
mcporter config add xpoz https://mcp.xpoz.ai/mcp --auth oauth
```
Then authenticate — generate the OAuth URL and send it to the user:
**Step 1: Generate authorization URL**
```python
import secrets, hashlib, base64, urllib.parse, json, urllib.request, os
verifier = secrets.