adhx
Fetch X/Twitter posts as clean LLM-friendly JSON via the ADHX API. Converts any x.com, twitter.com, or adhx.com link into structured data with full article content, author info, and engagement metrics. Use when a user shares an X/Twitter link (x.com, twitter.com, adhx.com) and wants to read, analyze, or summarize the post or tweet.
git clone https://github.com/itsmemeworks/adhx
T=$(mktemp -d) && git clone --depth=1 https://github.com/itsmemeworks/adhx "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/adhx" ~/.claude/skills/itsmemeworks-adhx-adhx && rm -rf "$T"
skills/adhx/SKILL.mdADHX - X/Twitter Post Reader
Fetch any X/Twitter post as structured JSON for analysis using the ADHX API.
How It Works
ADHX provides an API that returns clean JSON for any X post, including full article/long-form content. This is far superior to scraping or browser-based approaches for LLM consumption.
API Endpoint
https://adhx.com/api/share/tweet/{username}/{statusId}
URL Patterns
Extract
username and statusId from any of these URL formats:
| Format | Example |
|---|---|
| |
| |
| |
Workflow
When a user shares an X/Twitter link:
- Parse the URL to extract
andusername
from the path segmentsstatusId - Fetch the JSON using curl:
curl -s "https://adhx.com/api/share/tweet/{username}/{statusId}" - Use the structured response to answer the user's question (summarize, analyze, extract key points, etc.)
Response Schema
The API returns JSON with this structure:
{ "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" } }
contains the tweet body for regular tweetstext
is present for long-form X articles and contains the full markdown contentarticle
includes inline image references as markdownarticle.content
Example
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.
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