x-tweet-search
Search recent X/Twitter posts by query. Returns RAW TWEETS (last 7 days). Use when user asks "search X for", "find tweets about", "what are people saying about", "Twitter search", "raw tweets about". For AI summaries/sentiment, use x-research instead. Requires X_BEARER_TOKEN.
How do I install this agent skill?
npx skills add https://github.com/b-open-io/prompts --skill x-tweet-searchIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill searches X/Twitter and requires an API token. It includes a setup script that guides users to modify their shell configuration for persistence of the token. Additionally, it fetches unsanitized data from a public source, creating a potential surface for indirect prompt injection.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · No issues
- Runlayerfail
2/3 files flagged
What does this agent skill do?
X Tweet Search
Search recent tweets (last 7 days) by query.
Setup
export X_BEARER_TOKEN="your-token" # https://developer.x.com/en/portal/dashboard
Usage
${CLAUDE_SKILL_DIR}/scripts/search.sh "<query>" [max_results]
Search Operators
from:username- From specific userto:username- Reply to user#hashtag- Contains hashtag-is:retweet- Exclude retweetshas:media- Contains mediahas:links- Contains links
Examples
# Simple search
${CLAUDE_SKILL_DIR}/scripts/search.sh "bitcoin"
# From specific user
${CLAUDE_SKILL_DIR}/scripts/search.sh "from:kurtwuckertjr"
# Combined query
${CLAUDE_SKILL_DIR}/scripts/search.sh "BSV -is:retweet" 20
Pricing and Rate Limits
X API access is pay-per-use. Read the endpoint's rate-limit response headers and consult the current X API pricing and rate-limit documentation instead of assuming a fixed free-tier quota.
References
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/b-open-io/prompts/x-tweet-search">View x-tweet-search on skillZs</a>