baoyu-danger-x-to-markdown

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

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill baoyu-danger-x-to-markdown-cocyuhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/cocyuhao/my-ai-skills-library/tree/main/baoyu-danger-x-to-markdown
Command: npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill baoyu-danger-x-to-markdown-cocyuhao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Converts X tweets and articles into Markdown with YAML front matter to enable simple archival, publishing, and content reuse while preserving per-item metadata.

Core Features & Use Cases

  • Converts tweets (including threads) and articles from X into Markdown with YAML front matter.
  • Supports optional media localization: downloads images/videos and rewrites links when EXTEND.md is configured.
  • Enforces consent flow and cookie handling to access restricted content for publishing and archival workflows.

Quick Start

Provide a tweet or article URL to convert; the tool outputs a Markdown file with YAML front matter.

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 X tweets to Markdown with YAML front matter?

To convert X tweets to Markdown, provide a tweet URL to the tool, which outputs a structured Markdown file complete with YAML front matter for preserving per-item metadata during archival or publishing.

Do I need cookies and consent to convert X articles to Markdown?

Yes, converting restricted X articles to Markdown requires valid cookies and explicit user consent to access protected content, utilizing reverse-engineered endpoints to fetch the data.

Can I download images and videos when converting X threads to Markdown?

Yes, you can download and localize media when converting X threads by configuring EXTEND.md, which enables image and video downloads while rewriting links directly in the output Markdown.

What is the best way to archive X tweet threads for structured downstream processing?

The best way to archive X tweet threads for downstream processing is converting them into Markdown with YAML front matter, which structures metadata for simple reuse and publishing workflows.

How are errors handled when fetching X content for Markdown conversion?

Errors during X content Markdown conversion are managed through careful fallbacks and logging, ensuring the process handles failed requests gracefully when utilizing reverse-engineered endpoints.

Does converting X articles to Markdown support article REST results?

Yes, converting X articles to Markdown applies to both tweet threads and article REST results, transforming the fetched data into structured Markdown with YAML front matter for archival.