← ClaudeAtlas

baoyu-danger-x-to-markdownlisted

Convert X (Twitter) tweet or article URL to markdown. Uses reverse-engineered X API (private). Requires user consent before use.
aiskillstore/marketplace · ★ 329 · Data & Documents · score 79
Install: claude install-skill aiskillstore/marketplace
# X to Markdown Converts X (Twitter) content to markdown format: - Tweet threads → Markdown with YAML front matter - X Articles → Full article content extraction ## Script Directory **Important**: All scripts are located in the `scripts/` subdirectory of this skill. **Agent Execution Instructions**: 1. Determine this SKILL.md file's directory path as `SKILL_DIR` 2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts` 3. Replace all `${SKILL_DIR}` in this document with the actual path **Script Reference**: | Script | Purpose | |--------|---------| | `scripts/main.ts` | CLI entry point for URL conversion | ## ⚠️ Disclaimer (REQUIRED) **Before using this skill**, the consent check MUST be performed. ### Consent Check Flow **Step 1**: Check consent file ```bash # macOS cat ~/Library/Application\ Support/baoyu-skills/x-to-markdown/consent.json 2>/dev/null # Linux cat ~/.local/share/baoyu-skills/x-to-markdown/consent.json 2>/dev/null # Windows (PowerShell) Get-Content "$env:APPDATA\baoyu-skills\x-to-markdown\consent.json" 2>$null ``` **Step 2**: If consent exists and `accepted: true` with matching `disclaimerVersion: "1.0"`: Print warning and proceed: ``` ⚠️ Warning: Using reverse-engineered X API (not official). Accepted on: <acceptedAt date> ``` **Step 3**: If consent file doesn't exist or `disclaimerVersion` mismatch: Display disclaimer and ask user: ``` ⚠️ DISCLAIMER This tool uses a reverse-engineered X (Twitter) API, NOT an official API. Risks: - May bre