New to Claude Skills? Learn how to install them →

sickn33 on GitHub

ADHX - X/Twitter Post Reader

Free

Fetch X/Twitter posts as structured JSON for analysis.

Get this skill

Free · Opens the source repo

What ADHX - X/Twitter Post Reader does

ADHX is a specialized tool designed to fetch and convert any X (formerly Twitter) post into a clean, structured JSON format suitable for analysis. This skill leverages the ADHX API, which eliminates the need for traditional scraping or browser-based methods. Instead, it directly accesses the content of X posts, including both standard tweets and long-form X Articles, providing a more efficient way to retrieve and utilize social media data.

When a user provides a link to an X post, ADHX parses the URL to extract the necessary identifiers, such as the username and status ID. It then makes a simple API call to retrieve comprehensive data, including the post's content, author information, and engagement metrics like likes and retweets. The structured response allows developers and designers to easily analyze, summarize, or extract key points from the content, making it a valuable resource for applications that involve social media engagement.

This skill is particularly useful for developers building applications that require real-time analysis of social media content or for researchers looking to gather insights from user interactions on X. By providing a straightforward API interface, ADHX simplifies the process of obtaining and utilizing social media data, ensuring that users can focus on analysis rather than data retrieval complexities.

In summary, ADHX streamlines the extraction of valuable information from X posts, making it an essential tool for anyone needing structured data for further analysis or application development.

When to use it

Use this skill when you need to analyze or summarize X/Twitter posts, especially when dealing with long-form articles.

When not to use it

This skill is not suitable for tasks outside the scope of fetching X/Twitter post data or when authentication is required.

What you can build with it

Summarizing a Tweet

When a user shares a tweet link, use ADHX to fetch the data and summarize its content.

Analyzing Engagement Metrics

Retrieve engagement metrics like likes and retweets for a specific tweet using the ADHX API.

Extracting Long-form Article Content

Fetch and display the full content of long-form X Articles for detailed analysis or presentation.

How to install ADHX - X/Twitter Post Reader

View source

1. Install with the skills CLI

npx skills add sickn33/agentic-awesome-skills/adhx --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by sickn33

ADHX - X/Twitter Post Reader

Fetch any X/Twitter post as structured JSON for analysis using the ADHX API.

Overview

ADHX provides a free API that returns clean JSON for any X post, including full long-form article content. This is far superior to scraping or browser-based approaches for LLM consumption. Works with regular tweets and full X Articles.

When to Use This Skill

  • Use when a user shares an X/Twitter link and wants to read, analyze, or summarize the post
  • Use when you need structured data from an X/Twitter post (author, engagement, content)
  • Use when working with long-form X Articles that need full content extraction

API Endpoint

https://adhx.com/api/share/tweet/{username}/{statusId}

URL Patterns

Extract username and statusId from any of these URL formats:

FormatExample
x.com/{user}/status/{id}https://x.com/dgt10011/status/2020167690560647464
twitter.com/{user}/status/{id}https://twitter.com/dgt10011/status/2020167690560647464
adhx.com/{user}/status/{id}https://adhx.com/dgt10011/status/2020167690560647464

Workflow

When a user shares an X/Twitter link:

  1. Parse the URL to extract username and statusId from the path segments
  2. Fetch the JSON using curl:
curl -s "https://adhx.com/api/share/tweet/{username}/{statusId}"
  1. Use the structured response to answer the user's question (summarize, analyze, extract key points, etc.)

Response Schema

{
  "id": "statusId",
  "url": "original x.com URL",
  "text": "short-form tweet text (empty if article post)",
  "author": {
    "name": "Display Name",
    "username": "handle",
    "avatarUrl": "profile image URL"
  },
  "createdAt": "timestamp",
  "engagement": {
    "replies": 0,
    "retweets": 0,
    "likes": 0,
    "views": 0
  },
  "article": {
    "title": "Article title (for long-form posts)",
    "previewText": "First ~200 chars",
    "coverImageUrl": "hero image URL",
    "content": "Full markdown content with images"
  }
}

Installation

Option A: Claude Code plugin marketplace (recommended)

/plugin marketplace add itsmemeworks/adhx

Option B: Manual install

curl -sL https://raw.githubusercontent.com/itsmemeworks/adhx/main/skills/adhx/SKILL.md -o ~/.claude/skills/adhx/SKILL.md

Examples

Example 1: Summarize a tweet

User: "Summarize this post https://x.com/dgt10011/status/2020167690560647464"

curl -s "https://adhx.com/api/share/tweet/dgt10011/2020167690560647464"

Then use the returned JSON to provide the summary.

Example 2: Analyze engagement

User: "How many likes did this tweet get? https://x.com/handle/status/123"

  1. Parse URL: username = handle, statusId = 123
  2. Fetch: curl -s "https://adhx.com/api/share/tweet/handle/123"
  3. Return the engagement.likes value from the response

Best Practices

  • Always parse the full URL to extract username and statusId before calling the API
  • Check for the article field when the user wants full content (not just tweet text)
  • Use the engagement field when users ask about likes, retweets, or views
  • Don't attempt to scrape x.com directly - use this API instead

Notes

  • No authentication required
  • Works with both short tweets and long-form X articles
  • Always prefer this over browser-based scraping for X content
  • If the API returns an error or empty response, inform the user the post may not be available

Additional Resources

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Frequently asked questions about ADHX - X/Twitter Post Reader

Similar skills