xfetch
Use xfetch CLI to fetch X/Twitter data - tweets, user profiles, search results, timelines, lists, DMs, and notifications. Use this skill whenever you need to retrieve any data from X/Twitter, whether the user asks to "get tweets", "look up a Twitter user", "search X for...", "check my timeline", "fetch bookmarks", "read DMs", or any variation involving X/Twitter data retrieval. Also use when the user pastes a tweet URL and wants its content, or asks to export Twitter data to CSV/JSON/SQLite.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/feiskyer/xfetchxfetch - X/Twitter CLI Data Fetcher
xfetch is a cookie-based X/Twitter scraper CLI. It requires no API keys - just browser cookies for authentication. It's installed globally as xfetch (or can be run via npx @lxgic/xfetch / bunx @lxgic/xfetch).
Prerequisites
Authentication must be set up first. Check with:
xfetch auth check
If not authenticated, extract cookies from the user's browser:
xfetch auth extract --browser chrome # or firefox, safari, arc, brave
xfetch auth extract --browser chrome --profile "Profile 1" # specific profile
Or set tokens directly:
xfetch auth set --auth-token <token> --ct0 <token>
Command Reference
Single Tweet
Accepts a tweet URL or numeric ID:
xfetch tweet https://x.com/user/status/123456789
xfetch tweet 123456789
Also works with X Article URLs (/article/ID).
User Profile
xfetch user @handle # by handle (@ is optional)
xfetch user 12345678 # by numeric ID
User Tweets
xfetch tweets @handle # latest 20 tweets
xfetch tweets @handle -n 50 # 50 per page
xfetch tweets @handle --replies # include replies
xfetch tweets @handle --all # all pages (paginated)
xfetch tweets @handle --max-pages 5 # limit to 5 pages
Thread / Conversation
xfetch thread <url-or-id> # full conversation thread
Search
xfetch search "query" # top results
xfetch search "query" --type latest # latest tweets
xfetch search "query" --type people # user results
xfetch search "query" --type photos # photo tweets
xfetch search "query" --type videos # video tweets
xfetch search "from:handle since:2024-01-01" # advanced operators
xfetch search "query" -n 100 --all # all pages
Search types: top (default), latest, people, photos, videos.
Timelines
xfetch home # algorithmic home timeline
xfetch home --following # chronological (following only)
xfetch bookmarks # your bookmarks
xfetch likes @handle # user's liked tweets
Followers / Following
xfetch followers @handle -n 100
xfetch following @handle -n 100
Lists
xfetch lists @handle # user's lists
xfetch list <list-id-or-url> # list details
xfetch list-members <list-id-or-url> # list members
xfetch list-tweets <list-id-or-url> -n 50 # list timeline
Direct Messages
xfetch dms # inbox overview
xfetch dms inbox # same as above
xfetch dms conversation <conversation_id> # messages in a conversation
xfetch dms <conversation_id> # shortcut for above
Notifications
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-feiskyer-xfetch": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
nanobanana-skill
Generate or edit images using Google Gemini API via nanobanana. Triggers: "nanobanana", "generate image", "create image", "edit image", "AI drawing", "图片生成", "AI绘图", "图片编辑", "生成图片".
codex-skill
Use when user asks to leverage codex, gpt-5, or gpt-5.1 to implement something (usually implement a plan or feature designed by Claude). Provides non-interactive automation mode for hands-off task execution without approval prompts.
autonomous-skill
Use when user wants to execute long-running tasks that require multiple sessions to complete. This skill manages task decomposition, progress tracking, and autonomous execution using Claude Code headless mode with auto-continuation. Trigger phrases: "autonomous", "long-running task", "multi-session", "自主执行", "长时任务", "autonomous skill".
claude-skill
Use when user asks to leverage claude or claude code to do something (e.g. implement a feature design or review codes, etc). Provides non-interactive automation mode for hands-off task execution without approval prompts.
youtube-transcribe-skill
Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".