baoyu-danger-x-to-markdown

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

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/XinAloha/skills --skill baoyu-danger-x-to-markdown-xinaloha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/XinAloha/skills/tree/main/productivity/x-to-markdown
Command: npx skills add https://github.com/XinAloha/skills --skill baoyu-danger-x-to-markdown-xinaloha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires baoyu-chrome-cdp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the issue of content fragmentation by converting X (Twitter) posts, threads, and articles into structured, portable Markdown files that retain metadata and media.

Core Features & Use Cases

  • Content Archiving: Automatically saves tweets and long-form X articles with YAML front matter for easy organization.
  • Media Localization: Optionally downloads images and videos locally and updates Markdown links to ensure your archives remain functional offline.
  • Use Case: Use this to compile a research thread or a long-form X article into your personal knowledge base or Obsidian vault without losing the original context or images.

Quick Start

Use the baoyu-danger-x-to-markdown skill to convert the tweet at the provided URL into a markdown file in your current directory.

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 for archiving?

To convert X tweets to Markdown, this skill fetches content via reverse-engineered API endpoints and outputs structured Markdown files with YAML front matter. It requires user-provided authentication tokens or browser session cookies to access the posts.

Can I download Twitter media locally when saving threads to Markdown?

Yes, you can download Twitter media locally when archiving to Markdown. The skill features optional media localization, which downloads images and videos and updates the Markdown links to ensure your archives remain functional offline.

Does converting X articles to Markdown require authentication tokens?

Yes, converting X articles to Markdown requires authentication tokens or browser session cookies. Because it utilizes reverse-engineered API endpoints to extract text and media, valid X authentication is mandatory to fetch the content.

What is the best way to save long-form X articles to an Obsidian vault?

The best way to save long-form X articles to an Obsidian vault is converting them into structured Markdown files with YAML front matter. This skill preserves original context and media, allowing seamless integration into your personal knowledge base.

Why do I need browser session cookies to extract Twitter threads?

You need browser session cookies to extract Twitter threads because the skill uses reverse-engineered API endpoints for content extraction. Providing authentication tokens or cookies allows the automation script to bypass access restrictions and fetch the raw post data.

Are there limitations when archiving social-media content to Markdown?

Limitations when archiving social-media content include relying on reverse-engineered API endpoints which may break if X changes its API. Additionally, the skill depends on the baoyu-chrome-cdp component and valid authentication tokens to successfully extract text and media.