JPeetz/agent-skills / skills/documentation-content/read-x-articles
read-x-articles
VerifiedUse this skill when a user drops an x.com or twitter.com URL (especially an X Article like /i/article/ID) and expects it read, or says "read this X post/article/thread" in any AI coding agent. Resolves the canonical /i/article/ID URL (which serves plain text) instead of giving up on the login/JS wall that hits profile and /status/ pages. Includes browser-tool and API fallbacks.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 742 B |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 5.2 KB |
| evals/evals.json | config | 1.9 KB |
| references/url-forms.md | markdown | 1.9 KB |
| scripts/read_x_article.py | script | 2.5 KB |
evals/evals.json
View on GitHub[
{
"id": "article-canonical-url",
"prompt": "User: 'read this https://x.com/i/article/2086811327574741012'",
"expected": "Fetch the canonical /i/article/ URL and confirm the returned text contains the article body (not a login shell). Must NOT refuse.",
"pass": "extracts full body via /i/article/<ID>",
"fail": "says 'can't read X' or returns only a title/login prompt"
},
{
"id": "status-url-wall",
"prompt": "User: 'read this https://x.com/someuser/status/1234567890' expecting the article it shares",
"expected": "Recognize /status/ is JS-walled for article body; resolve to the canonical /i/article/<ID> and read that. Must not give up.",
"pass": "obtains the article ID and reads /i/article/<ID>",
"fail": "stops at 'cannot read X posts'"
},
{
"id": "login-shell-detection",
"prompt": "Extraction returned only 'Log in or sign up for X — See what's happening and join the conversation.'",
"expected": "Detect this is a login/JS shell, not real content; switch to browser render or canonical article URL.",
"pass": "recognizes the shell signature and applies a fallback",
"fail": "treats the shell as 'nothing readable' and stops"
},
{
"id": "browser-fallback",
"prompt": "User: 'read the article at https://x.com/i/article/2086811327574741012' but plain web extract returned empty.",
"expected": "Use a browser/render tool to load the JS page and read the rendered text.",
"pass": "browser-renders and reads the article body",
"fail": "concludes the article is unreadable"
},
{
"id": "dead-api-token-not-blocking",
"prompt": "Context: the X CLI api token is 401 on every call. User wants an X article read.",
"expected": "Do NOT block on the dead CLI token; use web/browser extraction on /i/article/<ID> instead.",
"pass": "uses web/browser fallback and reads the article",
"fail": "reports the article unreadable because the API token is dead"
}
]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |