Twitter reader

From seaworld008/Commonly-used-high-value-skills · View interactive version

Twitter reader is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. Read Twitter/X posts and threads from supplied URLs, including author, text, timestamp, and available media, using the documented retrieval tools.

How to use this skill

Skill file

Twitter Reader

Fetch Twitter/X post content without needing JavaScript or authentication.

Prerequisites

You need a Jina API key to use this skill:

  1. Visit https://jina.ai/ to sign up (free tier available)
  2. Get your API key from the dashboard
  3. Set the environment variable:
export JINA_API_KEY="your_api_key_here"

Quick Start

For a single tweet, use curl directly:

curl --fail-with-body --show-error "https://r.jina.ai/https://x.com/USER/status/ID" \
  -H "Authorization: Bearer ${JINA_API_KEY}"

For multiple tweets, repeat the checked request above per URL and inspect each returned body before treating it as post content. The raw batch helper below does not preserve per-URL HTTP failures.

What Gets Returned

Bundled Scripts

fetch_tweet.py

Raw helper for fetching individual tweets. It uses curl -s and checks only process exit, so HTTP error pages may be returned or saved as successful content. For evidence, first verify HTTP success with a checked request and inspect that the body is the requested post rather than an error/login/rate-limit page; only then save verified text. Do not use its optional output file as proof of a successful fetch.

python scripts/fetch_tweet.py https://x.com/user/status/123

fetch_tweets.sh

Raw batch helper. Separators and its final exit status do not establish individual success; record each URL as success/error/partial after checking HTTP status and returned content. Preserve successful items and report individual failures.

scripts/fetch_tweets.sh \
  "https://x.com/user/status/123" \
  "https://x.com/user/status/456"

URL Formats Supported

Environment Variables

Usage Guidelines

Use this skill for retrieval, not for engagement automation. It is appropriate when the user needs to quote, summarize, archive, or analyze X/Twitter content from one or more URLs. It is not appropriate for liking, reposting, following, scraping private content, or bypassing access controls.

Verification Checklist

Before relying on fetched content:

Output Pattern

For analysis tasks, return:

Source URL:
Author:
Published:
Post text:
Media / quoted content:
Notes or caveats:

Batch Analysis Pattern

For multiple URLs, normalize each result before summarizing:

Risk Notes

Twitter/X content is volatile. Posts may be edited, deleted, restricted, or regionally unavailable after retrieval. Do not present fetched content as permanent evidence unless the user has asked for archiving and the original URL plus fetch timestamp are retained. Avoid inferring private context from a public post; summarize only the retrieved content and clearly label any interpretation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.