baoyu-danger-x-to-markdown
๐ฏSkillfrom jimliu/baoyu-skills
A Claude Code skill that converts X (Twitter) tweets, threads, and articles into Markdown with YAML front matter, supporting media downloads, customizable output paths, and consent-based access to a reverse-engineered X API.
Overview
baoyu-danger-x-to-markdown is a Claude Code skill from the baoyu-skills collection that converts X (formerly Twitter) tweets, threads, and articles into clean Markdown files with YAML front matter. It uses a reverse-engineered X API (requiring explicit user consent) and supports media downloading, customizable output directories, and per-project or per-user preference files.
Key Features
- Tweet and article conversion - Converts single tweets, full threads, and X Articles into well-formatted Markdown with YAML front matter containing author, URL, tweet count, and cover image metadata
- Media download support - Optionally downloads images and videos to local directories and rewrites Markdown links to use local relative paths, with three modes: always download, never download, or ask each time
- Consent-based safety flow - Requires explicit user acceptance of a disclaimer before any conversion, with persistent consent tracking across sessions
- Customizable preferences via EXTEND.md - Supports project-level and user-level configuration files for default media handling, output directory, and other settings, with a guided first-time setup flow
- Flexible authentication - Works with environment variables (X_AUTH_TOKEN, X_CT0) or falls back to automatic Chrome login with cookie caching
Who is this for?
- Content creators and researchers who want to archive X/Twitter threads and articles as local Markdown files for reference or republishing
- Developers using Claude Code who need to quickly convert tweet content into structured data for analysis, documentation, or content pipelines
- Anyone who wants offline copies of X content with optional local media storage and clean metadata formatting
Same repository
jimliu/baoyu-skills(23 items)
Installation
npx vibeindex add jimliu/baoyu-skills --skill baoyu-danger-x-to-markdownnpx skills add jimliu/baoyu-skills --skill baoyu-danger-x-to-markdown~/.claude/skills/baoyu-danger-x-to-markdown/SKILL.mdSKILL.md
More from this repository10
A Claude Code skill that analyzes articles, identifies optimal illustration positions, and generates images using a Type x Style two-dimensional system with 6 types and multiple visual styles.
A Claude Code skill that transforms written content into professional slide deck images with 16 visual style presets, smart content scaling, and multi-language support.
AI SDK-based image generation skill supporting OpenAI, Google, and DashScope providers with text-to-image generation, reference images, aspect ratio control, and quality presets through a unified slash command interface.
A Claude Code skill for publishing content to WeChat Official Accounts, supporting article posting via API/browser and image-text posting with up to 9 images, with configurable preferences and a structured 7-step publishing workflow.
A collection of Claude Code skills for content generation including Xiaohongshu infographics, slide decks, comics, cover images, and social media publishing to X and WeChat.
A Claude Code skill that generates article cover images using a 5-dimensional system (Type, Palette, Rendering, Text, Mood) with 9 color palettes and 6 rendering styles for 54 unique combinations.
A Claude Code skill that generates Xiaohongshu (RedNote) infographic card series from content using a Style x Layout 2D system with 9 visual styles and 6 layout types.
Agent skill for posting text, images, and long-form Markdown articles to X (Twitter) directly from Claude Code using Chrome CDP, part of Baoyu's cross-platform content publishing suite.
Generates professional infographics by combining 20 layout types (bento-grid, funnel, timeline, etc.) with 17 visual styles (craft-handmade, cyberpunk, pixel-art, etc.), with auto-recommended combinations based on content analysis.
Interacts with Gemini Web to generate text and images directly from Claude Code. Supports text prompts, prompt files, and image output as PNG files.