baoyu-danger-x-to-markdown

Convert X tweets and articles to Markdown with YAML front matter.

24.8k|2.8k|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-danger-x-to-markdown-jimliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-danger-x-to-markdown
Command: npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-danger-x-to-markdown-jimliu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill converts X tweets and articles into Markdown documents with a YAML front matter header, enabling easy publishing, archiving, and integration into content workflows.

Core Features & Use Cases

  • Convert X tweets, threads, and articles into Markdown while preserving key metadata and media references.
  • Extract embedded article content and media, render captions, and organize output as a clean Markdown file.
  • Include a built-in consent flow and safety notes for using reverse-engineered APIs to protect users and data.

Quick Start

Run the script with an X URL to generate a Markdown file containing the thread or article and its metadata.

Frequently Asked Questions about baoyu-danger-x-to-markdown

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

FAQPage Schema
How do I convert an X Twitter thread to Markdown?

To convert an X Twitter thread to Markdown, this Skill extracts the tweet content and metadata, then generates a Markdown file with a YAML front matter header. It preserves the thread structure and media references for easy archiving or publishing.

What is YAML front matter and why include it when exporting X tweets?

YAML front matter is a metadata block at the top of a Markdown file. Including it when exporting X tweets allows you to capture key metadata like authors and dates, enabling seamless integration into static site generators and content management workflows.

Do I need my X cookies to export Twitter articles to Markdown?

Yes, you need your X cookies to export Twitter articles to Markdown because the Skill uses a reverse-engineered API. You must provide access to your X cookies via environment variables or browser login to authenticate the extraction process.

How does the consent flow work when exporting X threads?

The consent flow works by enforcing a safety check before using the reverse-engineered API to export X threads. It ensures users explicitly agree to the risks of unauthorized API usage, protecting both user data and the extraction process.

What is the best way to archive X articles with embedded media as a Markdown file?

The best way to archive X articles with embedded media as a Markdown file is using a conversion tool that extracts embedded content and renders media captions. This Skill organizes the output into a clean Markdown document with metadata.

Are there limitations when using a reverse-engineered API to export X tweets?

Limitations of using a reverse-engineered API to export X tweets include potential instability and access revocation. The Skill mitigates this by enforcing a consent flow and requiring valid X cookies via environment variables or browser login.