wiki-capture
Capture a URL plus user context, normalize it into a durable markdown source, then connect it to the global wiki, local project…
Pull bookmarks from an external service (X/Twitter today; Readwise, Pocket, GitHub stars planned) into a local directory that `/wiki-compile` can consume. Optional — only needed when you want wiki topics synthesized from external sources, not just files already on disk.
> /plugin marketplace add ussumant/llm-wiki-compiler > /plugin install llm-wiki-compiler@llm-wiki-compiler
How it fires
How this command gets triggered: by you, by Claude, or both.
/fetch-bookmarksContext preview
What this command does when you run it.
Pull bookmarks from an external service (X/Twitter today; Readwise, Pocket, GitHub stars planned) into a local directory that `/wiki-compile` can consume. Optional — only needed when you want wiki topics synthesized from external sources, not just files already on disk.
Pull bookmarks from an external service (X/Twitter today; Readwise, Pocket, GitHub stars planned) into a local directory that `/wiki-compile` can consume. Optional — only needed when you want wiki topics synthesized from external sources, not just files already on disk.
The command itself is a thin dispatcher. Each source has its own adapter file that handles dependency checks, auth, sync, and wiring.
Accept one of these forms:
When listing adapters, glob `${CLAUDE_PLUGIN_ROOT}/skills/wiki-compiler/adapters/*.md`:
Usage: /fetch-bookmarks <source> Sync once /fetch-bookmarks schedule <source> Install daily auto-sync /fetch-bookmarks schedule <source> --uninstall Remove auto-sync Available sources: - x — X/Twitter bookmarks (via Field Theory CLI) More adapters planned: readwise, pocket, github-stars.
No adapter for "{source}" yet. Available: {list}.
Want to contribute one? See adapters/x.md for the contract.Then stop.
Bookmarks fetched. Run /wiki-compile to synthesize them into topic articles.
Do **not** auto-invoke `/wiki-compile`.
✓ Auto-sync installed. Next run: tomorrow 03:00 local. Log: ~/.ft-bookmarks/autosync.log Uninstall: /fetch-bookmarks schedule x --uninstall
# Add this with `crontab -e`: 0 3 * * * /bin/bash -lc '<sync_command> >> <log_path> 2>&1'
Each adapter is a self-contained markdown file that the dispatcher follows. Adapters must:
1. Preflight runtime and CLI dependencies. Abort with a friendly install link if a prerequisite is missing — never auto-install a runtime. 2. Get explicit user consent before installing any tool (`npm install`, `pip install`, etc.). Show the project URL and license. 3. Run the third-party sync command and surface its output verbatim so the user can respond to any prompts it raises. 4. Ensure the source's output ends up as markdown at a stable path. 5. Read `.wiki-compiler.json` from the project root. If that path is not already present in `sources[]`, ask the user to confirm adding it, then write the update preserving all other fields. 6. Print a "run `/wiki-compile`" suggestion. Never auto-invoke compile. 7. **Optional: `## Scheduling` section** documenting `sync_command`, `default_cadence`, and `log_path` so `/fetch-bookmarks schedule <source>` can wire launchd/cron. Adapters without this section don't support auto-sync.
See `plugin/skills/wiki-compiler/adapters/x.md` for the reference implementation.
A Claude Code and Codex-compatible plugin that compiles knowledge into a topic-based wiki — from scattered markdown files or entire codebases. Reduce context costs by ~90% and give your agent a synthesized understanding of any project. Documentation
Capture a URL plus user context, normalize it into a durable markdown source, then connect it to the global wiki, local project…
Compile all configured markdown source files into a topic-based wiki.
Interactive workflow for adding one source file to the wiki. The LLM reads the file, discusses key takeaways with the user, then…
Interactive, conversational setup for a new knowledge base wiki. One question at a time, multiple choice when possible.