twitter

Export liked and bookmarked tweets from Twitter/X to JSON files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hamelsmu/hamel --skill twitter-hamelsmu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: twitter
Source: https://github.com/hamelsmu/hamel/tree/main/plugins/hamel-tools/skills/twitter
Command: npx skills add https://github.com/hamelsmu/hamel --skill twitter-hamelsmu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a simple, cookie-based way to export liked and bookmarked tweets from Twitter/X without requiring official API credentials, enabling reliable backups and offline analysis.

Core Features & Use Cases

  • Cookie-based Authentication: Use browser cookies (ct0 and auth_token) to access internal endpoints without API keys.
  • Export Likes and Bookmarks: Download likes and bookmarks as JSON for backups, audits, or further analysis.
  • Automated Cookie Refresh & Screenshots: Optionally use agent-browser to refresh expired cookies and playwright to capture tweet screenshots.
  • Use Case: Back up all liked tweets to a JSON file for topic analysis or migrate bookmarks to an archival system.

Quick Start

Use the twitter CLI to export your likes to a JSON file by running the likes command with your configured browser cookies and an output path.

Frequently Asked Questions about twitter

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

FAQPage Schema
How do I export Twitter bookmarks and likes without an API key?▼

You can export Twitter bookmarks and likes without an API key by using your browser cookies. This Skill authenticates via local cookies containing ct0 and auth_token to fetch your data for offline backup.

How do I back up my liked tweets to a JSON file?▼

To back up liked tweets to a JSON file, use the twitter CLI with your configured browser cookies. It downloads your liked tweets locally for topic analysis or archival system migration.

Do I need playwright or agent-browser to export Twitter bookmarks?▼

You do not need playwright or agent-browser to export Twitter bookmarks, but they are optional dependencies. Agent-browser can refresh expired cookies, and playwright can capture tweet screenshots.

What cookies are required to download Twitter likes locally?▼

The specific cookies required to download Twitter likes locally are ct0 and auth_token. You must provide these in a local cookies file to authenticate and fetch your data.

How do I refresh expired Twitter cookies for automated bookmark export?▼

To refresh expired Twitter cookies for automated bookmark export, you can optionally use agent-browser. This tool helps maintain valid authentication so your backup process continues without interruption.