baoyu-danger-x-to-markdown

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

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/lihanghang/agent-daily-blog --skill baoyu-danger-x-to-markdown-lihanghang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/lihanghang/agent-daily-blog/tree/main/skills-archive/2026-03-17/baoyu-skills/skills/baoyu-danger-x-to-markdown
Command: npx skills add https://github.com/lihanghang/agent-daily-blog --skill baoyu-danger-x-to-markdown-lihanghang

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 easy ingestion, archiving, and content reuse across tools and platforms.

Core Features & Use Cases

  • Converts Tweets and threads into Markdown with YAML front matter for consistent metadata.
  • Extracts X Articles when available and renders them as Markdown with embedded media references.
  • Handles consent flow and uses a reverse-engineered API flow with explicit user permission to protect user safety.

Quick Start

Run the script with an X URL to generate a Markdown post 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, you provide an x.com URL to the script, which outputs a Markdown post with YAML front matter. It extracts the tweet content and structures it for easy archiving and ingestion across platforms.

Why does converting X content to Markdown require user consent?

Converting X content requires user consent because the Skill utilizes a reverse-engineered API flow to extract tweets and articles. This explicit permission step protects user safety when fetching data from X.

Can I extract X articles and threads into a single Markdown file?

Yes, you can extract X articles and threads into a Markdown file. The script renders X articles as Markdown with embedded media references and handles threads, ensuring all content is captured with consistent YAML metadata.

What is the best way to archive Twitter threads for content automation?

The best way to archive Twitter threads for content automation is converting them into Markdown with YAML front matter. This format enables easy ingestion, archiving, and content reuse across various tools and platforms.

Does the X to Markdown conversion handle embedded media references?

Yes, the X to Markdown conversion handles embedded media references. When extracting X articles and rendering them as Markdown, the script includes references to embedded media to ensure complete content archiving.