twitter-threads

twitter-threads is a skill for Claude Code, Codex from TikHub/tikhub-plugin. It costs 62 tokens per session (771 once invoked), scanned A, original, MIT.

A data-access skill for X, formerly called Twitter, and Threads, two social-media platforms. It supports retrieving posts, profiles, timelines, followers, searches, replies, and trending topics through TikHub.

In plain words
What is it for?
Use it to fetch a post or profile, search posts, read replies, inspect followers or following lists, retrieve user timelines, and check trends.
Why use it?
It removes the need to work out separate data requests for common X and Threads research tasks. It also makes the supported data types explicit before you start.

Skill for Claude CodeCodex

Part of the tikhub-plugin plugin — 19 skills, 7 MCP servers shipped together

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.

agentmods
npx agentmods add skills/tikhub/tikhub-plugin/twitter-threads
Any agent
npx skills add TikHub/tikhub-plugin --skill twitter-threads
Clone the repo
git clone --depth 1 https://github.com/TikHub/tikhub-plugin

Made for: Claude Code, Codex.

Or install tikhub-plugin, the plugin that ships this one along with the rest of its 19 skills, 7 MCP servers.

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 twitter-threads

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/twitter-threads.svg)](https://agentmods.dev/skills/tikhub/tikhub-plugin/twitter-threads)
Your own site
<a href="https://agentmods.dev/skills/tikhub/tikhub-plugin/twitter-threads"><img src="https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/twitter-threads.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00062 $0.00771
Opus 5 $0.00031 $0.00385
Sonnet 5 $0.00012 $0.00154
Haiku 4.5 $0.00006 $0.00077

Measured 4d ago against content hash afcab76faab4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

twitter-threads 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 4d ago.

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.

curl -s "https://api.tikhub.io/api/v1/twitter/web/fetch_search_timeline?keyword=ai&search_type=Top" \
skills/twitter-threads/SKILL.md · 67 lines

How it starts

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

Twitter / X & Threads (via TikHub)

Coverage of Twitter/X and Threads (both microblog platforms). Exhaustive endpoints: tikhub-find-endpoint "<goal>" --platform twitter or --platform threads.

Setup gate

[ -z "${TIKHUB_API_KEY:-}" ] && echo "Set TIKHUB_API_KEY first (see tikhub-onboarding)."

Coverage: Twitter-Web, Threads-Web.

Twitter / X endpoints

Goal Method + path Key params
Tweet detail GET /api/v1/twitter/web/fetch_tweet_detail tweet_id
User profile GET /api/v1/twitter/web/fetch_user_profile screen_name | rest_id
User tweets GET /api/v1/twitter/web/fetch_user_post_tweet screen_name, cursor
Search timeline GET /api/v1/twitter/web/fetch_search_timeline keyword, search_type, cursor
Tweet comments GET /api/v1/twitter/web/fetch_post_comments tweet_id, cursor
Trending GET /api/v1/twitter/web/fetch_trending country
Followers GET /api/v1/twitter/web/fetch_user_followers screen_name, cursor
Following GET /api/v1/twitter/web/fetch_user_followings screen_name, cursor

Threads endpoints

Goal Method + path Key params
User info GET /api/v1/threads/web/fetch_user_info username
User posts GET /api/v1/threads/web/fetch_user_posts user_id, end_cursor
Search (top) GET /api/v1/threads/web/search_top query, end_cursor
Search (recent) GET /api/v1/threads/web/search_recent query, end_cursor
Post comments GET /api/v1/threads/web/fetch_post_comments post_id, end_cursor

Example

curl -s "https://api.tikhub.io/api/v1/twitter/web/fetch_search_timeline?keyword=ai&search_type=Top" \
  -H "Authorization: Bearer $TIKHUB_API_KEY"

Pagination

Twitter/X uses cursor; Threads uses end_cursor. Pass the value returned by the previous response; stop when none is returned. Each page is billed — cap it.

Hand off to task skills

Read the full file on GitHub · 67 lines

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. 4d ago First seen · 67 lines · 62 tokens per session scan A afcab76faab4

Subscribe to this mod's changes

twitter-threads is a skill published in the GitHub repository TikHub/tikhub-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 771 once invoked, about $0.0003 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

reelminner

Scrape Instagram reels + followers via a Playwright user session. MCP tools manage the full application — jobs, sessions, results, settings, proxies, and status — plus the core scraping tools scrapereels, getstatus, importcookies, stopscrape, exportresults. Use for reel metadata extraction, follower counts, music…

ilovekushgola/reelminner · 86 tokens

analyze-social

Use when the user shares a social video/post link or local video and wants it understood — an Instagram (instagram.com), TikTok (tiktok.com), YouTube or YouTube Shorts (youtube.com/youtu.be), or X/Twitter (x.com/twitter.com) URL, or a local .mp4/.mov file, OR when they say "analyze/watch/transcribe this…

Shivang0/social-vision · 106 tokens

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

panel-node-pack-sync

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (installcomfyui (action:"selfupdate"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way…

artokun/comfyui-mcp · 206 tokens