Adhx

From Anhvu1107/all-agent-skill · View interactive version

Adhx is an AI agent skill from the GitHub repository Anhvu1107/all-agent-skill. ALWAYS use this when the request matches Adhx: Fetch any X/Twitter post as clean LLM-friendly JSON.

How to use this skill

Skill file

ADHX - X/Twitter Post Reader

Selective Reading Rule

Start with:

Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.

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

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 -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

Notes

Additional Resources

Limitations

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.