wiki-context-pack calls the obsidian-wiki context-pack command to select the vault pages most relevant to a topic, or the most recent ones, and fit them into a token budget that defaults to 8000. The output keeps its citations, visibility handling and a boundary that marks the excerpts as untrusted data.
The skill never changes the vault, including the log, index, hot cache and manifest. Options narrow the pack to public pages, to metadata only, or to machine-readable JSON.
What You Get
- A citation-ready excerpt set from your vault that fits the requested token budget
- A recent-activity pack with the same budget control
- Public-only and metadata-only variants for safer sharing
- Pure JSON output with no surrounding prose when you pass the JSON flag
- A clear install hint when the command is unavailable
Common Use Cases
- Giving a coding agent a bounded briefing from your notes before it starts a task
- Sharing a public-only slice of a vault with another tool
- Starting a session with a pack of what changed recently
What Makes It Unique
It is read-only by contract and treats pack contents as reference data, so instructions written inside vault excerpts are never executed. It canonicalizes the vault path before the call, refuses to load the whole vault by hand when the command is missing, and returns the command’s stdout unchanged so the budget and citations arrive exactly as produced.
Under The Hood
The skill is instructions for the agent. It runs the obsidian-wiki command line tool through the shell with a vault path, topic, budget and flags, and falls back to python3 running the module from a configured clone. It reads the vault through that command and an optional AGENTS.md conventions file. It does not write to the vault, fetch web pages or call remote APIs.