twitter-cli

Retrieve and manage Twitter/X bookmarks, timelines, and tweets via cookie-authenticated CLI.

7|2|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/ajbmachon/ajbm-skills --skill twitter-cli-ajbmachon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-cli
Source: https://github.com/ajbmachon/ajbm-skills/tree/main/plugins/social-skills/skills/twitter-cli
Command: npx skills add https://github.com/ajbmachon/ajbm-skills --skill twitter-cli-ajbmachon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you pull Twitter/X content and optionally post or engage with it without dealing with API keys by using a cookie-authenticated CLI.

Core Features & Use Cases

  • Tweet and timeline retrieval: Fetch bookmarks, search tweets, view feeds, inspect specific tweets (by ID or URL), and read user timelines.
  • Structured output for analysis: Produce compact LLM-friendly text by default and switch to JSON/YAML when you need to process or save structured data.
  • Posting and engagement actions: Support posting, replying, quoting, liking, retweeting, bookmarking, and account actions such as whoami/status.

Quick Start

Ask your AI assistant to fetch your latest tweets about “Claude Code” by running a compact Twitter search for that topic and summarizing the most relevant results.

Frequently Asked Questions about twitter-cli

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

FAQPage Schema
How do I retrieve Twitter bookmarks and timelines without using API keys?

To export Twitter data for analysis, use the global -c compact flag before subcommands to generate LLM-friendly text, or apply --json/--yaml flags to produce structured output for later processing.

Can I post tweets and perform engagement actions using cookie authentication?

For structured Twitter data export, apply the --json or --yaml flags to your CLI commands, producing formatted output suitable for saving and processing data beyond the default compact text.

What do I need to set up to authenticate Twitter CLI access?

When searching recent Twitter discussions, use the compact flag before subcommands to retrieve LLM-friendly text, or request --json/--yaml output for structured tweet search results.

Does the Twitter CLI work for exporting structured tweet data?

Yes, the Twitter CLI works for exporting structured tweet data by applying optional --json or --yaml flags to produce structured output suitable for later analysis and processing.