wiki-context-pack — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited wiki-context-pack (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are producing a focused, token-bounded context pack from the wiki. Unlike wiki-query (which answers a question), this skill packages the most relevant wiki knowledge into a single markdown block that a downstream agent, skill, or user can consume directly.
llm-wiki/SKILL.md (walk up CWD for .env → ~/.obsidian-wiki/config → prompt setup). This gives OBSIDIAN_VAULT_PATH and any QMD variables.$OBSIDIAN_VAULT_PATH/hot.md if it exists — gives instant context on recent activity.$OBSIDIAN_VAULT_PATH/index.md — the full page inventory./wiki-context-pack "transformer attention mechanism" --budget 16000
/wiki-context-pack "my-project architecture decisions" --budget 8000
/wiki-context-pack --recent --budget 4000 # recent activity pack from hot.md
/wiki-context-pack "authentication patterns" # default budget: 8000 tokensParse the user's invocation to extract:
--recent)8000; max: 100000)Without opening page bodies:
index.md and frontmatter for topic match. Score each page:summary: field contains the query termindex.md entry description contains the query term--recent mode: sort pages by updated: frontmatter descending. Take top 20 as candidates.QMD_WIKI_COLLECTION set), run a semantic pass and merge with the frontmatter score (QMD rank adds +4 to the page's score).Within the candidate set, sort by relevance score, then apply tier ordering within each score bucket (see llm-wiki/SKILL.md, Importance Tiering section):
core-tier matches firstsupportingperipheral (only if budget allows)Maintain this ordering when filling the budget in Step 3.
For each selected page (in tier/relevance order), compute its compressed representation — not a full read, but a structured distillation:
tier:, tags:, summary: (from frontmatter — cheap, no body read needed)## Sources section (keep source names in a one-liner instead)_(content also in [[other-page]])_.Estimate tokens for each page representation as len(text_chars) / 4.
Fill the pack greedily in tier/relevance order until the budget is exhausted:
peripheral-tier pages first when trimming.Emit a single markdown block:
# Context Pack: <topic>
# Generated: <ISO timestamp>
# Budget: <budget> tokens | Actual: <actual> tokens | Pages: <N included> / <M candidates>
# Methodology: 4 chars/token estimate
---
## [[<category/page-name>]] (<tier>, ~<tokens> tokens)
tags: #tag1 #tag2
summary: <summary field text>
<compressed body or excerpt>
---
## [[<next-page>]] (<tier>, ~<tokens> tokens)
...If --recent mode, the header reads:
# Context Pack: Recent Activity (last N pages)Empty result: If no pages scored above 0 and --recent produced no results, output:
# Context Pack: <topic>
No relevant pages found. Consider running /wiki-ingest to add sources about this topic.Append to $OBSIDIAN_VAULT_PATH/log.md:
- [TIMESTAMP] CONTEXT_PACK topic="<topic>" budget=<N> actual_tokens=<M> pages_included=<K> pages_dropped=<D>4 chars/token heuristic matches wiki-status's token footprint estimate — consistent across skills~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.