Skip to content
Skillpedia
Web scraping48k · #2034

adhx

Lets your agent fetch X/Twitter posts as JSON. It turns links into structured data with author info and engagement metrics.

What it does

This tool fetches posts from X (formerly Twitter) and converts them into an organized data format (JSON). It extracts information like the post's text, the author, and engagement metrics such as likes, retweets, and views.

When to use it

  • ✓When you want a summary of a specific X post.
  • ✓When you need details from a post, like author and engagement.
  • ✓When an X post is a long-form article and you want the full content.

Example of what to ask your AI

“Summarize this X post: [link to post]”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/adhx/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/adhx/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool takes an X post link, extracts key information from it, and uses a service to retrieve the post's data. It then organizes this data for you.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill adhx

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/adhx/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

ADHX - X/Twitter Post Reader

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

Overview

ADHX is a third-party retrieval service. It may provide structured public-post/article data; do not promise every post, full content, free access or current metrics. Verify provider availability and record retrieval time. Do not send private URLs, cookies or authentication tokens.

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:

Format Example
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 --fail --show-error --silent --max-time 20 "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

# AAS already includes this skill; installing a second copy is optional.
# Review an immutable upstream revision in a private staging directory first.
# Copy into an explicitly selected host directory only if the user requested installation.
# Preserve an existing host skill instead of overwriting it silently.

Examples

Example 1: Summarize a tweet

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

curl --fail --show-error --silent --max-time 20 "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 --fail --show-error --silent --max-time 20 "https://adhx.com/api/share/tweet/handle/123"
  3. Return the engagement.likes value from the response

Best Practices

  • Parse and validate an HTTPS x.com, twitter.com or adhx.com URL with the exact /<handle>/status/<decimal-ID> path. Reject embedded credentials, malformed handles/IDs and unrelated hosts instead of interpolating arbitrary input into requests
  • 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

  • The illustrated endpoint historically required no authentication; do not infer access to private or deleted posts
  • Works with both short tweets and long-form X articles
  • Use the user-selected retrieval method; if the third-party API is unavailable, use an authorized browser/source or report that the content could not be retrieved
  • If the API returns an error or empty response, inform the user the post may not be available

Additional Resources

Limitations

…

FAQ

Can I use links to private posts?

No, the tool only works with public posts and cannot access private posts or those requiring a login.

What happens if the post isn't found?

If the post is unavailable or the tool cannot access it, it will inform you that the content could not be retrieved.

Does it work for long-form articles on X?

Yes, the tool can extract the full content of long-form articles published on X.

Details

Original description by the author

Fetch any X/Twitter post as clean LLM-friendly JSON. Converts x.com, twitter.com, or adhx.com links into structured data with full article content, author info, and engagement metrics. No scraping or browser required.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2034
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills