twitter-hand-skill

twitter-hand-skill is a skill for Claude Code, Codex from librefang/librefang-registry. It costs 30 tokens per session (7,236 once invoked), scanned A, a copy of twitter-hand-skill, MIT.

A reference guide for managing Twitter/X accounts through its API, including posting, reading content, authentication, and user actions.

In plain words
What is it for?
Use it when building or operating tools that post tweets, search or read timelines, inspect account data, like or retweet posts, follow accounts, or access direct messages.
Why use it?
It explains which credentials and API access modes are needed for different actions, reducing setup mistakes and skipped operations.

Skill for Claude CodeCodex

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

Good fit Use it when building or operating tools that post tweets, search or read timelines, inspect account data, like or retweet posts, follow accounts, or access direct messages.

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

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 twitter-hand-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/librefang/librefang-registry/twitter/github.svg)](https://agentmods.dev/skills/librefang/librefang-registry/twitter)
Your own site
<a href="https://agentmods.dev/skills/librefang/librefang-registry/twitter"><img src="https://agentmods.dev/badge/skills/librefang/librefang-registry/twitter/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 twitter-hand-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/librefang/librefang-registry/twitter"><img src="https://agentmods.dev/badge/skills/librefang/librefang-registry/twitter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,236 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 100% copy Near-identical to another mod 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.00030 $0.07236
Opus 5.5 $0.00012 $0.02894
Sonnet 5.5 $0.00006 $0.01447
Haiku 4.5 $0.00003 $0.00724

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

Security

Grade A, and why

twitter-hand-skill 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 1mo 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 -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
Origin

This is a copy

100% identical to twitter-hand-skill — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

hands/twitter/SKILL.md · 698 lines

How it starts

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

Twitter/X Management Expert Knowledge

Twitter API v2 Reference

Authentication

Twitter API v2 uses OAuth 2.0 Bearer Token for app-level access and OAuth 1.0a for user-level actions.

Bearer Token (read-only access + tweet creation):

Authorization: Bearer $TWITTER_BEARER_TOKEN

Environment variable: TWITTER_BEARER_TOKEN

Authentication modes:

  • Bearer Token only (default): Sufficient for posting tweets, reading timelines, and searching. All core functionality works with just the Bearer Token.
  • Bearer Token + OAuth 1.0a (optional): Required for user-context operations such as liking tweets, retweeting, following/unfollowing, and accessing DMs. Set TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, and TWITTER_ACCESS_TOKEN_SECRET to enable these features.

Note: The Like endpoint (POST /2/users/:id/likes) and Retweet endpoint (POST /2/users/:id/retweets) require OAuth 1.0a User Context authentication. If only Bearer Token is configured, these operations will be skipped with a warning.

Core Endpoints

Get authenticated user info:

curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  "https://api.twitter.com/2/users/me"

Response: {"data": {"id": "123", "name": "User", "username": "user"}}

Post a tweet:

curl -s -X POST "https://api.twitter.com/2/tweets" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world!"}'

Response: {"data": {"id": "tweet_id", "text": "Hello world!"}}

Post a reply:

curl -s -X POST "https://api.twitter.com/2/tweets" \
  -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Great point!", "reply": {"in_reply_to_tweet_id": "PARENT_TWEET_ID"}}'

Post a thread (chain of replies to yourself):

  1. Post first tweet → get tweet_id
  2. Post second tweet with reply.in_reply_to_tweet_id = first tweet_id
  3. Repeat for each tweet in thread

Read the full file on GitHub · 698 lines

Files

What ships with it

2 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 First seen · 698 lines · 30 tokens per session scan A 3311ac869c81

Subscribe to this mod's changes

twitter-hand-skill is a skill published in the GitHub repository librefang/librefang-registry (11 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 7,236 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to twitter-hand-skill, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

nano-banana-pro-openrouter

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skillexec when a meta-skill needs local image files and structured IMAGEREADY records without spawning an LLM agent.

opensquilla/opensquilla · 49 tokens

skill-creator-linter

Internal tool (not user-invocable). Called by meta-skill-creator as a DAG step (kind: agent) to lint a candidate meta-skill SKILL.md against G1 (parse + reference check + xmlescape grep + structural lint) and G2 (scheduler dry-run with stub executors). Deterministic, sub-second, no LLM. Returns JSON diagnostics.

opensquilla/opensquilla · 84 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

openalex-database

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly…

synthetic-sciences/openscience · 76 tokens

glycoengineering

Analyze and engineer protein glycosylation. Scan sequences for N-glycosylation sequons (N-X-S/T), predict O-glycosylation hotspots, and access curated glycoengineering tools (NetOGlyc, GlycoShield, GlycoWorkbench). For glycoprotein engineering, therapeutic antibody optimization, and vaccine design.

synthetic-sciences/openscience · 75 tokens

paper-abstract-author

Write the abstract after the paper body has been revised, using the final claims and evidence.

opensquilla/opensquilla · 23 tokens