adhx
它能做什么
这个工具可以抓取 X(原 Twitter)上的帖子,并将其转换成有条理的数据格式(JSON)。它会提取帖子的正文、作者,以及点赞、转发、浏览量等互动数据。
适用场景
- ✓当你想总结某条 X 帖子的内容时。
- ✓当你需要了解帖子的细节,比如作者和互动数据时。
- ✓当 X 上的帖子是一篇长文,而你想获取完整内容时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/adhx/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“总结一下这条 X 帖子:[帖子链接]”
每周 5 个新技能,1 分钟读完。
工作原理
工具会接收 X 帖子的链接,从中提取关键信息,并借助一项服务获取帖子数据,然后为你整理好这些数据。
技术内容(原始 SKILL.md)
作者在 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:
- Parse the URL to extract
usernameandstatusIdfrom the path segments - Fetch the JSON using curl:
curl --fail --show-error --silent --max-time 20 "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
{
"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"
- Parse URL: username =
handle, statusId =123 - Fetch:
curl --fail --show-error --silent --max-time 20 "https://adhx.com/api/share/tweet/handle/123" - Return the
engagement.likesvalue 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
articlefield when the user wants full content (not just tweet text) - Use the
engagementfield 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
…
常见问题
可以使用私密帖子的链接吗?
不可以。工具只支持公开帖子,无法访问私密帖子或需要登录才能查看的内容。
如果找不到帖子会怎样?
如果帖子已不可用,或工具无法访问,它会告诉你无法获取该内容。
它能处理 X 上的长文吗?
可以。工具能够提取 X 上发布的长文的完整内容。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 48k
- 排名
- #3648
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。