wiki-schema

wiki-schema is a skill for Claude Code from ihudak/ihudak-claude-plugins. It costs 98 tokens per session (3,247 once invoked), scanned A, original, MIT.

A rulebook for an Obsidian wiki, a linked collection of Markdown notes. It defines page types, metadata fields, tags, links, indexes, source boundaries, and task-writing rules.

In plain words
What is it for?
It is used before importing, searching, saving, checking, or indexing knowledge in the wiki.
Why use it?
It gives every wiki operation the same format and prevents the wiki from changing source folders that are meant to remain read-only.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code.

Part of the obsidian-llm-wiki plugin — 11 skills, 10 commands shipped together

Good fit It is used before importing, searching, saving, checking, or indexing knowledge in the wiki.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihudak/ihudak-claude-plugins/wiki-schema
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 ihudak/ihudak-claude-plugins --skill wiki-schema
Clone the repo
git clone --depth 1 https://github.com/ihudak/ihudak-claude-plugins

Made for: Claude Code.

Or install obsidian-llm-wiki, the plugin that ships this one along with the rest of its 11 skills, 10 commands.

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-schema

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihudak/ihudak-claude-plugins/wiki-schema"><img src="https://agentmods.dev/badge/skills/ihudak/ihudak-claude-plugins/wiki-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,247 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.
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.00098 $0.03247
Opus 5 $0.00049 $0.01623
Sonnet 5 $0.00020 $0.00649
Haiku 4.5 $0.00010 $0.00325

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

Security

Grade A, and why

wiki-schema 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.

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.

plugins/obsidian-llm-wiki/skills/wiki-schema/SKILL.md · 422 lines

How it starts

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

Wiki Schema — obsidian-llm-wiki

Vault knowledge schema for the wiki layer. All wiki skills read this file before operating. This is the single source of truth for conventions, boundaries, and formats.

All /wiki-* slash commands follow these conventions identically across both Claude Code and GitHub Copilot.


Critical Boundary Rule

Wiki operations (ingest, scan, query, save, lint, hot, tags-refresh) MUST NEVER write to or delete files from:

  • Meetings/
  • Daily/
  • Projects/
  • Customers/
  • People/
  • Clippings/
  • Research/

These are Layer 1 — read-only knowledge sources. The wiki reads them; it never modifies them.

The wiki layer includes two task-management commands (/wiki-task and /wiki-tasks-extract) that intentionally write outside the wiki directory — to Projects/ and Tasks.md. These commands follow the task-creation rules in _shared/task-rules.md. All other wiki operations remain wiki-directory-only.


Three-Layer Source Model

Layer 1 — Sources (read-only for wiki):
  Meetings/            ← meeting notes (primary knowledge source)
  Daily/               ← daily notes — extract ## Notes and ## Worklog sections only;
                          skip Dataview task queries (they are not content)
  Projects/            ← project context, decisions, tech stack
                          includes Products/, Data Generators/, Jira/ subdirs
  Customers/           ← customer notes
  People/              ← person/team notes
  Clippings/           ← web clippings
  Research/            ← research notes

Layer 2 — Inbox (read + archive after processing):
  .raw/                ← external sources: PDFs, exports, web clips
                          The ONLY directory wiki may clean up.
                          After successful ingest: move to .raw/_processed/YYYY-MM/
                          For HTML files: use defuddle if available before ingesting
                            npx defuddle parse <file> --md

Layer 3 — Wiki output (write exclusively here):
  wiki/      ← all wiki pages and meta files

Read the full file on GitHub · 422 lines

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 First seen · 422 lines · 98 tokens per session scan A c47c2679e1dd

Subscribe to this mod's changes

wiki-schema is a skill published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 3,247 once invoked, about $0.0005 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-09-05.