Skip to content
SkillModel-led740 tokens in use

wiki-context-pack

Builds a token-bounded, citation-ready slice of your Obsidian vault for a downstream agent or task, in read-only mode with optional JSON output.

3,792 stars on the repository MIT LicenseAr9av/obsidian-wiki · skills/wiki-context-pack
pip install obsidian-wiki
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing wiki-context-pack costs

63tokens idle
740tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectednetworkdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure19/25
  • Examples9/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 26

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity28
  • Momentum40

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.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers