twitter-cli

Execute Twitter/X actions from the terminal with browser-cookie authentication.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/binfen1/my-skills --skill twitter-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-cli
Source: https://github.com/binfen1/my-skills/tree/main/claude-code/twitter-cli
Command: npx skills add https://github.com/binfen1/my-skills --skill twitter-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Twitter/X actions are cumbersome through the website or multiple tools; twitter-cli provides a single terminal interface to read and write tweets, manage interactions, and fetch user data.

Core Features & Use Cases

  • Read timelines, bookmarks, lists, searches, and user profiles from the terminal.
  • Write interactions: post, reply, quote, like, retweet, follow, and bookmark with optional media.
  • Structured outputs and local caching support for AI agents and scripting; supports JSON/YAML and rich terminal views.

Quick Start

Install the tool and run a sample command like twitter feed to begin exploring your timeline.

Frequently Asked Questions about twitter-cli

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

FAQPage Schema
How do I manage Twitter actions from the terminal?

Use a CLI tool that executes Twitter actions from the terminal by leveraging browser-cookie authentication, GraphQL queries, and TLS fingerprinting to read timelines, post tweets, and manage interactions.

Can I automate posting tweets and uploading media via a command line interface?

Yes, automating posting tweets and uploading media via a command line interface is supported. The CLI handles writing interactions like posting, replying, and quoting with optional media attachments directly.

Does Twitter CLI support structured JSON outputs for AI agents?

Yes, this CLI supports structured JSON outputs for AI agents. It provides local caching, JSON/YAML formats, and rich terminal views to facilitate seamless scripting and AI agent integration.

How do I authenticate Twitter API requests without API keys?

Authenticate Twitter API requests without standard API keys by using a browser-cookie-based authentication flow combined with a curl_cffi TLS fingerprinting layer to validate sessions.

What are the limitations of using browser cookies for Twitter automation?

Limitations of using browser cookies for Twitter automation include dependency on active browser sessions for authentication and the need to configure rate limits and filters to avoid account restrictions.