wiki-init

wiki-init is a skill for Claude Code from ihudak/ihudak-claude-plugins. It costs 150 tokens per session (2,644 once invoked), scanned A, original, MIT.

A setup skill for an Obsidian wiki, a folder of linked Markdown notes. It creates the wiki's starting folders and files, adds an inbox for new material, and avoids replacing existing data when run again.

In plain words
What is it for?
It is used to initialize or refresh an Obsidian knowledge base with indexes, logs, metadata, and task-related configuration.
Why use it?
It removes the manual work of creating the wiki structure and connecting its rules to the project. Re-running it after updates does not overwrite existing wiki pages or data files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

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

Good fit It is used to initialize or refresh an Obsidian knowledge base with indexes, logs, metadata, and task-related configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihudak/ihudak-claude-plugins/wiki-init
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-init
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-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihudak/ihudak-claude-plugins/wiki-init.svg)](https://agentmods.dev/skills/ihudak/ihudak-claude-plugins/wiki-init)
Your own site
<a href="https://agentmods.dev/skills/ihudak/ihudak-claude-plugins/wiki-init"><img src="https://agentmods.dev/badge/skills/ihudak/ihudak-claude-plugins/wiki-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,644 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.00150 $0.02644
Opus 5 $0.00075 $0.01322
Sonnet 5 $0.00030 $0.00529
Haiku 4.5 $0.00015 $0.00264

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

Security

Grade A, and why

wiki-init 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-init/SKILL.md · 335 lines

How it starts

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

wiki-init

Initialize or re-initialize vault integration. Safe to re-run after plugin updates — existing wiki pages and data files are never overwritten.


Step 1 — Resolve VAULT_PATH

VAULT="${VAULT_PATH:-${HOME}/obsidian_vault}"
[ -d "${VAULT}" ] || { echo "ERROR: vault not found at ${VAULT}. Set VAULT_PATH to your vault location."; exit 1; }
echo "Vault: ${VAULT}"

Step 2 — Create .raw/ inbox

mkdir -p "${VAULT}/.raw"
touch "${VAULT}/.raw/.gitkeep"

Step 3 — Bootstrap wiki/ skeleton files

Create the wiki directory and all four skeleton files. Skip any file that already exists — never overwrite existing data.

mkdir -p "${VAULT}/wiki"

wiki/_index.md — create only if absent:

---
type: meta
title: "Wiki Index"
updated: YYYY-MM-DD
---

# Wiki Index

## Concepts
| Page | Summary | Tags | Updated |
|------|---------|------|---------|

## Entities
| Page | Summary | Tags | Updated |
|------|---------|------|---------|

## Decisions
| Page | Summary | Tags | Updated |
|------|---------|------|---------|

## Patterns
| Page | Summary | Tags | Updated |
|------|---------|------|---------|

## Sources
| Page | Summary | Tags | Updated |
|------|---------|------|---------|

wiki/_log.md — create only if absent:

---
type: meta
title: "Ingest Log"
updated: YYYY-MM-DD
---

# Wiki Ingest Log

(Entries prepended by /wiki-ingest, /wiki-save, /wiki-scan, /wiki-lint, /wiki-tags-refresh, /wiki-hot, /wiki-init)

wiki/_manifest.json — create only if absent:

{
  "ingested": [],
  "last_run": null
}

wiki/hot.md — create only if absent:

# Recent Context

## Last Updated
(never — no wiki sessions yet)

## Current Focus
(none)

## Recent Changes
(none)

Use today's date (YYYY-MM-DD) in the updated: fields of files you create.


Step 4 — Sync wiki-schema to vault

Read skills/wiki-schema/SKILL.md fully.

Create the target directory if needed:

mkdir -p "${VAULT}/.obsidian/copilot"

Read the full file on GitHub · 335 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 · 335 lines · 150 tokens per session scan A 8ce2c52ff192

Subscribe to this mod's changes

wiki-init is a skill published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 6d ago), licensed MIT. It adds 150 tokens to every session and 2,644 once invoked, about $0.0007 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.