x-read

x-read is a skill for Claude Code, Codex from t2y-kage/agent-skills. It costs 82 tokens per session (3,888 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 3,888 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.03888
Opus 5 $0.00041 $0.01944
Sonnet 5 $0.00016 $0.00778
Haiku 4.5 $0.00008 $0.00389

Measured 10d ago against content hash b7206adc7f5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 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 つでも複数でもよい)のタイムライン、または指定されたポストを読み、返信する価値のあるポストを選んで返信の下書きを提案する。提案するだけで、このスキルからは返信を投稿しない

実行環境の注意

  • 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)で、新しい順。
  • リツイート・自分の投稿・引用の入れ子は除外済み。返信は home / user では自動除外、search ではクエリに -is:reply を書いたときだけ除外される。
  • API からは常に 1 ページ(最大 100 件)取得し、フィルタ後に --limit 件(既定 30、上限 100)まで出力する。user モードで複数アカウントを指定した場合、--limitアカウントごとに適用される(投稿頻度が低いアカウントが多いアカウントに埋もれないようにするため)。
  • API 消費:home / search は 1 リクエスト。user はユーザー名の一括解決 1 リクエスト + アカウント数分のリクエスト。

search のクエリの書き方

  • 例:("Claude Code" OR #ClaudeCode) -is:reply
  • リツイートの除外(-is:retweet)はスクリプトが自動で付加するので書かなくてよい。
  • 言語は --lang オプションで絞る(既定は ja=日本語のポストのみ)。全言語を対象にするときは --lang all。クエリに lang: 演算子を直接書いた場合はそちらが優先され、--lang は無視される。
  • TODO: 検索クエリのテーマ(追いかけるキーワード・ハッシュタグの一覧)を運用で決める。

Read the full file on GitHub · 107 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. 10d 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 2mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 3,888 once invoked, about $0.0004 per session on Opus 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

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

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 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