x-read

x-read is a skill for Claude Code, Codex from t2y-kage/agent-skills. It costs 82 tokens per session (4,234 once invoked), scanned A, original, Apache-2.0.

A read-only workflow for gathering posts from X, formerly known as Twitter, and turning them into digests or suggested replies. It does not publish, like, repost, quote, or reply to posts.

In plain words
What is it for?
Use it to read the home timeline, search recent public posts, inspect specific users or posts, summarize useful technology and business topics, and prepare reply drafts.
Why use it?
It helps follow selected accounts or topics without accidentally changing or interacting with the account. It separates collecting information from deciding what, if anything, to say publicly.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Good fit Use it to read the home timeline, search recent public posts, inspect specific users or posts, summarize useful technology and business topics, and prepare reply drafts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t2y-kage/agent-skills/x-read
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.

Any agent
npx skills add t2y-kage/agent-skills --skill x-read
Clone the repo
git clone --depth 1 https://github.com/t2y-kage/agent-skills

Made for: Claude Code, Codex.

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 x-read

README.md
[![agentmods](https://agentmods.dev/badge/skills/t2y-kage/agent-skills/x-read/github.svg)](https://agentmods.dev/skills/t2y-kage/agent-skills/x-read)
Your own site
<a href="https://agentmods.dev/skills/t2y-kage/agent-skills/x-read"><img src="https://agentmods.dev/badge/skills/t2y-kage/agent-skills/x-read/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-read

Your own site · 80×15
<a href="https://agentmods.dev/skills/t2y-kage/agent-skills/x-read"><img src="https://agentmods.dev/badge/skills/t2y-kage/agent-skills/x-read.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,234 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00082 $0.04234
Opus 5.5 $0.00033 $0.01694
Sonnet 5.5 $0.00016 $0.00847
Haiku 4.5 $0.00008 $0.00423

Measured 1mo ago against content hash 4938e61ae298, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-read scanned grade A with 0 findings 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_timeline.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

x-read/SKILL.md · 116 lines

How it starts

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

X の読み取り(ダイジェスト作成と返信の提案)

このスキルの役割

このスキルには 2 つのユースケースがある。どちらも読み取り専用で、投稿・返信・引用・いいね・リポストは行わない(書き込みは x-post スキルの領分)。結果は実行結果としてそのまま返す(Slack などの外部サービスへは送らない)。

  1. ダイジェスト作成(既定):タイムライン(ホーム/最近検索)を取得し、技術・ビジネスの観点で価値のある話題を選んで要約ダイジェストを作る。
  2. 返信の提案:指定されたアカウント(1 つでも複数でもよい)のタイムライン、または指定されたポストを読み、返信する価値のあるポストを選んで返信の下書きを提案する。提案するだけで、このスキルからは返信を投稿しない。

議論の経緯と争点を追う依頼は x-discussion スキルの領分。ある話題やアカウントについて「何がどう主張され、どう批判され、どこが未解決か」を時系列と論点で整理し、Slack へ還元するのはそちらを使う。このスキルが扱うのは、ダイジェストと返信案までである。

実行環境の注意

  • rg は利用できません。探索には find / grep / tail / sed などの標準的なコマンドを使う。必要な確認は、この SKILL.md に書かれた具体的なコマンドを優先する。

取得モードの使い分け

fetch_timeline.py にはタイムライン系の 3 モード(home / search / user)と、単一ポスト取得の post モードがある。目的が違うので、実行のたびにどれを使うかを選ぶ。

home(ホームタイムライン) search(最近検索) user(特定アカウント)
何が取れるか フォロー中アカウントの最新投稿(逆時系列) 直近 7 日の公開ポスト全体からキーワード・ハッシュタグに一致するもの 指定アカウントの最新の元投稿
フォロー外の投稿 含まれない 含まれる 指定したアカウント次第
向いている目的 いつものフォロー圏の動向把握(定点観測) 特定テーマの新しい会話・書き手の発見(守備範囲の拡張) 返信の提案(そのアカウントの文脈を把握する)
必須の引数 なし --query "<検索クエリ>" --user <ユーザー名>(繰り返し指定で複数アカウント可)
API GET /2/users/:id/timelines/reverse_chronological GET /2/tweets/search/recent GET /2/users/:id/tweets

使い分けの目安:定例のダイジェスト作成は home を基本とし、追いかけたいテーマが決まっているときに search を足す。user は返信提案のユースケース専用。

このほか、タイムラインではなく単一ポストの取得モードとして post がある:

  • python3 {baseDir}/scripts/fetch_timeline.py --mode post --id <ポストID>(--id の繰り返しで複数可)
  • ポスト ID だけで対象を特定できる。返信先・引用元があれば in_reply_to / quoted フィールドに入れ子で含まれるので、会話の文脈を踏まえられる。
  • ID で明示指定されたものをそのまま返すため、他モードの除外フィルタと --limit は適用されない。削除済み・非公開の ID は stderr に not available と出る。

タイムライン系モード(home / search / user)共通の仕様

  • 出力は 1 行 1 件の JSON(id, author, name, text, created_at, likes, reposts)で、新しい順。
  • 次の 4 つは、情報があるときだけ足される(ダイジェスト用途では無視してよい)。
    • conversation_id:そのポストが属する会話の根。返信のときだけ出る(元投稿では自分自身なので省かれる)。
    • urls:本文中の t.co を展開した URL。自分自身を指すもの(画像や長文の続きへの内部リンク)は除いてある。
    • media:添付された画像・動画の type と url、alt_text があれば alt_text。
    • edit_history:編集されたポストのみ。古い順の ID 一覧で、最後が現行版。
  • text は長文ポスト(280 字超)でも全文が入る。
  • リツイート・自分の投稿・引用の入れ子は除外済み。返信は home / user では自動除外、search ではクエリに -is:reply を書いたときだけ除外される。
  • --include-replies(user モードのみ)で返信を除外しない。--raw で自分の投稿と引用の除外をやめる。どちらも既定は off なので、ダイジェスト作成と返信の提案では使わない。
  • API からは常に 1 ページ(最大 100 件)取得し、フィルタ後に --limit 件(既定 30、上限 100)まで出力する。user モードで複数アカウントを指定した場合、--limit はアカウントごとに適用される(投稿頻度が低いアカウントが多いアカウントに埋もれないようにするため)。
  • API 消費:home / search は 1 リクエスト。user はユーザー名の一括解決 1 リクエスト + アカウント数分のリクエスト。

Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +9 lines 4938e61ae298
  2. 2mo ago First seen · 107 lines · 82 tokens per session scan A b7206adc7f5d

Subscribe to this mod's changes

x-read is a skill published in the GitHub repository t2y-kage/agent-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 4,234 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

x-read compared with skills from other repositories

x-read next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-readt2y-kage/agent-skillsSkill21mo agoApache-2.0A82Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code