twitter-cli

Automates Twitter/X posting, engagement, and airdrop social task verification via CLI sessions.

5|2|Updated May 26, 2026
One-click install
npx skills add https://github.com/perasyudha/Nyxora --skill twitter-cli-perasyudha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-cli
Source: https://github.com/perasyudha/Nyxora/tree/main/packages/core/playbooks/social-media/twitter-cli
Command: npx skills add https://github.com/perasyudha/Nyxora --skill twitter-cli-perasyudha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Twitter/X interactions manually—posting, following, retweeting, and verifying airdrop quest requirements—is repetitive and error-prone, especially when running autonomous Web3 airdrop playbooks that require proof of social engagement. ## Core Features & Use Cases - Social Automation: Post tweets, reply, retweet, like, follow, unfollow, block, and mute accounts through a unified command interface. - Dual Authentication Modes: Operate via headless cookie sessions stored in ~/.nyxora/auth/twitter_session.json or through the official API v2 using xurl OAuth2. - Airdrop Quest Verification: Automatically follow project handles, retweet campaign posts, and like announcements as part of airdrop playbook execution, with randomized 5–30 second jitter to avoid rate limits and shadowbans. - Use Case: When an airdrop guide requires following @Monad_XYZ and retweeting a campaign tweet, the skill executes both actions with anti-bot delays and logs completion in the playbook DAG state. ## Quick Start Ask the agent to follow a project's Twitter handle and retweet its pinned campaign post as part of your airdrop playbook.

Frequently Asked Questions about twitter-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Twitter follows and retweets for airdrop tasks?

Use the execute_social_quest command with the platform set to twitter, an action like follow or retweet, and the target handle or post ID. The skill applies a randomized 5–30 second delay between write actions to avoid rate limits and shadowbans.

How to authenticate Twitter CLI without official API keys?

Use headless cookie session mode by storing auth_token, ct0, and twid cookies in ~/.nyxora/auth/twitter_session.json with file permissions set to 0600. The skill verifies the session file exists before executing actions.

Does this support the official Twitter API v2?

Yes, if the xurl tool is installed and authorized, the skill uses official API v2 via OAuth2. You can check authentication status with xurl auth status and xurl whoami before running commands.

What happens when Twitter rate limits the automation?

On HTTP 429 responses, the skill pauses for 15 minutes before retrying write operations. If a session expires, it notifies the user to update the session file or re-authenticate xurl, and missing targets are skipped gracefully with a warning in the playbook summary.

Is it safe to store Twitter session cookies locally?

Session cookies are stored in ~/.nyxora/auth/twitter_session.json with restrictive 0600 file permissions. The skill mandates never printing, logging, or leaking raw auth_token or ct0 values into chat responses or public channels.