$npx -y skills add sickn33/agentic-awesome-skills --skill adhxFetch 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.
| 1 | # ADHX - X/Twitter Post Reader |
| 2 | |
| 3 | Fetch any X/Twitter post as structured JSON for analysis using the ADHX API. |
| 4 | |
| 5 | ## Overview |
| 6 | |
| 7 | 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. |
| 8 | |
| 9 | ## When to Use This Skill |
| 10 | |
| 11 | - Use when a user shares an X/Twitter link and wants to read, analyze, or summarize the post |
| 12 | - Use when you need structured data from an X/Twitter post (author, engagement, content) |
| 13 | - Use when working with long-form X Articles that need full content extraction |
| 14 | |
| 15 | ## API Endpoint |
| 16 | |
| 17 | ``` |
| 18 | https://adhx.com/api/share/tweet/{username}/{statusId} |
| 19 | ``` |
| 20 | |
| 21 | ## URL Patterns |
| 22 | |
| 23 | Extract `username` and `statusId` from any of these URL formats: |
| 24 | |
| 25 | | Format | Example | |
| 26 | |--------|---------| |
| 27 | | `x.com/{user}/status/{id}` | `https://x.com/dgt10011/status/2020167690560647464` | |
| 28 | | `twitter.com/{user}/status/{id}` | `https://twitter.com/dgt10011/status/2020167690560647464` | |
| 29 | | `adhx.com/{user}/status/{id}` | `https://adhx.com/dgt10011/status/2020167690560647464` | |
| 30 | |
| 31 | ## Workflow |
| 32 | |
| 33 | When a user shares an X/Twitter link: |
| 34 | |
| 35 | 1. **Parse the URL** to extract `username` and `statusId` from the path segments |
| 36 | 2. **Fetch the JSON** using curl: |
| 37 | ```bash |
| 38 | curl -s "https://adhx.com/api/share/tweet/{username}/{statusId}" |
| 39 | ``` |
| 40 | 3. **Use the structured response** to answer the user's question (summarize, analyze, extract key points, etc.) |
| 41 | |
| 42 | ## Response Schema |
| 43 | |
| 44 | ```json |
| 45 | { |
| 46 | "id": "statusId", |
| 47 | "url": "original x.com URL", |
| 48 | "text": "short-form tweet text (empty if article post)", |
| 49 | "author": { |
| 50 | "name": "Display Name", |
| 51 | "username": "handle", |
| 52 | "avatarUrl": "profile image URL" |
| 53 | }, |
| 54 | "createdAt": "timestamp", |
| 55 | "engagement": { |
| 56 | "replies": 0, |
| 57 | "retweets": 0, |
| 58 | "likes": 0, |
| 59 | "views": 0 |
| 60 | }, |
| 61 | "article": { |
| 62 | "title": "Article title (for long-form posts)", |
| 63 | "previewText": "First ~200 chars", |
| 64 | "coverImageUrl": "hero image URL", |
| 65 | "content": "Full markdown content with images" |
| 66 | } |
| 67 | } |
| 68 | ``` |
| 69 | |
| 70 | ## Installation |
| 71 | |
| 72 | ### Option A: Claude Code plugin marketplace (recommended) |
| 73 | ``` |
| 74 | /plugin marketplace add itsmemeworks/adhx |
| 75 | ``` |
| 76 | |
| 77 | ### Option B: Manual install |
| 78 | ```bash |
| 79 | curl -sL https://raw.githubusercontent.com/itsmemeworks/adhx/main/skills/adhx/SKILL.md -o ~/.claude/skills/adhx/SKILL.md |
| 80 | ``` |
| 81 | |
| 82 | ## Examples |
| 83 | |
| 84 | ### Example 1: Summarize a tweet |
| 85 | |
| 86 | User: "Summarize this post https://x.com/dgt10011/status/2020167690560647464" |
| 87 | |
| 88 | ```bash |
| 89 | curl -s "https://adhx.com/api/share/tweet/dgt10011/2020167690560647464" |
| 90 | ``` |
| 91 | |
| 92 | Then use the returned JSON to provide the summary. |
| 93 | |
| 94 | ### Example 2: Analyze engagement |
| 95 | |
| 96 | User: "How many likes did this tweet get? https://x.com/handle/status/123" |
| 97 | |
| 98 | 1. Parse URL: username = `handle`, statusId = `123` |
| 99 | 2. Fetch: `curl -s "https://adhx.com/api/share/tweet/handle/123"` |
| 100 | 3. Return the `engagement.likes` value from the response |
| 101 | |
| 102 | ## Best Practices |
| 103 | |
| 104 | - Always parse the full URL to extract username and statusId before calling the API |
| 105 | - Check for the `article` field when the user wants full content (not just tweet text) |
| 106 | - Use the `engagement` field when users ask about likes, retweets, or views |
| 107 | - Don't attempt to scrape x.com directly - use this API instead |
| 108 | |
| 109 | ## Notes |
| 110 | |
| 111 | - No authentication required |
| 112 | - Works with both short tweets and long-form X articles |
| 113 | - Always prefer this over browser-based scraping for X content |
| 114 | - If the API returns an error or empty response, inform the user the post may not be available |
| 115 | |
| 116 | ## Additional Resources |
| 117 | |
| 118 | - [ADHX GitHub Repository](https://github.com/itsmemeworks/adhx) |
| 119 | - [ADHX Website](https://adhx.com) |
| 120 | |
| 121 | ## Limitations |
| 122 | - Use this skill only when the task clearly matches the scope described above. |
| 123 | - Do not treat the output as a substitute for environment-specific validation, testing, or expert review. |
| 124 | - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing. |