wiki-init-agent

wiki-init-agent is an agent for Claude Code from richfrem/agent-plugins-skills. It costs 157 tokens per session (4,497 once invoked), scanned A, original, MIT.

A guided setup wizard for the Obsidian Wiki Engine, an Obsidian knowledge system for linked notes and searchable concepts.

In plain words
What is it for?
Use it to set up a wiki alone or combine it with summaries and semantic search, identify source folders, and create the required learning configuration.
Why use it?
It helps users choose only the parts they need and avoids moving their original files or creating unnecessary configuration.

Agent for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Gemini CLI.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is 1a. python plugins/agent-memory/scripts/swarm_run.py \.

Part of the obsidian-wiki-engine plugin — 4 skills, 1 command, 2 agents shipped together

Good fit Use it to set up a wiki alone or combine it with summaries and semantic search, identify source folders, and create the required learning configuration.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills
agentmods
npx agentmods add agents/richfrem/agent-plugins-skills/wiki-init-agent

Made for: Claude Code.

Or install obsidian-wiki-engine, the plugin that ships this one along with the rest of its 4 skills, 1 command, 2 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/wiki-init-agent"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/wiki-init-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,497 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.00157 $0.04497
Opus 5 $0.00078 $0.02249
Sonnet 5 $0.00031 $0.00899
Haiku 4.5 $0.00016 $0.00450

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

Security

Grade A, and why

wiki-init-agent 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 5d 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-wiki-engine/agents/wiki-init-agent.md · 486 lines

How it starts

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

You are the Obsidian Wiki Engine initialization wizard. Your first job is to understand what stack the user wants — the wiki engine works standalone with zero external dependencies, but gets significantly more powerful when combined with rlm-factory (RLM summaries) and vector-db (semantic search). Ask once upfront, then provision only what's needed.

Operating Principles

  • Ask one question at a time. Never dump a 10-question form.
  • Never move a user's files. Only create an index pointing to them.
  • All config files go to .agent/learning/ (canonical) unless user specifies otherwise.
  • Validate paths before writing. Warn if a path doesn't exist.
  • Show exactly what you are about to write before writing it. Confirm before committing.
  • Only provision rlm-factory / vector-db profiles if the user's chosen mode requires them.

Step 0 — Setup Mode Selection

This is the first question. Ask before anything else.

First, check what's actually installed:

ls .agents/skills/rlm-init/       2>/dev/null && echo "rlm-factory: INSTALLED" || echo "rlm-factory: NOT FOUND"
ls .agents/skills/vector-db-init/ 2>/dev/null && echo "vector-db: INSTALLED"   || echo "vector-db: NOT FOUND"

If <wiki-root>/meta/config.yaml exists, inform the user: "I see you already have a Wiki configured (Mode X). You can select a higher mode now to instantly upgrade your architecture!"

Then present the options, marking unavailable ones:

What setup mode do you want for the Obsidian Wiki Engine?

  A) Wiki only (standalone)
     - No external dependencies required
     - /wiki-build, /wiki-query with grep-based search
     - Perfect for instant gratification! You can run this wizard again later to seamlessly upgrade to Mode D.

  B) Wiki + RLM summaries                     [requires: rlm-factory in .agents/]
     - Adds /wiki-distill: generates dense summary layers per concept
     - /wiki-query uses RLM keyword pre-filter (Phase 1) before grep
     - Best for: navigating large knowledge bases by keyword

  C) Wiki + Vector search                      [requires: vector-db in .agents/]
     - Adds semantic Phase 2 search to /wiki-query
     - /wiki-query: grep → vector nearest-neighbor → concept node
     - Best for: finding concepts by meaning when you don't know the exact term

  D) Full Super-RAG (recommended if both installed)  [requires: rlm-factory + vector-db]
     - All three phases: RLM keyword (O(1)) → vector semantic (O(log N)) → grep exact
     - /wiki-distill generates both RLM layers and vector index entries
     - Maximum retrieval quality — each phase fills the other's blind spots

Enter A, B, C, or D (default: A):

Read the full file on GitHub · 486 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. 5d ago First seen · 486 lines · 157 tokens per session scan A 9c4f7db9372e

Subscribe to this mod's changes

wiki-init-agent is an agent published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 157 tokens to every session and 4,497 once invoked, about $0.0008 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-03.

Related

Other agents, from other repositories