baoyu-danger-x-to-markdown

Convert X (Twitter) tweets, threads and articles into markdown files

Install

See the repository for setup

What it does

This skill turns X (Twitter) posts and long-form X Articles into Markdown files that begin with YAML front matter recording the source URL, author, tweet count and cover image. It is intended for people who want to archive or repost tweet threads and articles as local documents.

It runs as a script invoked by an AI agent, using either bun or npx -y bun, and accepts x.com or twitter.com status URLs and x.com/i/article URLs. Output goes to a folder structure of username, tweet ID and a content slug. Options include a custom output path, JSON output, and --download-media, which saves images and videos into local imgs/ and videos/ directories and rewrites links to relative paths.

Material limitations to note:

  • It relies on a reverse-engineered X API, not an official one, so it may break without notice and offers no support guarantees.
  • Before any conversion the user must read a disclaimer and explicitly accept it; acceptance is stored in a local consent file.
  • First use requires choosing preferences for media download and output location; these are saved in an EXTEND.md file.
  • Authentication uses X_AUTH_TOKEN and X_CT0 environment variables, falling back to cached Chrome cookies.

Skill files

  • SKILL.md

Repository data

Stars
27,823
Last push
Nov 20, 2026
License
MIT
Archived
No

Tools similar to baoyu-danger-x-to-markdown

  • docx

    Skill

    Create, edit, and analyze Word documents and templates with Claude.

    Updated
  • pdf

    Skill

    Instructions for reading, editing, creating, and OCR-ing PDF files.

    Updated
  • pptx

    Skill

    Create, edit, and read PowerPoint decks without leaving the terminal.

    Updated
  • xlsx

    Skill

    Create, edit, and analyze spreadsheet files with real formulas.

    Updated
  • Design tokens, component specs, and brand-compliant slide generation

    Updated
  • Design tokens, component specs, and brand-compliant slide generation

    Updated

FAQ

What license does baoyu-danger-x-to-markdown use?
MIT
What files are included with baoyu-danger-x-to-markdown?
SKILL.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/baoyu-danger-x-to-markdown"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options