X User Timeline

Get recent tweets from an X/Twitter user. Use when user asks "what has @username posted", "recent tweets from", "user's X posts", "show timeline for", "what is @user saying". Requires X_BEARER_TOKEN.

b-open-io Updated

File contents

X User Timeline

Get recent tweets from a specific user.

Setup

export X_BEARER_TOKEN="your-token"  # https://developer.x.com/en/portal/dashboard

Usage

${CLAUDE_SKILL_DIR}/scripts/timeline.sh <username> [max_results]

Examples

# Get 10 recent tweets (default)
${CLAUDE_SKILL_DIR}/scripts/timeline.sh kurtwuckertjr

# Get 25 tweets
${CLAUDE_SKILL_DIR}/scripts/timeline.sh kurtwuckertjr 25

Response Fields

  • text - Tweet content
  • created_at - Post timestamp
  • public_metrics - Likes, retweets, replies, views
  • author - User info (expanded)

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

b-open-io/prompts/tree/main/modules/research/skills/x-user-timeline commit b4752f9c9e

Frequently asked questions

npx skillmds@latest add b-open-io-prompts/x-user-timeline