Home
cd ../playbooks
Market ResearchBeginner

Twitter/X Reader: Save Posts and X Articles as Markdown

Save X posts and long-form X Articles as clean Markdown with YAML frontmatter, engagement metrics and every embedded image downloaded locally, ready for Obsidian or any notes app.

5 minutes
By daymadeSource
#twitter#x#content#markdown#research#obsidian

Quoting a tweet or X Article accurately means more than screenshotting it — you need the text, metrics, and images preserved. This playbook fetches it all into citable Markdown.

Who it's for: researchers, content curators, journalists, analysts, Obsidian and PKM users

Example

"Save this X Article with its images" → Complete Markdown with the full text, engagement metrics, and all images downloaded and referenced

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add twitter-reader
# Twitter Reader

Fetch Twitter/X post and article content with full media support.

## Quick Start (Recommended)

For X Articles with images, use the new fetch_article.py script:

```bash
uv run --with pyyaml python scripts/fetch_article.py <article_url> [output_dir]
```

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Turns an X post or long-form X Article into a Markdown file you can keep: full text, author, date, likes, retweets and bookmarks in YAML frontmatter, and every embedded image downloaded into a local folder so the note still works if the post is deleted or the images expire.


Quick Start

Step 1: Get the Scripts, Not Just the Template

The template tells Claude to run scripts/fetch_article.py, scripts/fetch_tweet.py and scripts/fetch_tweets.sh. Those scripts aren't part of the CLAUDE.md file; they live in the source repository. Clone or download the twitter-reader folder and use it as your project folder. Without the scripts, Claude can only fall back to the text-only Jina method.

Step 2: Install uv

Full-article mode runs through uv, which installs the Python dependencies for each run, so there's no virtual environment to manage. Check it's on your PATH with uv --version.

Step 3: Ask for a Post

Open the folder in Claude Code and paste a link:

Save this X Article with its images to ./Clippings: https://x.com/USER/status/ID


Which Mode to Use

Full article mode Simple mode (Jina)
Best for X Articles, image-heavy threads, anything you'll cite later Quick text grabs, batches of short posts
Images Downloaded locally, linked from the Markdown Left as remote URLs (can break later)
Engagement metrics Likes, retweets, bookmarks in frontmatter Not included
Setup uv A JINA_API_KEY environment variable
Batch One URL per run fetch_tweets.sh url1 url2 url3

If you're saving something to quote in a report or article, use full article mode. Remote image URLs from X don't reliably stay valid, and a citation with missing figures is hard to check later.

What You Get on Disk

Each run produces one Markdown file plus an attachments folder named with the date, author and title:

Clippings/
├── 2026-04-03-article-title.md
└── attachments/
    └── 2026-04-03-author-title/
        ├── 01-image.jpg
        └── 02-image.jpg

The frontmatter (source URL, author, date, engagement counts) maps directly onto Obsidian properties, so you can sort or query saved posts by author or by likes once you've collected a few dozen.

Practical Notes

  • Point the output at your vault. Pass your Obsidian vault's clippings folder as the output directory and saved posts appear as notes straight away.
  • Metrics are a snapshot. Likes and retweets are recorded at fetch time. Re-fetch if you need current numbers.
  • Some posts won't come through. Posts from protected accounts, or deleted or age-restricted posts, generally can't be fetched by either mode.
  • Credit the author. Saving a post doesn't give you rights to republish it. Quote and link to the original.

Related Playbooks

$Related Playbooks

Market Research

Validate Your Business Idea

Pressure-test a business idea before you build. Uses red flags, green flags, and the 'validation happens through selling, not building' principle from The Minimalist Entrepreneur.

5 minutes
Beginner
Market Research

Pitch Deck Generator

Create professional investor pitch decks, sales presentations, and product launch slides following industry best practices with guided data collection.

15 minutes
Intermediate
Market Research

Product Requirements Generator

Create comprehensive PRDs from rough ideas, map user stories, define acceptance criteria, specify technical requirements, and set measurable success metrics.

10 minutes
Intermediate
Market Research

Benchmarking Analysis

Compare your organization's performance against industry benchmarks and best practices with gap analysis and improvement plans.

15 minutes
Intermediate
Market Research

Competitive Intelligence Synthesis

Synthesize competitor data into strategic profiles, battlecards, and head-to-head comparisons that inform decisions.

15 minutes
Intermediate
Market Research

Market Research Analysis Summary

Transform raw market research data into executive-ready summaries with market sizing, segments, and opportunity assessments.

10 minutes
Beginner
Market Research

Proposal Factory

Store reusable proposal components — case studies, bios, pricing templates — and assemble tailored proposals without starting from scratch.

10 minutes
Intermediate
Market Research

Scientific Market Research Reports

Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integ...

10 minutes
Intermediate
Market Research

Partnership Deck Generator

Build compelling partnership proposals in minutes by feeding Claude meeting transcripts, previous proposals, and your partnership vision.

15 minutes
Intermediate
Market Research

Solopreneur Business Architect — $100K One-Person Business Blueprint

Get a complete AI-generated blueprint for a $100K/year solo business. Includes business model selection, offer design, pricing strategy, client acquisition system, and a 90-day launch plan tailored to your skills.

15 minutes
Intermediate
Market Research

Startup Validator

Systematically evaluate startup ideas through market research, competitive analysis, risk assessment, and positioning strategy development.

10 minutes
Intermediate
Market Research

Business Analysis Framework Toolkit

A two-phase consulting-report system: build a rigorous analysis framework from a 20+ framework catalog (SWOT, Porter's Five Forces, BCG Matrix, TAM-SAM-SOM, DCF, and more) with per-chapter data requirements, then synthesize collected data into a McKinsey-voice report under a strict no-hallucinated-numbers rule.

10 minutes
Advanced

Browse all Market Research playbooks →