wiki-mode

wiki-mode is a skill for Claude Code from AgriciDaniel/claude-obsidian. It costs 83 tokens per session (916 once invoked), scanned A, original, MIT.

A vault-filing guide for Obsidian, an app for linked notes. It reads the vault's chosen method—such as PARA, LYT, or Zettelkasten—and suggests where new concepts or sources should go.

In plain words
What is it for?
Use it to check or change the vault's filing method and to get suggested destinations for planned concept or source notes.
Why use it?
It helps you follow one filing approach consistently instead of guessing where each note belongs. It gives suggestions only and does not create or move notes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-obsidian plugin — 15 skills, 3 agents, 2 hooks shipped together

Good fit Use it to check or change the vault's filing method and to get suggested destinations for planned concept or source notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agricidaniel/claude-obsidian/wiki-mode
About the project

claude-obsidian is a local knowledge system that turns source material into linked, source-cited Markdown notes in an Obsidian vault for use with Claude Code and compatible agent hosts. People use it to capture research, retrieve evidence-grounded answers, maintain knowledge, and map connections while retaining ownership of their files. The catalogue entries provide workflows and extensions for operating this knowledge system.

AgriciDaniel/claude-obsidian · 14,763 stars · on GitHub

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 AgriciDaniel/claude-obsidian --skill wiki-mode
Clone the repo
git clone --depth 1 https://github.com/AgriciDaniel/claude-obsidian

Made for: Claude Code.

Or install claude-obsidian, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 2 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-mode/github.svg)](https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-mode)
Your own site
<a href="https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-mode"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-mode/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 wiki-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/agricidaniel/claude-obsidian/wiki-mode"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-obsidian/wiki-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 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.00083 $0.00916
Opus 5 $0.00042 $0.00458
Sonnet 5 $0.00017 $0.00183
Haiku 4.5 $0.00008 $0.00092

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

Security

Grade A, and why

wiki-mode 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 10d ago.

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.

skills/wiki-mode/SKILL.md · 91 lines

How it starts

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

Route by vault methodology

This skill returns filing suggestions. It does not write knowledge pages or move existing notes. If .vault-meta/mode.json is absent, use generic. If the file exists but is invalid, fail closed and repair it through a reviewed configuration operation before suggesting routes; never silently substitute Generic for corrupt user configuration.

Resolve the installed product root from this skill's own location, not from the vault or current working directory:

PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
MODE_HELPER="$PRODUCT_ROOT/scripts/wiki-mode.py"
test -f "$CORE" && test -f "$MODE_HELPER"

Read and route safely

Always select the vault explicitly:

python3 "$MODE_HELPER" --vault "$VAULT" get
python3 "$MODE_HELPER" --vault "$VAULT" config
python3 "$MODE_HELPER" --vault "$VAULT" route concept "Concept name"
python3 "$MODE_HELPER" --vault "$VAULT" route source "Source title"

The helper validates the selected vault, confines paths, sanitizes names, and prints a suggestion only. A calling skill may override the suggestion when the user supplies a more specific project, area, MOC, or parent note, but it must still apply its eventual writes through one operation transaction.

Mode Routing intent
generic Type-based folders such as sources, entities, concepts, and sessions.
lyt Atomic notes under wiki/notes/, connected through MOCs.
para Projects, Areas, Resources, or Archives chosen by actionability.
zettelkasten Flat atomic notes with time-sortable, collision-resistant identifiers and explicit links.

Use the templates under templates/ as structural guidance, not authority to overwrite user conventions.

Change mode

A mode change is one configuration operation, dry-run first:

  1. Read the current .vault-meta/mode.json, or start from the helper's default config when it is absent.
  2. Validate the requested mode as exactly generic, lyt, para, or zettelkasten. Preserve the other mode-specific settings.
  3. Choose and retain a pinned UTC timestamp and operation ID for both commands.
  4. Preview the canonical configuration transaction; the command records the current target hash and limits the write to .vault-meta/mode.json:

Read the full file on GitHub · 91 lines

Files

What ships with it

6 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. 10d ago First seen · 91 lines · 83 tokens per session scan A 13800d7af854

Subscribe to this mod's changes

wiki-mode is a skill published in the GitHub repository AgriciDaniel/claude-obsidian (14,763 stars, last pushed 14d ago), licensed MIT. It adds 83 tokens to every session and 916 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

follower-onboard

Onboard a new machine as a receive-only follower on a multi-machine agent network: it reads the shared vault, canon, skills and memory, runs nothing heavy locally (no RAG, reindex or GPU), and never receives executable hooks from the hub. Checklist-driven, with a verify step at each stage. Triggers: "/follower-onboard…

tonydzi/second-brain-starter-kit · 79 tokens

claudeai-sync

Pull new and changed claude.ai web conversations into an Obsidian vault, extract artifacts as first-class notes, concept-link them, and refresh the RAG index and dashboard. Idempotent: curated notes are never overwritten. Triggers: "/claudeai-sync", "pull claude.ai", "grab new claude.ai chats".

tonydzi/second-brain-starter-kit · 74 tokens

mine-channel

Mine any Telegram channel or chat for signal in one command: incremental zero-token scrape, deterministic detector shortlist, LLM judge for what is genuinely valuable to this owner, then linked vault notes, a database row, a map-of-content entry and reindex. Triggers: "/mine-channel ", "alpha from ".

tonydzi/second-brain-starter-kit · 72 tokens

chat-search

Search inside past agent sessions and continue the one that matters with a single command. Uses a separate episodic session index, so raw chat noise never pollutes the curated RAG. Triggers: "/chat-search", "which chat discussed X", "did we already research X", "search old chats".

tonydzi/second-brain-starter-kit · 64 tokens

five-hard

Have the second brain ask the owner five hard questions about their own long-held beliefs and codex entries that have not been revisited, so assumptions stop fossilizing. Monthly or on demand. Triggers: "/five-hard", "challenge my beliefs", "pressure-test my views".

tonydzi/second-brain-starter-kit · 59 tokens

precedent

Check whether something was already decided before proposing it: searches the decisions journal, the declined registry and the rules codex plus semantic search, and returns what was decided, why, what was rejected, and under what condition to revisit. Triggers: "/precedent ", "did we already decide this".

tonydzi/second-brain-starter-kit · 65 tokens