
Wiki Context Pack
This packages a slice of your Obsidian vault into a token-bounded markdown block that another agent or skill can consume directly. It's not for answering questions (that's wiki-query). It's for when you need to hand off structured context to a downstream task without blowing your context window. You give it a topic and a budget (default 8000 tokens), and it ranks pages by relevance using frontmatter scoring plus optional semantic search, then fills the budget tier-aware (core pages first, peripheral last) with compressed representations that strip boilerplate and deduplicate shared content. The output is a standalone markdown block with actual token counts and page metadata. Useful when feeding wiki knowledge into research tasks, synthesis jobs, or external agents that need scoped input without re-scanning everything.
- skills.sh installs
- 1.6K
- GitHub stars
- 3.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ar9av/obsidian-wiki --skill wiki-context-pack --agent claude-codeInstalls into .claude/skills of the current project.
Files
Wiki Context Pack
This is a read-only skill. It must not modify the vault, including log.md,
index.md, hot.md, or .manifest.json.
Before You Start
-
Resolve config using the Config Resolution Protocol in
llm-wiki/SKILL.md: inline@name, then walk up from CWD for.env, then the global config. -
If
$OBSIDIAN_VAULT_PATH/AGENTS.mdexists, read it as trusted owner conventions. Do not include that file as a knowledge excerpt. -
Canonicalize the configured vault to a physical absolute path before invocation:
OBSIDIAN_VAULT_PATH="$(cd "$OBSIDIAN_VAULT_PATH" && pwd -P)"If this fails, report that the configured vault path is invalid.
-
Parse:
- topic, required unless
--recent; --budget N, default8000;--recent;--public-only;--metadata-only;--json.
- topic, required unless
Execute
Build the requested arguments, then prefer the installed executable:
obsidian-wiki context-pack --vault "$OBSIDIAN_VAULT_PATH" "<topic>" --budget 8000
For recent activity:
obsidian-wiki context-pack --vault "$OBSIDIAN_VAULT_PATH" --recent --budget 8000
Sponsors
Details
- Repository
- github.com/ar9av/obsidian-wiki
- Categories
- Documentation, AI & Agent Building, Office & Documents
- First seen
- Jul 14, 2026
More from ar9av/obsidian-wiki
All 37- Wiki Stage Commit1.6K
- Obsidian Wiki Ingest1.3K
- Pi History Ingest1.2K
- Wiki Import1K
- Llm Wiki4.2K
- Wiki Ingest3.7K
- Wiki Setup3.6K
- Wiki Query3.6K
- Wiki Lint3.6K
- Wiki Status3.5K
- Wiki Update3.4K
- Cross Linker3.3K
- Wiki Rebuild3.3K
- Wiki Export3.3K
- Wiki History Ingest3.2K
- Tag Taxonomy3.2K
- Claude History Ingest3K
- Wiki Capture2.9K
- Skill Creator2.8K
- Wiki Research2.8K
- Wiki Dashboard2.8K
- Graph Colorize2.8K
- Wiki Synthesize2.8K
- Codex History Ingest2.6K