twitterX

twitterX is a skill for Claude Code, Codex from aksika/abtars. It costs 19 tokens per session (897 once invoked), scanned A, original, Apache-2.0.

A skill for fetching content from Twitter/X, the social network formerly known as Twitter. It can retrieve individual posts and user profiles without authentication, while broader feeds require saved browser cookies.

In plain words
What is it for?
Retrieving a post from its URL, looking up a profile, reading timelines or feeds, and obtaining feed content in Markdown.
Why use it?
It provides a direct way to read posts or feeds when you need information from Twitter/X.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Retrieving a post from its URL, looking up a profile, reading timelines…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aksika/abtars/twitterx
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 aksika/abtars --skill twitterx
Clone the repo
git clone --depth 1 https://github.com/aksika/abtars

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 twitterX

README.md
[![agentmods](https://agentmods.dev/badge/skills/aksika/abtars/twitterx.svg)](https://agentmods.dev/skills/aksika/abtars/twitterx)
Your own site
<a href="https://agentmods.dev/skills/aksika/abtars/twitterx"><img src="https://agentmods.dev/badge/skills/aksika/abtars/twitterx.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 897 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00019 $0.00897
Opus 5 $0.00010 $0.00449
Sonnet 5 $0.00004 $0.00179
Haiku 4.5 $0.00002 $0.00090

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

Security

Grade A, and why

twitterX 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/abtars-tweet.js), 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.

Makes network callslowCapability

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

2. Fetch: `curl -s "https://api.fxtwitter.com/{user}/status/{id}"` → JSON with text, author, likes, retweets, views, media, createdAt
templates/skills/twitterX/SKILL.md · 92 lines

How it starts

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

Twitter / X

Quick mode (no auth — FXTwitter API)

Fetch individual tweets and user profiles without API keys.

Endpoints

  • Tweet: GET https://api.fxtwitter.com/{screen_name}/status/{tweet_id}
  • Tweet + translation: GET https://api.fxtwitter.com/{screen_name}/status/{tweet_id}/{lang_code}
  • User profile: GET https://api.fxtwitter.com/{screen_name} → name, bio, followers, verification

Pipeline

  1. Extract tweet ID from URL: https://x.com/{user}/status/{id}
  2. Fetch: curl -s "https://api.fxtwitter.com/{user}/status/{id}" → JSON with text, author, likes, retweets, views, media, createdAt

Error codes

200=OK, 401=private tweet, 404=deleted/not found, 500=backend error

Full mode (requires cookies — rettiwt-api)

Authenticated access for feeds, timelines, search, replies.

Commands

# Feed (all follows, ranked)
node {baseDir}/scripts/abtars-tweet.js --feed

# Feed as markdown
node {baseDir}/scripts/abtars-tweet.js --feed --format md

# Feed + discover new follows
node {baseDir}/scripts/abtars-tweet.js --feed --discover

# Single tweet
node {baseDir}/scripts/abtars-tweet.js --fetch <tweet-url>

# User timeline
node {baseDir}/scripts/abtars-tweet.js --timeline <handle> --count 10

# Replies on a tweet
node {baseDir}/scripts/abtars-tweet.js --replies <tweet-id>

# Search
node {baseDir}/scripts/abtars-tweet.js --search "query"

# User profile
node {baseDir}/scripts/abtars-tweet.js --user <handle>

Config

  • Follows: ~/.abtars/workspace/twitterX/base.follows.json + agent.follows.json
  • Cookies: ~/.abtars/secret/x-cookies.json (encrypted at rest, required for full mode)
  • Dependency: rettiwt-api (pinned in scripts/package.json). Install with: npm install --prefix ~/.abtars (or npm install --prefix ~/.abtars [email protected] on a fresh machine). Requires Node 22+.
  • Output: ~/.abtars/workspace/twitterX/output/ (daily JSON reports)
  • Newsletter: ~/.abtars/workspace/twitterX/newsletter/AI-Daily-{date}.md (passed via --output when running --format md)

Read the full file on GitHub · 92 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. 6d ago First seen · 92 lines · 19 tokens per session scan A d69516473e79

Subscribe to this mod's changes

twitterX is a skill published in the GitHub repository aksika/abtars (9 stars, last pushed 2d ago), licensed Apache-2.0. It adds 19 tokens to every session and 897 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

EMILIA Trust Verification

Verify the authenticity of AI-agent authorization receipts and human-device signoffs. Use this whenever a user shares a "trust receipt", an "authorization receipt", a "signoff", or WebAuthn/passkey approval evidence and asks whether it is valid, genuine, or tampered with. Pairs with the public EMILIA Protocol MCP…

emiliaprotocol/emilia-protocol · 94 tokens

agent-safety

Use when bounding an LLM agent that already runs — scoping its task domain, gating tools to least privilege, defending against prompt injection in untrusted web/email/RAG text, requiring human approval on irreversible actions, capping runtime and cost, or triaging what it already did. NOT building the loop, tools, or…

ericrisco/rsc-harness · 79 tokens

cva-analysis

Systematic abstraction discovery using Commonality Variability Analysis. Build matrix of what varies vs what's constant, then let patterns emerge. Prevents wrong abstractions by deferring pattern selection until requirements are analyzed. Use when facing multiple similar requirements and need to discover natural…

rjmurillo/ai-agents · 58 tokens

programming-advisor

Evaluate existing solutions (libraries, SaaS, open source) AND internal prior-art before custom development to avoid reinventing the wheel. Use when considering building new features, asking "should I build or use existing", "do we already have this", "is there existing code for X in this repo", "is there a library…

rjmurillo/ai-agents · 113 tokens

world-model-diagnostic

Twenty-minute diagnostic mapping a team to a world-model paradigm (vector DB, structured ontology, signal-fidelity). Use when you say "run the world model diagnostic", "audit our world model", "which world model architecture fits us", or "audit where we automate judgment". Use for AI readiness assessments and…

rjmurillo/ai-agents · 94 tokens