twitter-cli

twitter-cli is a skill for Claude Code, Codex from perasyudha/Nyxora. It costs 35 tokens per session (1,035 once invoked), scanned A, original, MIT.

A command-line tool for operating a Twitter/X account, including posting, replies, searches, follows, and other account actions. It also supports checking social tasks for Web3 airdrops, which are promotional campaigns that may reward participants.

In plain words
What is it for?
Use it to publish or delete posts, reply, search tweets, read timelines and mentions, manage follows and blocks, and verify actions such as following, liking, or retweeting campaign posts.
Why use it?
It puts routine Twitter/X actions and task checks in one workflow, while its instructions include safeguards for account tokens, cookies, and API keys.

Skill for Claude CodeCodex

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/perasyudha/nyxora/twitter-cli
Any agent
npx skills add perasyudha/Nyxora --skill twitter-cli
Clone the repo
git clone --depth 1 https://github.com/perasyudha/Nyxora

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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/perasyudha/nyxora/twitter-cli.svg)](https://agentmods.dev/skills/perasyudha/nyxora/twitter-cli)
Your own site
<a href="https://agentmods.dev/skills/perasyudha/nyxora/twitter-cli"><img src="https://agentmods.dev/badge/skills/perasyudha/nyxora/twitter-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00035 $0.01035
Opus 5 $0.00017 $0.00517
Sonnet 5 $0.00007 $0.00207
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

twitter-cli 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 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.

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.

packages/core/playbooks/social-media/twitter-cli/SKILL.md · 91 lines

How it starts

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

Twitter-CLI — Twitter/X Automation & Airdrop Quest Executor

twitter-cli is Nyxora's specialized skill playbook for interacting with Twitter/X. It powers both conversational social media interactions (posting, replying, searching) and autonomous Web3 Airdrop Social Task Verification (following project handles, liking/retweeting quest posts, checking role requirements).


Capabilities & Use Cases

  • Autonomous Airdrop Quests: Auto-follow project Twitter accounts, retweet campaign posts, like announcement tweets.
  • Posting & Engagement: Publish tweets, reply to threads, quote posts, delete posts.
  • Timeline & Search: Search tweets by hashtag, topic, or @handle, read user timelines and mentions.
  • Social Graph Operations: Follow, unfollow, block, mute target handles.
  • Session & Auth Management: Supports both Official API (OAuth2 via xurl) and Headless Cookie Session Manager (~/.nyxora/auth/twitter_session.json).

Secret Safety & Privacy Guardrails (MANDATORY)

  1. Never print, summarize, log, or leak raw auth_token, ct0 cookies, or API keys into chat responses.
  2. Never ask the user to paste private keys or tokens directly in public chat channels.
  3. Keep session storage isolated in ~/.nyxora/auth/twitter_session.json with file permissions 0600 (-rw-------).
  4. Anti-Bot Jitter: Always apply a randomized execution delay (5s–30s) between sequential write actions (follow, retweet, like) to prevent Twitter rate-limits and shadowbans.

Authentication Modes

Mode A: Headless Session Cookies (Recommended for Airdrop Hunters)

When operating without berbayar Official API keys, Nyxora uses persistent cookie sessions:

  • File path: ~/.nyxora/auth/twitter_session.json
  • Extracted cookies: auth_token, ct0, twid.

Verification check:

node -e "const fs=require('fs'); console.log(fs.existsSync(process.env.HOME+'/.nyxora/auth/twitter_session.json') ? 'Session Active' : 'No Session');"

Read the full file on GitHub · 91 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 · 91 lines · 35 tokens per session scan A b18c723b9607

Subscribe to this mod's changes

twitter-cli is a skill published in the GitHub repository perasyudha/Nyxora (5 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 1,035 once invoked, about $0.0002 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

hive-mcp

Use this skill when the user wants to install, configure, connect, verify, or debug Hive MCP in an AI client — Claude, ChatGPT/OpenAI, Grok, Cursor, Windsurf, VS Code, Gemini CLI, or Codex — including OAuth browser sign-in, headless API-key fallback, missing tools, 401/auth errors, and hosted-vs-stdio questions. For…

hive-intel/hive-sdk · 106 tokens

hive-defi-research

Use this skill when the user asks about DeFi protocol metrics — TVL, fees, revenue, yields, APY, stablecoin supply, bridge volume, or chain-level DeFi totals — or wants protocols compared ("Aave vs Compound", "top protocols by TVL", "best stablecoin yields"). Use it whenever the answer needs current protocol-level…

hive-intel/hive-sdk · 106 tokens

hive-dex-pool-analysis

Use this skill when the user asks about a DEX pool or trading pair — liquidity depth, recent swaps/trades, OHLCV candles, trending pools, fee tiers, or token-level DEX flow on a chain — including "how deep is the X/Y pool", "what's trading on Uniswap", or a pasted pair address. For CEX prices, order books, and funding…

hive-intel/hive-sdk · 104 tokens

hive-market-research

Use this skill for any live crypto market question — prices, 24h moves, liquidity, exchange/venue data, OHLC candles, order books, tickers, funding rates, derivatives, trading context — even casual asks like "what's BTC at" or "is ETH pumping". Use it whenever the answer needs current market numbers instead of memory.…

hive-intel/hive-sdk · 109 tokens

hive-network-infrastructure

Use this skill when the user asks about chain state or transaction plumbing — gas prices, blocks, transaction receipts and status ("did my tx go through"), event logs, supported networks, fee data, or RPC diagnostics. Use it whenever the answer needs current chain-level evidence. For wallet holdings use…

hive-intel/hive-sdk · 81 tokens

hive-nft-research

Use this skill when the user asks about NFT collections or assets on EVM chains — ownership, metadata, traits, floor prices, sales, rarity, spam/authenticity checks — like "what's the floor on this collection", "who owns this NFT", "is this collection spam". Use it whenever the user needs current NFT evidence rather…

hive-intel/hive-sdk · 102 tokens