wiki-setup — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited wiki-setup (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 setting up a new Obsidian wiki vault (or repairing an existing one).
If .env doesn't exist, create it from .env.example. Ask the user for:
OBSIDIAN_VAULT_PATH~/Documents/obsidian-wiki-vaultOBSIDIAN_SOURCES_DIR~/DocumentsCLAUDE_HISTORY_PATH~/.claudeQMD_WIKI_COLLECTION / QMD_PAPERS_COLLECTION / QMD_TRANSPORTwiki-query and source discovery in wiki-ingest.QMD_TRANSPORT=mcp unless the user wants the agent to call the local qmd CLI directly.QMD_CLI_SEARCH_MODE=quality by default; suggest balanced if reranking is too slow.Grep automatically..env.example (QMD section).WIKI_TOKEN_WARN_THRESHOLD100000 (warn when full-wiki read would cost > 100K tokens)0 to disable the warning entirelywiki-status shows a token footprint table and emits this warning automaticallyWIKI_STAGED_WRITESfalse (pages written directly to their final location)true for team wikis, high-stakes domains, or any vault where the human wants final say on every LLM-written page_staging/ first; run /wiki-stage-commit to review and promote themwiki-status shows a "Staged writes pending" count when files are waitingmkdir -p "$OBSIDIAN_VAULT_PATH"/{concepts,entities,skills,references,synthesis,journal,projects,_archives,_raw,_staging,.obsidian}.obsidian/ — Obsidian's own config. Creates vault recognition.projects/ — Per-project knowledge (populated during ingest)._archives/ — Stores wiki snapshots for rebuild/restore operations._raw/ — Staging area for unprocessed drafts. Drop rough notes here; wiki-ingest will promote them to proper wiki pages and move the originals into _raw/_archived/ (created on first use)._staging/ — Review queue for LLM-written pages when WIKI_STAGED_WRITES=true. Pages here are not visible in Obsidian's graph until promoted via /wiki-stage-commit.---
title: Wiki Index
---
# Wiki Index
*This index is automatically maintained. Last updated: TIMESTAMP*
## Concepts
*No pages yet. Use `wiki-ingest` to add your first source.*
## Entities
## Skills
## References
## Synthesis
## Journal---
title: Wiki Log
---
# Wiki Log
- [TIMESTAMP] INIT vault_path="OBSIDIAN_VAULT_PATH" categories=concepts,entities,skills,references,synthesis,journal---
title: Hot Cache
updated: TIMESTAMP
---
# Hot Cache
*A ~500-word semantic snapshot of recent activity. Updated after every major write operation.*
## Recent Activity
- [TIMESTAMP] INIT — vault created at OBSIDIAN_VAULT_PATH
## Active Threads
*None yet — start ingesting sources to populate.*
## Key Takeaways
*None yet.*
## Flagged Contradictions
*None yet.*Create minimal Obsidian config for a good out-of-box experience:
{
"strictLineBreaks": false,
"showFrontmatter": false,
"defaultViewMode": "preview",
"livePreview": true
}{
"baseFontSize": 16
}Tell the user about these recommended community plugins (they install manually):
Run a quick sanity check:
concepts/, entities/, skills/, references/, synthesis/, journal/, projects/, _archives/, _raw/index.md exists at vault rootlog.md exists at vault roothot.md exists at vault root.env has OBSIDIAN_VAULT_PATH set.obsidian/ directory exists_staging/ directory exists (required even when WIKI_STAGED_WRITES is not set — created on setup for future use)Report the results and tell the user they can now:
wiki-status to see what's available to ingestwiki-ingest to add their first sourcesclaude-history-ingest to mine their Claude conversationscodex-history-ingest to mine their Codex sessions (if they use Codex)wiki-status again anytime to check the deltaAsk the user: "Want to auto-capture findings at session end?"
If yes, install the Stop hook into their global Claude Code settings so that every session with meaningful work automatically prompts /wiki-capture --quick before closing.
What the hook does: reads the session transcript on Stop, counts file edits and shell calls, and if significant work happened, asks Claude to run /wiki-capture --quick once. The wiki-capture quick-mode KEEP/SKIP gate prevents noise — routine or inconclusive sessions are skipped automatically.
Installation steps:
OBSIDIAN_WIKI_REPO is set in config, use that. Otherwise, check common locations: ~/Documents/projects/obsidian-wiki, ~/obsidian-wiki, or ask the user.
~/.claude/settings.json:{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "bash <REPO_PATH>/.claude/hooks/wiki-stop-capture.sh"
}
]
}
]
}
}If ~/.claude/settings.json already exists and has a hooks.Stop array, append the new entry rather than replacing — don't clobber existing hooks.
/wiki-capture --quick at theend of any session where you write files or run ≥ 4 shell commands."
To uninstall later: remove the hook entry from ~/.claude/settings.json or set HIVEMIND_CAPTURE=false in your shell to skip capture for a single session.
If QMD_WIKI_COLLECTION is configured and the local QMD CLI is available, run qmd update after the initial vault files exist so the fresh vault is immediately queryable. No embedding pass is usually needed at setup time because the vault starts empty, so a plain update is enough unless you have already populated pages.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.