adhx

📁 itsmemeworks/adhx 📅 5 days ago
3
总安装量
3
周安装量
#59759
全站排名
安装命令
npx skills add https://github.com/itsmemeworks/adhx --skill adhx

Agent 安装分布

opencode 3
gemini-cli 3
github-copilot 3
codex 3
kimi-cli 3
amp 3

Skill 文档

ADHX – 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
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}"
    
  3. 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"
  }
}
  • text contains the tweet body for regular tweets
  • article is present for long-form X articles and contains the full markdown content
  • article.content includes inline image references as markdown ![](url)

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