Search X for Research From Your Terminal1 skill
A command-line interface for querying X/Twitter, monitoring accounts, and pulling threads with cost tracking and caching.
Productivity Blueprint
Safety checkedA CLI tool wrapping the X API for searching tweets, monitoring accounts, and gathering sourced research without writing API calls.
Copy this prompt and paste it into your AI agent to install.
Turns Claude Code and other AI agents into X research tools so they can search tweets, pull threads, monitor accounts, and gather recent perspectives without writing curl commands. Teams spend time context-switching to X's web interface instead of collecting research from within their AI workflows.
Once installed with your X API bearer token, you run search commands from your terminal. The tool handles API calls, filtering, sorting, and caching automatically. Commands include search with noise removal and engagement sorting, profile lookups for specific users, thread fetching for full conversations, and watchlist monitoring for key accounts. Output: sourced research with cost transparency for every query.
A command-line interface for querying X/Twitter, monitoring accounts, and pulling threads with cost tracking and caching.
Research from X flows directly into your AI workflow with automatic cost tracking and result caching, so you never waste API credits on repeat queries.
Requires Bun runtime for CLI tooling (native TypeScript execution) and an X API bearer token with prepaid credits. The skill uses file-based caching with a 15-minute default TTL and integrates with Claude Code and OpenClaw via SKILL.md manifest. Token is read from X_BEARER_TOKEN environment variable or ~/.config/env/global.env to avoid inline exposure.
Searches cover only the last 7 days (uses X's recent search endpoint, not full-archive). Bearer token exposure risk when running inside AI agent sessions that log HTTP headers. Requires X API prepaid credits (no free tier), and min_likes/min_retweets operators are filtered post-fetch instead of at query time, which may cost more API credits than expected.
Search with Filtering
Query X with engagement sorting (likes, impressions, retweets, recent), time ranges (1h to 7d), and automatic noise removal to surface quality results.
Quick Mode
Fast, cheap lookups that limit results to 1 page, use 1-hour cache TTL, and auto-filter low-engagement noise to reduce API costs.
Watchlist Monitoring
Add accounts to monitor and check recent activity from multiple users at once to track what key voices are saying.
Thread & Profile Retrieval
Fetch full conversation threads by tweet ID or recent tweets from specific users without drilling into each one manually.
Cost Transparency
Every search displays estimated API cost so you see exactly what each query costs and can optimize for cheaper operations.
Reduce hours lost to repetitive admin without adding a complicated stack. Prioritized, tested workflows automate routine research, client communication, project tracking, and website tasks while keeping people in control of important decisions.
Avoid costly, fragmented digital projects with a plan that connects business goals to practical tools, implementation steps, and measurable results. It also flags performance, security, accessibility, and SEO checks before launch.
Stop wasting rep time on weak intent signals and mismatched accounts. The workflow ranks ICP-fit buyers by readiness, finds the right contact, and supplies tailored outreach angles for the strongest opportunities.
Ishani D.
Account Manager at G2