baoyu-danger-x-to-markdown

Automates converting X tweets and articles to Markdown with YAML front matter and optional media localization.

Updated May 5, 2025
One-click install
npx skills add https://github.com/yopitek/Obsidian --skill baoyu-danger-x-to-markdown-yopitek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-danger-x-to-markdown
Source: https://github.com/yopitek/Obsidian/tree/main/HQ/10_resources/01_AI_Skills/baoyu-skills/skills/baoyu-danger-x-to-markdown
Command: npx skills add https://github.com/yopitek/Obsidian --skill baoyu-danger-x-to-markdown-yopitek

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates turning X (Twitter) content into Markdown complete with YAML front matter, enabling consistent publishing and archival workflows.

Core Features & Use Cases

  • Converts Tweets, Threads, and Articles into Markdown with a structured front matter block containing fields like url, author, and coverImage.
  • Optionally localizes media by downloading images and videos and rewriting links to local paths.
  • Supports embedding referenced tweets and article content to preserve context in a single Markdown document.

Quick Start

Provide a URL for a tweet or article and run the command to generate a Markdown file with metadata.

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?

You can convert X tweets to Markdown with YAML front matter by providing a tweet URL to automate the extraction of content and metadata into a structured file. This process captures fields like url, author, and coverImage for easy publishing and archival.

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

Yes, you can localize media when converting Twitter threads to Markdown by optionally downloading images and videos. The Skill rewrites the original media links to local paths within the generated Markdown document to preserve assets.

Do I need browser login and cookies to automate X to Markdown conversion?

Yes, you need browser login and X cookies to automate X to Markdown conversion. The Skill requires access to X cookies or a browser login through a consent flow to authenticate and extract the tweet or article data properly.

Does converting X articles to Markdown preserve referenced tweets?

Yes, converting X articles to Markdown preserves referenced tweets by embedding their content directly into the output. This ensures the full context of the thread or article is maintained within a single Markdown document.

What is the best way to archive Twitter threads as local Markdown files?

The best way to archive Twitter threads as local Markdown files is to automate the conversion using a configurable environment. This handles tweet extraction, media localization, and referenced-tweet embedding to create a complete archival record.