baoyu-danger-x-to-markdown

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Converts X (Twitter) tweets and articles into Markdown with YAML front matter, enabling consistent archiving and easy processing for knowledge work.

Core Features & Use Cases

  • Convert tweets, threads, and articles to Markdown with YAML front matter, including extracted articles when available.
  • Consent-driven authentication: uses environment cookies or automated Chrome CDP login to obtain required cookies, with a visible disclaimer.
  • Optional media localization: download remote media to local imgs/ and videos/ directories and rewrite links to local paths.

Quick Start

Provide an X URL and run the script to generate a Markdown document that includes metadata and content.

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 posts to Markdown with metadata?

To convert X posts to Markdown, provide an X URL to generate a Markdown file containing YAML front matter metadata and the extracted content. This enables consistent archiving and easy processing for knowledge work.

Do I need to provide cookies to convert Twitter articles into Markdown?

You can provide cookies to convert Twitter articles into Markdown, but it is not strictly required. The skill applies consent-driven authentication, using environment cookies or an automated Chrome CDP login to obtain the necessary credentials.

Can I download and localize media when converting X threads to Markdown?

Yes, you can download and localize media when converting X threads to Markdown. Optional media localization downloads remote images and videos into local directories and rewrites the links to point to those local paths.

How does YAML front matter help with archiving X tweets?

YAML front matter helps with archiving X tweets by embedding structured metadata directly within the Markdown file. This enables consistent organization and easy parsing for subsequent knowledge work and content processing.

What is the best way to automate archiving X articles locally?

The best way to automate archiving X articles locally is running this script which stores consent and credentials in a dedicated data directory. This enables automated subsequent runs without repeated manual authentication.