โ† All skills
Tencent SkillHub ยท Productivity

X Bookmarks Archiver

Fetch your X bookmarks, auto-categorize by URL, generate AI summaries, and save organized markdown archives in your OpenClaw workspace.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Fetch your X bookmarks, auto-categorize by URL, generate AI summaries, and save organized markdown archives in your OpenClaw workspace.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/run.cjs, scripts/fetch.cjs, scripts/process.cjs, scripts/lib/state.cjs, scripts/lib/categorize.cjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 24 sections Open source page

X Bookmark Archiver

Archive your X (Twitter) bookmarks into categorized markdown files with AI-generated summaries.

Overview

This skill fetches your X bookmarks using the bird CLI, categorizes them by URL patterns, generates AI summaries using OpenAI, and saves them as organized markdown files.

Prerequisites

bird CLI - Install from steipete/bird OpenAI API Key (optional) - Set OPENAI_API_KEY for AI-generated summaries Node.js 18+

Installation

# Ensure bird CLI is installed and authenticated bird --version # Set OpenAI API key (optional, for AI summaries) export OPENAI_API_KEY="sk-..."

run - Full Pipeline

Fetches new bookmarks and processes them: node skills/x-bookmark-archiver/scripts/run.cjs

run --force - Process Existing

Skip fetch, process only pending bookmarks: node skills/x-bookmark-archiver/scripts/run.cjs --force

fetch - Download Bookmarks Only

node skills/x-bookmark-archiver/scripts/fetch.cjs

process - Archive Pending Only

node skills/x-bookmark-archiver/scripts/process.cjs

Category Mapping

Bookmarks are automatically categorized based on URL patterns: CategoryDomainstoolsgithub.com, gitlab.com, github.io, huggingface.co, replicate.com, vercel.com, npmjs.com, pypi.orgarticlesmedium.com, substack.com, dev.to, hashnode.dev, x.com/i/article, blog.*, towardsdatascience.comvideosyoutube.com, youtu.be, vimeo.com, twitch.tvresearcharxiv.org, paperswithcode.com, semanticscholar.org, researchgate.net, dl.acm.org, ieee.orgnewstechcrunch.com, theverge.com, hn.algolia.com, news.ycombinator.com, wired.com, arstechnica.combookmarksfallback for unmatched URLs

Output Location

Markdown files are created in the OpenClaw workspace at: Legacy installs (old name): ~/clawd/X-knowledge/ New installs: ~/.openclaw/workspace/X-knowledge/ With profile (OPENCLAW_PROFILE=prod): ~/.openclaw/workspace-prod/X-knowledge/ Override with environment variable: export OPENCLAW_WORKSPACE=/custom/path node skills/x-bookmark-archiver/scripts/run.cjs # Creates: /custom/path/X-knowledge/

Output Structure

~/.openclaw/workspace/X-knowledge/ โ”œโ”€โ”€ tools/ โ”‚ โ”œโ”€โ”€ awesome-ai-project.md โ”‚ โ””โ”€โ”€ useful-cli-tool.md โ”œโ”€โ”€ articles/ โ”‚ โ”œโ”€โ”€ how-to-build-x.md โ”‚ โ””โ”€โ”€ ml-best-practices.md โ”œโ”€โ”€ videos/ โ”‚ โ””โ”€โ”€ conference-talk.md โ”œโ”€โ”€ research/ โ”‚ โ””โ”€โ”€ attention-is-all-you-need.md โ”œโ”€โ”€ news/ โ”‚ โ””โ”€โ”€ latest-tech-announcement.md โ””โ”€โ”€ bookmarks/ โ””โ”€โ”€ misc-link.md

Markdown Template

Each archived bookmark gets a markdown file with frontmatter: --- title: "Awesome AI Project" type: tool date_archived: 2026-01-31 source_tweet: https://x.com/i/web/status/1234567890 link: https://github.com/user/repo tags: ["ai", "machine-learning", "github"] --- This project implements a novel approach to... (AI-generated summary)

State Management

State files track processing progress: /root/clawd/.state/ โ”œโ”€โ”€ x-bookmark-pending.json # Bookmarks waiting to be processed โ””โ”€โ”€ x-bookmark-processed.json # IDs of already-archived bookmarks

Environment Variables

VariableRequiredDescriptionOPENAI_API_KEYNoAPI key for AI-generated summaries

Workflow

Fetch: Downloads latest 50 bookmarks from X Filter: Removes already-processed bookmarks Expand: Resolves t.co shortened URLs Categorize: Assigns category based on URL domain Enrich: Generates title, summary, tags (AI or fallback) Write: Saves as markdown in X-knowledge/{category}/ Track: Updates processed IDs, clears pending

Adding Categories

Edit scripts/lib/categorize.cjs: const CATEGORIES = { tools: ['github.com', '...'], your_category: ['example.com', '...'], // ... };

Changing Output Directory

Edit scripts/process.cjs: const KNOWLEDGE_DIR = 'your-directory-name';

Using Different AI Provider

Modify the generateMetadata() function in scripts/process.cjs to use your preferred API.

Testing

Run the test suite: # Run all tests cd skills/x-bookmark-archiver/tests node test-all.cjs # Run individual test suites node lib/categorize.test.cjs node lib/state.test.cjs node integration.test.cjs

Test Coverage

Unit tests: categorize.js (21 tests) - URL pattern matching Unit tests: state.js (9 tests) - JSON read/write operations Integration tests (12 tests) - Full pipeline with mock data

Manual Testing

Without bird CLI, you can test with mock data: # Create mock pending data cat > /tmp/test-pending.json << 'EOF' [ { "id": "test123", "url": "https://github.com/test/repo", "text": "Test bookmark" } ] EOF # Copy to state directory and process mkdir -p /root/clawd/.state cp /tmp/test-pending.json /root/clawd/.state/x-bookmark-pending.json node skills/x-bookmark-archiver/scripts/process.cjs

Troubleshooting

IssueSolutionbird: command not foundInstall bird CLI from GitHub releasesNo bookmarks fetchedEnsure you're logged into X in birdAI summaries not generatingCheck OPENAI_API_KEY is sett.co links not expandingMay be network/timeout issues; will use original URL

File Structure

skills/x-bookmark-archiver/ โ”œโ”€โ”€ SKILL.md โ”œโ”€โ”€ scripts/ โ”‚ โ”œโ”€โ”€ fetch.cjs # Download bookmarks from X (CommonJS) โ”‚ โ”œโ”€โ”€ process.cjs # Generate markdown files (CommonJS) โ”‚ โ”œโ”€โ”€ run.cjs # Orchestrate fetch โ†’ process (CommonJS) โ”‚ โ””โ”€โ”€ lib/ โ”‚ โ”œโ”€โ”€ categorize.cjs # URL โ†’ category mapping (CommonJS) โ”‚ โ””โ”€โ”€ state.cjs # JSON state management (CommonJS) โ””โ”€โ”€ tests/ โ”œโ”€โ”€ test-all.cjs โ”œโ”€โ”€ lib/ โ”‚ โ”œโ”€โ”€ categorize.test.cjs โ”‚ โ”‚ โ””โ”€โ”€ state.test.cjs โ”œโ”€โ”€ integration.test.cjs โ””โ”€โ”€ fixtures/ โ””โ”€โ”€ sample-bookmarks.json

License

MIT

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Files1 Docs
  • SKILL.md Primary doc
  • scripts/fetch.cjs Files
  • scripts/lib/categorize.cjs Files
  • scripts/lib/state.cjs Files
  • scripts/process.cjs Files
  • scripts/run.cjs Files