wiki-scan

wiki-scan is a skill for Claude Code from ihudak/ihudak-claude-plugins. It costs 73 tokens per session (1,039 once invoked), scanned A, original, MIT.

A command that scans Markdown files in an Obsidian vault, a folder used for linked notes, to find files that are new or changed since the last import. It shows the proposed changes and asks for approval before importing them.

In plain words
What is it for?
Use it to detect new or edited notes in selected folders, compare them with the import record, and batch-import only those files.
Why use it?
It avoids checking every note manually and prevents unchanged files from being imported again. The report and confirmation let you review what will happen first.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to detect new or edited notes in selected folders, compare them with the import record, and batch-import only those files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihudak/ihudak-claude-plugins/wiki-scan"><img src="https://agentmods.dev/badge/skills/ihudak/ihudak-claude-plugins/wiki-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,039 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.00073 $0.01039
Opus 5 $0.00036 $0.00519
Sonnet 5 $0.00015 $0.00208
Haiku 4.5 $0.00007 $0.00104

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

Security

Grade A, and why

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

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-scan/SKILL.md · 159 lines

How it starts

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

wiki-scan

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

Invoke with: /wiki-scan [directory]

If no directory argument is given, scan all Layer 1 directories plus .raw/.


Step 1 — Resolve VAULT_PATH and target directories

Vault path: ~/obsidian_vault by default; set VAULT_PATH to override. WSL users with a Windows-side vault must set VAULT_PATH explicitly (e.g. /mnt/c/Users/<name>/obsidian_vault).

Default scan targets (all Layer 1 + inbox):

Meetings/
Daily/
Projects/
Customers/
People/
Clippings/
Research/
.raw/

If a directory argument was given, scan only that directory tree.


Step 2 — Read _manifest.json

Read wiki/_manifest.json. If it does not exist, treat all files as new.


Step 3 — Enumerate files and compute hashes

For each .md file in the target directory tree:

find "<dir>" -name "*.md" -not -path "*/_processed/*"

For each file, compute hash:

md5sum "<filepath>" | cut -d' ' -f1

Classify each file:

  • New: path not in manifest → needs ingest
  • Changed: path in manifest, hash differs → needs re-ingest
  • Unchanged: path in manifest, hash matches → skip

Step 4 — Report and confirm

Show the scan summary before processing anything:

Wiki Scan Results — <directory or "all sources">
─────────────────────────────────────────────────
New files (N):
  - Meetings/MGD/2026-04-15 Sprint Review.md
  - .raw/articles/mcp-patterns-2026-04-20.md

Changed files (M):
  - Projects/Products/P43241 MCP server for Managed.md  (hash changed)

Unchanged files: K (skipping)

Proceed with ingesting N new + M changed files? [yes/no]

Wait for explicit confirmation before proceeding. If the user says no, stop.


Step 5 — Ingest each new/changed file

Process files sequentially. For each file, follow the full wiki-ingest workflow (Steps 2–10 of wiki-ingest skill — delta check, read, extract, resolve, write pages, update index, log, manifest, hot cache).

Update _log.md once per file during processing (not a single batch entry at the end).

Read the full file on GitHub · 159 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. 4d ago First seen · 159 lines · 73 tokens per session scan A c51a59ec68ce

Subscribe to this mod's changes

wiki-scan is a skill published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,039 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-09-05.