Twitter Article To Markdown — Communication skill for Claude Code
Claude Code Skill: Save X (Twitter) long-form articles as clean Markdown files.
How to install Twitter Article To Markdown
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wangdefou-dev/twitter-article-to-markdown and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Twitter Article To Markdown does
Claude Code Skill: Save X (Twitter) long-form articles as clean Markdown files.
Alternatives in Communication
- Summarize Tweets — X/Twitter Summary Prompt 3.2k ★
- Qiaomu Anything To Notebooklm — Claude Skill: Multi-source content processor for NotebookLM 1.4k ★
- X Research Skill — X/Twitter research skill for Claude Code and OpenClaw 974 ★
README
Twitter Article to Markdown
A [Claude Code](https://claude.ai/code) Skill that saves X (Twitter) long-form articles as clean, well-formatted Markdown files.
What it does
- Uses
gallery-dlto fetch the full article HTML and images from an X/Twitter URL - Converts the HTML to clean Markdown with proper headings, paragraphs, and structure
- Optionally uploads images to Cloudflare R2 and embeds them in the Markdown
- Saves the final
.mdfile locally for reading in Obsidian or any Markdown viewer
Quick Start
Prerequisites
- Claude Code installed
- Python 3 with
gallery-dl,beautifulsoup4,boto3installed - X/Twitter cookies exported as
twitter_cookies.txt(use the Chrome extension "Get cookies.txt LOCALLY") - (Optional) Cloudflare R2 bucket for image hosting
Installation
Add this skill to your Claude Code:
claude install-skill https://github.com/Wangdefou/twitter-article-to-markdown
Or manually copy `SKILL.md` to your Claude Code skills directory.
Usage
Just tell Claude Code:
"Save this Twitter article: https://x.com/username/status/123456789"
Or use any of the trigger phrases:
- "Save Twitter long article" (保存推特长文)
- "Twitter article to Markdown" (推特文章转Markdown)
- "Save X long article" (保存X长文)
Configuration
On first use, the skill will guide you through:
- Setting your local paths (gallery-dl, cookies, output directories)
- (Optional) Configuring Cloudflare R2 for image hosting
Output Format
# Article Title
Original link: https://x.com/username/status/123456789
Article content...
---

License
MIT
Related Skills
X Article Publisher Skill
Claude Code skill for publishing Markdown articles to X (Twitter) Articles.
Claude Chat To Md
Convert Claude Code chat sessions to clean Markdown — including subagent conversations
Chat Shared Conversation To File
CLI tool that converts public share links from ChatGPT, Gemini, Grok, and Claude into clean Markdown and stati
Short Form
Repurpose a long-form YouTube video into 3-5 short-form clips for Reels, Shorts, and TikTok.
Ytscript Skill
Claude Code skill for writing long-form YouTube scripts using the Sam Gaudet template
/cht
Chat persistence for Claude Code — 13 slash commands + hooks for saving conversations as local markdown files.
Related Agents
Article Editor
Editorial critique for blog posts, essays, guides, and long-form articles — evaluates structure, opening stren
Content Writer
Use this agent when you need to create compelling, informative content that explains complex topics in simple
SEO Publisher
Use this agent when the user wants to quality-check and publish a draft article or page to Webflow CMS. This a