baoyu-danger-x-to-markdown

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

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/archerli/skill-set --skill baoyu-danger-x-to-markdown-archerli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/archerli/skill-set/tree/main/baoyu-skills/baoyu-danger-x-to-markdown
Command: npx skills add https://github.com/archerli/skill-set --skill baoyu-danger-x-to-markdown-archerli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, npx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill converts X (Twitter) tweets and articles to Markdown with YAML front matter, simplifying the process of archiving and sharing Twitter content.

Core Features & Use Cases

  • Markdown Conversion: Converts tweets and articles to Markdown format with YAML front matter for easy archiving and sharing.
  • Consent Requirement: Ensures compliance with Twitter's API usage by checking and obtaining user consent before conversion.
  • Script Execution: Executes scripts in the scripts/ directory for tasks like media localization and error handling.
  • Use Case: If you want to save a series of tweets or an article from X to Markdown, this Skill can automate the process and provide a neatly formatted output.

Quick Start

Run the skill with the X content URL, e.g., npx -y bun {baseDir}/scripts/main.ts https://x.com/user/status/1234567890.

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 (Twitter) content to Markdown with YAML front matter?

To convert X content to Markdown, you can run the skill's main script with the tweet URL using npx and bun. It outputs a Markdown file with YAML front matter, handling API consent and media localization automatically.

Do I need bun and npx to archive Twitter content to Markdown?

Yes, you need both bun and npx installed to execute the conversion script. You may also need Chrome installed, as the skill uses it for reverse-engineered API interactions and consent flow during the archiving process.

How does this tool handle media localization when archiving tweets?

The skill handles media localization by executing dedicated scripts in the scripts directory during the conversion process. These scripts fetch and localize media assets from the tweet, embedding them into your final Markdown output.

What is the best way to automate saving a series of tweets to Markdown?

The best way to automate saving tweets is passing the X content URL to the main script via the command line. The skill automates the conversion, manages API consent compliance, and formats the output with YAML front matter.

Why does converting X content to Markdown require checking user consent?

Checking user consent is required to ensure compliance with Twitter's API usage policies before conversion. The skill manages this consent flow through script execution to authorize the reverse-engineered API data extraction.