adhx

adhx is a skill for Claude Code from henryalouf/ruflow. It costs 49 tokens per session (1,049 once invoked), scanned A, a copy of adhx, MIT.

A link reader for posts on X, the social network formerly known as Twitter. It turns x.com, twitter.com, or adhx.com links into structured JSON, including long-form X Articles.

In plain words
What is it for?
Reading, summarizing, or analyzing X posts and Articles, including their authors, content, and engagement information.
Why use it?
It avoids browser automation and scraping when you need post content in a predictable format. This makes posts easier for an AI or program to read and analyze.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/henryalouf/ruflow/adhx
Any agent
npx skills add henryalouf/ruflow --skill adhx
Clone the repo
git clone --depth 1 https://github.com/henryalouf/ruflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adhx

README.md
[![agentmods](https://agentmods.dev/badge/skills/henryalouf/ruflow/adhx.svg)](https://agentmods.dev/skills/henryalouf/ruflow/adhx)
Your own site
<a href="https://agentmods.dev/skills/henryalouf/ruflow/adhx"><img src="https://agentmods.dev/badge/skills/henryalouf/ruflow/adhx.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,049 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01049
Opus 5 $0.00024 $0.00524
Sonnet 5 $0.00010 $0.00210
Haiku 4.5 $0.00005 $0.00105

Measured 6d ago against content hash fbb431125217, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

adhx scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **Fetch the JSON** using curl:
Origin

This is a copy

95% identical to adhx — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/adhx/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADHX - X/Twitter Post Reader

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

  • 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 -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"
  }
}

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 128 lines · 49 tokens per session scan A fbb431125217

Subscribe to this mod's changes

adhx is a skill published in the GitHub repository henryalouf/ruflow (122 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 1,049 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to adhx, differing in 5 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens