krouter-obsidian

krouter-obsidian is a skill for Claude Code, Codex from 398894496-arch/runtime36. It costs 85 tokens per session (768 once invoked), scanned A, original, MIT.

A routing method for finding relevant information in an Obsidian vault, a folder of linked notes and personal knowledge.

In plain words
What is it for?
Use it to retrieve durable preferences, previous decisions, project context, reusable methods, or evidence from the vault.
Why use it?
It narrows searches to the smallest useful set of notes and helps account for preferences, corrections, and project history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to retrieve durable preferences, previous decisions, project context, reusable methods, or evidence from the vault.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/398894496-arch/runtime36/krouter-obsidian
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 398894496-arch/runtime36 --skill krouter-obsidian
Clone the repo
git clone --depth 1 https://github.com/398894496-arch/runtime36

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for krouter-obsidian

README.md
[![agentmods](https://agentmods.dev/badge/skills/398894496-arch/runtime36/krouter-obsidian/github.svg)](https://agentmods.dev/skills/398894496-arch/runtime36/krouter-obsidian)
Your own site
<a href="https://agentmods.dev/skills/398894496-arch/runtime36/krouter-obsidian"><img src="https://agentmods.dev/badge/skills/398894496-arch/runtime36/krouter-obsidian/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for krouter-obsidian

Your own site · 80×15
<a href="https://agentmods.dev/skills/398894496-arch/runtime36/krouter-obsidian"><img src="https://agentmods.dev/badge/skills/398894496-arch/runtime36/krouter-obsidian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.00768
Opus 5 $0.00043 $0.00384
Sonnet 5 $0.00017 $0.00154
Haiku 4.5 $0.00009 $0.00077

Measured 3d ago against content hash b953cf9d3033, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

krouter-obsidian scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/ask_product.py, scripts/canonical_lookup.py, scripts/route_knowledge.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/krouter-obsidian/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

KRouter Obsidian

Set OBSIDIAN_VAULT to the vault root. Run retrieval in the current process. Do not spawn a retrieval agent. Do not add vector storage.

Router script (after install): $HOME/.agents/skills/krouter-obsidian/scripts/route_knowledge.sh. On Windows use python3 route_knowledge.py (same routes).

Workflow

  1. Run route_knowledge.sh status. If the receipt has host_action:, tell the host that line (paste *_API_KEY on 90 系统文件/自动化/自进化钥匙.md, or log in grok / official Codex / claude once). Do not print secrets. Then continue the user's question.
  2. Choose one route: status for current system state; otherwise preference, correction, memory, project, or search.
  3. Send one contiguous distinguishing noun or short phrase. Do not send the full question. Do not join several words with spaces as if they were AND.
  4. Run the router script: route_knowledge.sh <route> [query] (Windows: python3 route_knowledge.py).
  5. If the receipt has canonical_match: true, cite canonical_source as the source. Do not substitute the preferences note unless that is the mapped source.
  6. If the receipt has host_prompt:, ask the host that sentence and stop. Do not pick a winner among suggestions.
  7. Answer and stop when complete. If the receipt has no canonical_match: true, conflict: no, and lists suggestions:, retry one suggested alias. Do not treat a suggestion as a hit until the next receipt says canonical_match: true. Then open that source. Report any remaining gap.

Ask (L3)

At the start of a user utterance that is starting work, run:

python3 $HOME/.agents/skills/krouter-obsidian/scripts/ask_product.py ask --query "<user text>"

If trigger.ask is set, ask prompt and wait. At most one. After adopt / reject / defer, run record --file NAME.md --decision …. record does not write active. If adopt, do the work; on success run promote --file NAME.md. Only promote sets status: active. Miss / ambiguous / already-asked: continue. Triggers live on the provisional page (triggers: a; b) or the vault sidecar; this clone does not ship someone else’s table.

Read the full file on GitHub · 38 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines b953cf9d3033
  2. 5d ago Changed · +8 lines 2f6223c0d9f6
  3. 9d ago First seen · 29 lines · 85 tokens per session scan A d35521af8b8a

Subscribe to this mod's changes

krouter-obsidian is a skill published in the GitHub repository 398894496-arch/runtime36 (37 stars, last pushed 4d ago), licensed MIT. It adds 85 tokens to every session and 768 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

obsidian-setup-consultant

Use this skill whenever the user wants to install, configure, migrate, design, or connect Obsidian as a second brain, knowledge base, cloud-synced vault, or AI/Hermes-readable memory. It is especially important when the user asks for an Obsidian setup prompt, vault architecture, folder structure, plugin…

SikJa/hermes-obsidian-setup-consultant · 124 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens

save

Save a user-selected answer, decision, insight, or session summary into an Obsidian vault as one reviewed transaction. Use only when the user explicitly asks to preserve specific conversation content, not when they supply a file or URL to ingest. Triggers: /save, save this, save that answer, file this conversation…

AgriciDaniel/claude-obsidian · 80 tokens

wiki-fold

Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…

AgriciDaniel/claude-obsidian · 76 tokens

wiki-mode

Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…

AgriciDaniel/claude-obsidian · 83 tokens