loop-wiki

loop-wiki is a skill for Claude Code, Codex from uninhibited-scholar/obsidian-loop-wiki. It costs 208 tokens per session (2,179 once invoked), scanned A, original, MIT.

A workflow for organizing an Obsidian vault, a folder of linked Markdown notes, into a structured knowledge base.

In plain words
What is it for?
Use it to initialize or grow a vault, turn source material into typed linked notes, maintain indexes and maps of content, and record what each run changed.
Why use it?
It reduces invented naming schemes and messy AI-generated notes by requiring each organizing pass to have checkable goals, limits, and an audit record.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/uninhibited-scholar/obsidian-loop-wiki/skill
Any agent
npx skills add uninhibited-scholar/obsidian-loop-wiki --skill skill
Clone the repo
git clone --depth 1 https://github.com/uninhibited-scholar/obsidian-loop-wiki

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 loop-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/uninhibited-scholar/obsidian-loop-wiki/skill.svg)](https://agentmods.dev/skills/uninhibited-scholar/obsidian-loop-wiki/skill)
Your own site
<a href="https://agentmods.dev/skills/uninhibited-scholar/obsidian-loop-wiki/skill"><img src="https://agentmods.dev/badge/skills/uninhibited-scholar/obsidian-loop-wiki/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00208 $0.02179
Opus 5 $0.00104 $0.01090
Sonnet 5 $0.00042 $0.00436
Haiku 4.5 $0.00021 $0.00218

Measured 4d ago against content hash 08e80a07480c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loop-wiki 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify_wiki.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/SKILL.md · 174 lines

How it starts

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

loop-wiki

Turn an Obsidian vault into a knowledge base that grows itself: raw material goes in, and the Agent compiles it into typed, cross-linked nodes that form a visible graph — every run leaving an audit trail you can trust.

The hard-won lesson behind this skill: an Agent left to "just organize my notes" will quietly invent a new naming scheme every day and produce AI-generated clutter instead of knowledge. The fix is Loop Engineering — treat each organizing pass as a loop with a machine-verifiable goal, guardrails on what it may not do, and a verification pass that catches the Agent gaming its own success criteria. That discipline is what makes the vault trustworthy enough to run unattended later.

Before anything: locate and validate the vault

The vault path lives in WIKI_PATH. Never guess it, never hardcode a path.

echo "$WIKI_PATH" && ls "$WIKI_PATH"
  • If WIKI_PATH is empty: ask the user for their vault path and suggest they export WIKI_PATH="/path/to/vault". Do not proceed without it.
  • If the path exists but has no SCHEMA.md: this is an uninitialized vault. Run the Initialize a vault flow below before doing anything else.
  • If SCHEMA.md exists: read SCHEMA.md, index.md, and log.md first. These three files are the contract. The rules in SCHEMA.md override your own instincts about naming and structure — follow them, don't relitigate them.

The two control files you must respect every run

File Role Your obligation
SCHEMA.md The rulebook: folder meanings, naming, wikilink policy Obey it. If a rule is missing, propose adding it rather than improvising silently.
index.md The entry map: links to key concepts, MOCs, recent updates Update it whenever you add an important node.
log.md The audit trail: what changed, from which source, what's unverified Append a dated entry every run. No log entry = the change didn't happen.

Read the full file on GitHub · 174 lines

Files

What ships with it

3 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. 4d ago First seen · 174 lines · 208 tokens per session scan A 08e80a07480c

Subscribe to this mod's changes

loop-wiki is a skill published in the GitHub repository uninhibited-scholar/obsidian-loop-wiki (2 stars, last pushed 2mo ago), licensed MIT. It adds 208 tokens to every session and 2,179 once invoked, about $0.0010 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-31.

Related

Other skills, from other repositories

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their…

breferrari/obsidian-mind · 102 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

breferrari/obsidian-mind · 63 tokens

excalidraw-diagram

Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".

breferrari/obsidian-mind · 67 tokens

mermaid-visualizer

Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.

breferrari/obsidian-mind · 57 tokens

qmd

Search the vault using QMD semantic search. Use PROACTIVELY before reading files. Preference order: (1) MCP tools — mcpqmdquery, mcpqmdget, mcpqmdmultiget, mcpqmdstatus — if they appear in your tool menu, use them first; (2) CLI qmd --index ... as fallback; (3) Grep/Glob only when QMD is not installed. Trigger…

breferrari/obsidian-mind · 142 tokens

sageox

Complete toolkit for SageOx team knowledge. Query team context, manage AI coworkers, distill and summarize activity, see what coworkers are working on, catch up after time away, import/export knowledge, and manage configured repos. Use when: searching team discussions, loading expert agents, running distillation…

sageox/ox · 118 tokens