baoyu-danger-x-to-markdown

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Converts X tweets and articles to Markdown with YAML front matter, enabling easy archiving and sharing while safeguarding user consent.

Core Features & Use Cases

  • Converts Tweets (including threads) and Articles from X into Markdown with front matter for accurate indexing and citation.
  • Enforces a consent workflow before any conversion and persists consent to a local file to prevent repeated prompts.
  • Integrates with X cookies via environment variables or Chrome CDP to fetch content, resolve referenced tweets, and render Markdown with cover images when available.

Quick Start

Use a tweet or article URL to generate a Markdown document 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 and threads to Markdown with YAML front matter?

To convert X tweets to Markdown, use a tool that fetches content via X cookies or Chrome CDP and renders structured metadata. This process outputs Markdown with YAML front matter, resolving referenced threads and attaching optional cover images for simplified archiving.

Do I need to grant consent every time I convert an X article to Markdown?

No, you do not need to grant consent every time to convert an X article to Markdown. The consent workflow enforces an initial mandatory approval step but persists the consent state to a local file, preventing repeated prompts for subsequent conversions.

What is the best way to archive X articles and threads for accurate citation?

The best way to archive X articles for citation is converting them into Markdown with YAML front matter. This format enables accurate indexing by capturing structured metadata, resolving referenced tweets, and embedding available cover images.

Does converting X content to Markdown require Chrome CDP?

Converting X content to Markdown relies on X cookies passed via environment variables, but uses Chrome CDP if needed to fetch content. The dependency on Chrome CDP ensures robust data retrieval when standard cookie access is insufficient.

Can I capture referenced tweets and cover images when saving X threads to Markdown?

Yes, you can capture referenced tweets and cover images when saving X threads to Markdown. The conversion process automatically resolves referenced tweets within threads and renders the final Markdown document with optional cover images when available.

Why are my X to Markdown conversions prompting for consent repeatedly?

X to Markdown conversions prompt for consent repeatedly if the local consent state file is missing or cannot be written. The consent workflow persists approval to a local file specifically to prevent repeated prompts during subsequent tweet conversions.