X Bookmarks Fetcher

Fetch X (Twitter) bookmarks via the official X API v2. Downloads recent bookmarks with text, images, and videos into a local folder. Use whenever user asks to grab/download/export their X bookmarks, save bookmarked tweets, or pull recent saved posts from X/Twitter. Uses OAuth 2.0 user-context auth (one-time browser consent, then refresh-token forever).

51 stars 14 forksImages, Video & Audio Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add aviz85/claude-skills-library

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add aviz85/claude-skills-library --skill x-bookmarks-fetcher
Manual install
git clone --depth 1 https://github.com/aviz85/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/plugins/x-bookmarks-fetcher/skills/x-bookmarks-fetcher ~/.claude/skills/x-bookmarks-fetcher

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# X Bookmarks Fetcher

Download X/Twitter bookmarks via the official X API v2 (no scraping, no Chrome session). Saves tweet text, metadata, images, and videos to a local folder.

## First-time setup

If `scripts/.env` does not yet exist, follow **SETUP.md** in this skill folder. It walks through:
1. Creating an X developer app with OAuth 2.0 enabled
2. Setting the callback URL to `http://127.0.0.1:8765/callback`
3. Copying client ID/secret into `.env`
4. Running `npm run auth` (one-time browser consent → saves refresh token)

Once `scripts/.env` and `scripts/.tokens.json` exist, fetching is pure API.

## Quick Start

```bash
cd ~/.claude/skills/x-bookmarks-fetcher/scripts

# One-time auth (opens browser for consent, saves tokens)
node auth.mjs

# Fetch bookmarks from the last 48 hours (default)
node fetch.mjs

# Custom hours window
node fetch.mjs --hours 24

# Custom output folder
node fetch.mjs --hours 48 --out /tmp/my-bookmarks

# Specific time range (ISO timestamps)
node fetch.mjs --since 2026-05-19T00:00:00Z
```

## Options for `fetch.mjs`

| Option | Default | Description |
|--------|---------|-------------|
| `--hours <N>` | `48` | Filter to tweets created within last N hours |
| `--since <iso>` | derived from `--hours` | Lower bound (ISO 8601 timestamp). Overrides `--hours` |
| `--out <dir>` | `/tmp/x-bookmarks-YYYYMMDD` | Output directory |
| `--max-pages <N>` | `20` | Stop after N API pages (100 bookmarks each) |
Read the full skill on GitHub

Details

Skill name
x-bookmarks-fetcher
Path
plugins/x-bookmarks-fetcher/skills/x-bookmarks-fetcher/SKILL.md
Repo updated
8 July 2026

FAQ

What does the X Bookmarks Fetcher skill do?

Fetch X (Twitter) bookmarks via the official X API v2. Downloads recent bookmarks with text, images, and videos into a local folder. Use whenever user asks to grab/download/export their X bookmarks, save bookmarked tweets, or pull recent saved posts from X/Twitter. Uses OAuth 2.0 user-context auth (one-time browser consent, then refresh-token forever).

How do I install the X Bookmarks Fetcher skill?

Claude Code plugin: /plugin marketplace add aviz85/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is X Bookmarks Fetcher popular?

It lives in aviz85/claude-skills-library, which has 51 GitHub stars and 14 forks.

Related skills

Aviz Skills Installer

51

aviz85/claude-skills-library

Install skills from the AVIZ Skills Library. Use when user wants to install a skill, browse available skills, set up Claude Code skills, or asks about skill installation. Triggers on "install skill", "add skill", "setup skill", "available skills", "skill library", "browse skills".

Software Development14

Calendar

51

aviz85/claude-skills-library

Google Calendar integration via Apps Script API. Use when checking schedule, meetings, today's events, weekly calendar, or adding events.

Productivity & Notes14

Cinematic Slides

51

aviz85/claude-skills-library

Create cinematic HTML presentations with AI video backgrounds, deployed to GitHub Pages. Use for: slides, presentation, deck, cinematic slides, video presentation, animated slides, live presentation.

Documents & Office Files14

Youtube Downloader

51

aviz85/claude-skills-library

Download YouTube videos with quality presets. Use for: download youtube, yt download, video download, youtube to whatsapp, youtube mp3.

Images, Video & Audio14

Whatsapp

51

aviz85/claude-skills-library

WhatsApp automation (Green API primary, WAHA fallback). Use for: send/receive messages, send voice/images/files, retrieve incoming messages (text, voice, images), transcribe voice messages. WAME = 'WhatsApp ME' = send me by WhatsApp.

Images, Video & Audio14

Youtube Uploader

51

aviz85/claude-skills-library

Upload videos to YouTube with title, description, tags. Use for: youtube upload, publish video, share on youtube.

Images, Video & Audio14

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.