Tooluck logoTooluck
SKILL.md

wiki-context-pack

Agent skill fromAr9av/obsidian-wiki

Produce a token-bounded, citation-ready context slice from an existing Obsidian vault for a downstream agent or task. Use for "/wiki-context-pack", "use my vault as context", "context slice for X", "pack the wiki for my agent", or "bounded context for Y".

How to install wiki-context-pack

install wiki-context-pack
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/wiki-context-pack/

# into

~/.claude/skills/wiki-context-pack/ (all projects)

.claude/skills/wiki-context-pack/ (one project)

skills/wiki-context-pack/SKILL.md

MITFull file
1# Wiki Context Pack
2
3This is a read-only skill. It must not modify the vault, including `log.md`,
4`index.md`, `hot.md`, or `.manifest.json`.
5
6## Before You Start
7
81. Resolve config using the Config Resolution Protocol in
9 `llm-wiki/SKILL.md`: inline `@name`, then walk up from CWD for `.env`,
10 then the global config.
112. If `$OBSIDIAN_VAULT_PATH/AGENTS.md` exists, read it as trusted owner
12 conventions. Do not include that file as a knowledge excerpt.
133. Canonicalize the configured vault to a physical absolute path before
14 invocation:
15
16 ```bash
17 OBSIDIAN_VAULT_PATH="$(cd "$OBSIDIAN_VAULT_PATH" && pwd -P)"
18 ```
19
20 If this fails, report that the configured vault path is invalid.
214. Parse:
22 - topic, required unless `--recent`;
23 - `--budget N`, default `8000`;
24 - `--recent`;
25 - `--public-only`;
26 - `--metadata-only`;
27 - `--json`.
28
29## Execute
30
31Build the requested arguments, then prefer the installed executable:
32
33```bash
34obsidian-wiki context-pack --vault "$OBSIDIAN_VAULT_PATH" "<topic>" --budget 8000
35```
36
37For recent activity:
38
39```bash
40obsidian-wiki context-pack --vault "$OBSIDIAN_VAULT_PATH" --recent --budget 8000
41```
42
43Append the requested flags exactly. If `obsidian-wiki` is unavailable but
44`$OBSIDIAN_WIKI_REPO/obsidian_wiki/cli.py` exists, run the same arguments from
45that configured clone:
46
47```bash
48python3 -m obsidian_wiki.cli context-pack --vault "$OBSIDIAN_VAULT_PATH" "<topic>" --budget 8000
49```
50
51Use the executable-or-clone fallback explicitly:
52
53```bash
54…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates