跳到正文
Skillpedia
网页抓取48k · #3648

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/adhx/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  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

…

常见问题

可以使用私密帖子的链接吗?

不可以。工具只支持公开帖子,无法访问私密帖子或需要登录才能查看的内容。

如果找不到帖子会怎样?

如果帖子已不可用,或工具无法访问,它会告诉你无法获取该内容。

它能处理 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3648
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能