jpeetz/agent-skills

read-x-articles

Read X (Twitter) long-form Articles end-to-end from a shared x.com link, in any AI coding agent.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/jpeetz/agent-skills --skill read-x-articles

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Read X (Twitter) Articles

Turn any X link a user shares into the full article text. Do NOT default to "I can't read X" — X long-form Articles DO extract cleanly via the right URL.

When to Use

  • A user drops an x.com/... or twitter.com/... link and expects you to read it.
  • The link is an X Article (long-form essay/interview) — canonical path

/i/article/<ID>.

  • You need primary source text from an X essay/thread as material for work

(e.g. writing, video scripts, analysis).

  • Anyone claims "X content can't be read" — that is the signal to trigger, not

capitulate.

The core insight (learned 2026-08-12)

  • X Articles are readable end-to-end at the canonical

`https://x.com/i/article/<ID>` when fetched by a JS-executing web-extractor / browser tool — that returns the FULL body, not a snippet.

  • **Bare HTTP fetch (urllib/curl) of the article often returns a login/JS

shell.** The canonical URL is necessary but a plain request is NOT sufficient — you need a render-capable tool. This is why web_extract (SE/agent-grade) succeeds where curl fails.

  • `/status/<id>` posts and profile pages are JS-rendered and hit the

login wall → they come back empty even to a browser. That is the apparent "can't read X." The fix is resolving the article URL AND using the right fetch tool, not giving up.

  • Images matter. The article's cover, diagrams, charts, and screenshots

can be essential to understanding it. Extract the media URLs and analyze them (vision) as part of the read — do not stop at the text.

Steps

  1. Try first, judge later. When given any X link, immediately attempt it

with a web-extract/browser tool. Declaring it unreadable before trying is the exact mistake this skill prevents.

  1. Use the right fetcher: prefer the agent's web_extract-style tool or a

browser render — NOT bare curl/urllib. If the only tool is a plain HTTP client, expect a login shell and fall back to a browser.

  1. If it's a `/status/` URL or returns a login/JS shell, resolve the

canonical article URL:

  • The article ID often appears in the status link's query/path when the

post is an article share.

  • Find the author's /i/article/<ID> share link on their profile, or ask

the user for the article link directly.

  • Then fetch https://x.com/i/article/<ID> with a render-capable tool.
  1. Validate the body: a real extract contains substantive paragraphs, NOT

just "Log in or sign up for X." A 1,900+ word essay returns complete.

  1. Fallbacks if a render-capable extract still fails:
  • Use a browser tool (CDP-style) to render the JS page, then read the

rendered text/DOM.

  • If the account has X API access (e.g. an xurl-style CLI), query the

article tweet and read data.article.plain_text. A dead/unauthed CLI token is NOT a blocker — prefer web/browser first.

  1. Use the content. It's legitimate primary source. Quote it and cite the

author. If it's a community take (e.g. a power-user writing about a product), it's still real material for summaries, scripts, and analysis.

  1. Read the images too. After extracting the body, the text extractor may

drop inline images (screenshots, diagrams, UI captures) that are essential to understanding the article. Fetch the raw HTML of the page (curl or similar) and extract all pbs.twimg.com/media/ URLs — these are the article's inline images. Analyze the meaningful ones (not user avatars) with a vision tool. Report any visual info that adds to the text: screenshots of a UI, diagrams that explain a workflow, charts with data, or a cover that sets the tone. Do not skip this — images are part of the article.

Pitfalls

  • Do not assume "articles are paywalled/login-walled." The canonical

/i/article/<ID> endpoint serves plain text; the wall applies to the JS-rendered profile/status pages, not this endpoint.

  • A dead X API token (401) is unrelated to article reading — do not block the

task on fixing xurl/auth when web extraction works.

  • Verify you got the actual article (thesis + body), not just a title + login

prompt, before treating it as read.

Verification

  • Did the extraction return the article's real prose (title, paragraphs,

thesis) rather than a shell? If yes, it's read.

  • Report the exact URL you read + a short grounded summary so the user can

verify.

같은 저장소의 Skills

더 많은 Skills

모든 Skills
jpeetz
커뮤니티

accessibility-compliance-audit

Comprehensive web accessibility (a11y) audit and compliance skill. Audits HTML, React, Vue, and Angular codebases against WCAG 2.2 AA standards. Activates when users ask for "accessibility audit", "a11y check", "WCAG compliance", "ADA compliance", "screen reader testing", "keyboard navigation audit", "color contrast check", "accessibility fix", or "make this accessible". Detects violations, explains impact, and generates fix-ready code. Covers semantic HTML, ARIA authoring, focus management, col

설치 수
1
GitHub Stars
14
업데이트
10월 21일
jpeetz
커뮤니티

agent-n-video-pipeline

Use this skill when producing a fully-local "Agent N presents a message" video on the 16GB Apple-Silicon M5 executor: Kokoro mature TTS → LTX-2.3 MLX A2V talking render with native lip sync → karaoke captions → trim → QA → X caption. Replaces the old cloud Herald pipeline (grok-imagine + volcengine) with zero cloud cost. Activates for Herald release videos, Agent N announcements, and newsletter video messages.

설치 수
1
GitHub Stars
14
업데이트
10월 21일
jpeetz
커뮤니티

anti-over-engineering

Use when AI agents over-engineer code beyond user requests.

설치 수
1
GitHub Stars
14
업데이트
10월 21일
jpeetz
커뮤니티

api-and-interface-design

Use this skill when designing APIs, module boundaries, or any public interface. Create stable, well-documented interfaces that are hard to misuse — REST endpoints, GraphQL schemas, module contracts, component props. Covers contract-first design, error semantics, validation boundaries, idempotency, and consistent naming.

설치 수
1
GitHub Stars
14
업데이트
10월 21일