
Fieldtheory Cli Bookmarks
Keep X/Twitter bookmarks on your machine, search and classify them, and pipe results into Claude Code or other agents via shell commands.
Overview
Field Theory CLI Bookmarks is an agent skill most often used in Idea (also Build agent-tooling) that syncs, searches, and classifies X/Twitter bookmarks locally for shell and agent workflows.
Install
npx skills add https://github.com/aradotso/trending-skills --skill fieldtheory-cli-bookmarksWhat is this skill?
- Incremental or full-history sync without the official X API in default Chrome-session mode
- Full-text search and terminal dashboard (`ft viz`) over `~/.ft-bookmarks/`
- Optional LLM auto-classify on sync (`ft sync --classify`)
- OAuth sync path for Linux/Windows when Chrome session mode is unavailable
- Shell-first commands designed for agent invocation (`ft search`, `ft sync`, `ft status`)
- Node.js 20+ required
- Default data directory `~/.ft-bookmarks/`
Adoption & trust: 532 installs on skills.sh; 31 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You save threads on X but cannot search or reuse them offline or from your coding agent without manual copy-paste.
Who is it for?
Solo builders who research on X/Twitter and want local, agent-addressable bookmark archives with optional scheduled sync.
Skip if: Teams that forbid browser-session scraping, need official API-only compliance without OAuth setup, or want cloud-only bookmark SaaS with no local CLI.
When should I use this skill?
Sync, search, classify, or query X/Twitter bookmarks locally; set up Field Theory CLI; schedule bookmark sync; use bookmarks with Claude Code.
What do I get? / Deliverables
Bookmarks live under `~/.ft-bookmarks/` with searchable, classifiable data your agent can query via `ft` commands after sync.
- Local bookmark index under `~/.ft-bookmarks/`
- Searchable and optionally LLM-classified bookmark queries via `ft`
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Canonical shelf is Idea because saved tweets are mainly a personal research corpus you query before committing to a build. Research subphase fits sync, full-text search, and classification of bookmarked threads and links.
Where it fits
Run `ft search "competitor pricing"` on bookmarks saved during market scouting.
Add `ft sync --classify` to an agent routine so new saves are labeled before planning features.
Query classified bookmarks for threads to turn into launch threads or newsletter angles.
How it compares
Local CLI bookmark pipeline with agent shell hooks—not a hosted social API wrapper or a generic note-taking MCP.
Common Questions / FAQ
Who is fieldtheory-cli-bookmarks for?
Indie builders and agent users on Node 20+ who hoard X bookmarks and want incremental sync, search, and Claude Code-friendly shell access.
When should I use fieldtheory-cli-bookmarks?
During Idea research when you need to search saved posts; during Build agent-tooling when wiring `ft sync` or `ft search` into workflows; and when scheduling recurring bookmark pulls before writing specs.
Is fieldtheory-cli-bookmarks safe to install?
It needs Chrome or OAuth access to X and writes local data under `~/.ft-bookmarks/`—review the Security Audits panel on this Prism page and your org policy before installing globally.
SKILL.md
READMESKILL.md - Fieldtheory Cli Bookmarks
# Field Theory CLI — X/Twitter Bookmark Manager > Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection. Field Theory CLI (`ft`) syncs all your X/Twitter bookmarks locally, indexes them for full-text search, classifies them by category and domain, and exposes them to AI agents via shell commands. No official API required for the default sync mode. ## Installation ```bash npm install -g fieldtheory ``` **Requirements:** - Node.js 20+ - Google Chrome (logged into X/Twitter) for default sync mode - macOS for Chrome session sync; Linux/Windows use OAuth mode Verify installation: ```bash ft --version ft status ``` ## Quick Start ```bash # Sync bookmarks (reads Chrome session automatically) ft sync # Search immediately ft search "machine learning" # Explore with terminal dashboard ft viz ``` Data is stored at `~/.ft-bookmarks/` by default. ## Core Commands ### Syncing ```bash # Incremental sync (new bookmarks only) ft sync # Sync then auto-classify with LLM ft sync --classify # Full history crawl from the beginning ft sync --full # Sync via OAuth API (cross-platform, no Chrome needed) ft sync --api # Show sync status ft status ``` ### Searching ```bash # Full-text BM25 search ft search "distributed systems" ft search "rust async runtime" ft search "cancer immunotherapy" # Filter results ft list --author elonmusk ft list --category tool ft list --domain ai ft list --since 2024-01-01 ft list --category research --domain biology # Show a single bookmark by ID ft show 1234567890 ``` ### Classification ```bash # LLM-powered classification (requires LLM access) ft classify # Regex-based classification (no LLM needed, faster) ft classify --regex # Rebuild search index (preserves existing classifications) ft index ``` ### Exploration & Stats ```bash # Terminal dashboard with sparklines and charts ft viz # Category distribution ft categories # Subject domain distribution ft domains # Top authors, languages, date range ft stats # Print data directory path ft path ``` ### Media ```bash # Download static images from bookmarks ft fetch-media ``` ## OAuth Setup (Cross-Platform / API Mode) ```bash # Interactive OAuth setup ft auth # Then sync via API ft sync --api ``` OAuth token stored at `~/.ft-bookmarks/oauth-token.json` with `chmod 600`. ## Configuration ### Custom Data Directory ```bash # Set in shell profile (~/.zshrc or ~/.bashrc) export FT_DATA_DIR=/path/to/custom/dir # Or per-command FT_DATA_DIR=/Volumes/external/bookmarks ft sync ``` ### Data File Layout ``` ~/.ft-bookmarks/ bookmarks.jsonl # raw bookmarks, one JSON object per line bookmarks.db # SQLite FTS5 search index bookmarks-meta.json # sync cursor and metadata oauth-token.json # OAuth credentials (API mode only) ``` ## Scheduling Sync Add to crontab (`crontab -e`): ```bash # Sync every morning at 7am 0 7 * * * ft sync # Sync and classify every morning at 7am 0 7 * * * ft sync --classify # Full sync every Sunday at midnight 0 0 * * 0 ft sync --full ``` ## Categories Reference | Category | Description | |----------|-------------| | `tool` | GitHub repos, CLI tools, npm packages, open-source | | `security` | CVEs, vulnerabilities, exploits, supply chain | | `technique` | Tutorials, demos, code patterns, how-to threads | | `launch` | Product launches, announcements, "just shipped" | | `research` | ArXiv papers, studies, academic findings | | `opinion` | Takes, analysis, commentary, threads | | `commerce` | Products, shopping, physical goods | ## Working with Bookmark Data (TypeScript/Node.js) The `bookmarks