fetch-twitter

Fetch tweet content and structured metadata from X/Twitter URLs or IDs.

41|4|Updated May 6, 2026
One-click install
npx skills add https://github.com/markerikson/opencode-config-example --skill fetch-twitter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fetch-twitter
Source: https://github.com/markerikson/opencode-config-example/tree/main/config/skill/fetch-twitter
Command: npx skills add https://github.com/markerikson/opencode-config-example --skill fetch-twitter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of manually copying and parsing tweet content from X/Twitter URLs by retrieving structured tweet text and metadata automatically.

Core Features & Use Cases

  • Tweet content fetching without auth: Retrieves tweet text, author details, timestamps, and basic engagement metadata using Twitter’s syndication endpoint.
  • Quoted tweet context: Includes quoted-tweet information when a tweet contains a quote, so downstream summaries retain the correct conversational context.
  • URL or ID input: Supports both full x.com/twitter.com URLs and tweet IDs for quick ingestion into a workflow.

Quick Start

Ask your AI to fetch the tweet JSON for a given X/Twitter URL or tweet ID by running the fetch-twitter script with that value as the single argument.

Frequently Asked Questions about fetch-twitter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch tweet content and metadata from a URL without manual copying?

To fetch tweet content and metadata without manual copying, provide an X/Twitter URL or tweet ID to retrieve structured JSON output containing the author, text, and timestamp automatically.

Can I extract Twitter data without authentication using the syndication API?

Yes, you can extract Twitter data without authentication by using the Twitter syndication endpoint at cdn.syndication.twimg.com, which retrieves tweet text and metadata using a computed token from the tweet ID.

Does fetching a tweet with a quoted tweet preserve the conversational context?

Fetching a tweet with a quoted tweet preserves conversational context by including an optional quotedTweet field in the JSON output, ensuring downstream summaries retain correct reference information.

How do I get tweet JSON using just a tweet ID?

You get tweet JSON using just a tweet ID by passing the ID as a single argument to the fetch-twitter script, which computes the necessary syndication token and returns structured metadata.

What is included in the JSON output when extracting X Twitter post data?

The JSON output included when extracting X Twitter post data contains the tweet id, url, author, text, created timestamp, and optional quotedTweet fields for lightweight context extraction.

Are there limitations to using the syndication API for Twitter content extraction?

A limitation of using the syndication API for Twitter content extraction is that it provides only lightweight context and basic engagement metadata, meaning it may not support full thread retrieval or complex author analysis.