agentleFS
AtmoskunAtmoskun/claude-skills/skills/x-bookmarks/SKILL.md

x-bookmarks

Skill0 starsChanged 9 months agoMITView on GitHub

Import X (Twitter) bookmarks exported via the twitter-web-exporter Chrome extension into Obsidian notes. ~/.claude\skills\x-bookmarks 在 ticker 检测之后,自动标注内容属于分析框架的哪些维度: 将结果添加到 frontmatter extra dict: 如果 framework_tagger 不可用或返回空列表,跳过(不报错)。

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Import X (Twitter) bookmarks exported via the twitter-web-exporter Chrome extension into Obsidian notes.

    line 3

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

X.com Bookmarks to Obsidian

Import X (Twitter) bookmarks exported via the twitter-web-exporter Chrome extension into Obsidian notes.

Project Location

~/.claude\skills\x-bookmarks

When to Use This Skill

  • User wants to import X/Twitter bookmarks into Obsidian
  • User mentions "x bookmarks", "twitter bookmarks", or "tweet import"
  • User has a JSON export from twitter-web-exporter

Commands

CommandDescription
/x-bookmarks import {json_file}Import exported bookmarks JSON into Obsidian notes
/x-bookmarks statsShow import statistics (total imported, by author, date range)

Import Bookmarks

cd "~/.claude\skills\x-bookmarks"
python x_bookmark_converter.py import "C:\path\to\bookmarks.json"

Show Statistics

cd "~/.claude\skills\x-bookmarks"
python x_bookmark_converter.py stats

Workflow

  1. Export: Install twitter-web-exporter Chrome extension
  2. Export: Open X.com bookmarks page, click the extension to export as JSON
  3. Import: Run /x-bookmarks import path/to/bookmarks.json
  4. Review: Notes appear in Documents/Obsidian Vault/X Bookmarks/

Features

  1. Thread Detection: Multiple tweets from the same author in reply to each other are merged into a single note
  2. Ticker Detection: Identifies $TICKER patterns and company names via shared entity dictionary
  3. Deduplication: Uses shared ingestion_state.db to skip already-imported tweets
  4. Flexible Parsing: Handles multiple JSON structures from twitter-web-exporter gracefully
  5. Media Links: Preserves image/video URLs as markdown links
  6. Quoted Tweets: Formats quoted tweets as blockquotes within the note

Output

ItemDetail
Output folderDocuments/Obsidian Vault/X Bookmarks/
File namingYYYY-MM-DD - {author} - {first_20_chars}.md
FrontmatterPer DATA_CONTRACT: id=x_{tweet_id}, type=x, source_platform=x
Thread notesMerged into single file with all tweets in chronological order

Frontmatter Example

---
id: "x_1234567890"
type: x
source_platform: x
source_url: "https://x.com/author/status/1234567890"
author: "AuthorName"
published_at: 2025-10-10
ingested_at: 2026-02-07
tickers: [AAPL, TSLA]
tags: [x-bookmark]
favorite_count: 123
retweet_count: 45
is_thread: false
---

Dependencies

  • Python 3.x (no extra pip packages required beyond PyYAML for shared ticker detection)
  • Shared utilities: ~/.claude/skills/shared/ (frontmatter_utils, ticker_detector)

Framework Tagging (after ticker detection)

在 ticker 检测之后,自动标注内容属于分析框架的哪些维度:

from shared.framework_tagger import tag_content
sections = tag_content(text, mode="keyword")  # keyword mode for X bookmarks (fast)

将结果添加到 frontmatter extra dict:

framework_sections: [S1, S4.2, S7]

如果 framework_tagger 不可用或返回空列表,跳过(不报错)。

Related

  • /telegram - Telegram bot for photo/URL intake
  • /wechat-hao - WeChat article exporter (similar pattern)
  • /chatgpt-organizer - ChatGPT conversation importer (similar JSON-to-Obsidian pattern)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.