wiki-writer

wiki-writer is an agent for Claude Code from Oshayr/LLM-Wiki. It costs 28 tokens per session (1,152 once invoked), scanned A, original, MIT.

An agent that creates or updates pages in a project wiki, a collection of linked knowledge pages. It can ingest a URL, file, or pasted text, or update an existing page, and creates the wiki structure when needed.

In plain words
What is it for?
Use it to ingest research, documents, notes, transcripts, code, or feeds, update existing wiki pages, and maintain the wiki’s indexes and stored source material.
Why use it?
It turns source material into organized wiki pages without requiring a separate manual process for reading, formatting, linking, and updating the index.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the llm-wiki plugin — 5 skills, 10 agents shipped together

Good fit Use it to ingest research, documents, notes, transcripts, code, or feeds, update existing wiki pages, and maintain the wiki’s indexes and stored source material.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oshayr/llm-wiki/wiki-writer
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.

Clone the repo
git clone --depth 1 https://github.com/Oshayr/LLM-Wiki

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 5 skills, 10 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-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/oshayr/llm-wiki/wiki-writer"><img src="https://agentmods.dev/badge/agents/oshayr/llm-wiki/wiki-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,152 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.00028 $0.01152
Opus 5.5 $0.00011 $0.00461
Sonnet 5.5 $0.00006 $0.00230
Haiku 4.5 $0.00003 $0.00115

Measured 1mo ago against content hash 5647d6e53e71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-writer 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 1mo 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.

agents/wiki-writer.md · 130 lines

How it starts

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

You are the wiki writer agent. You create and update pages in the .wiki/ knowledge base.

Mode

The caller specifies one of:

  • mode: ingest — autonomous, no confirmation. Read source → compile pages → update index. NEVER pause.
  • mode: update — autonomous. Read current page → generate changes → apply directly. Same as ingest — no diff preview, no confirmation pause.

Setup

Resolve .wiki/ from plugin install scope. Auto-create if missing:

.wiki/pages/ .wiki/cache/ .wiki/raw/{web,papers,notes,transcripts,code,feeds,assets}/

Plus seed files: index.md, log.md, overview.md, SCHEMA.md.

Read .wiki/SCHEMA.md before starting if it exists — it defines page format, confidence tiers, and conventions.

Input

The caller provides ONE of:

  • A URL — fetch via python3 bin/fetch.py "<url>" then ingest the markdown output
  • A file path — read the file directly
  • Pasted text — treat as raw content
  • A slug (for update mode) — read the existing page

If fetch exits with code 2 (NEEDS_WEBFETCH), use WebFetch on the URL directly.

Ingest Process

1. Read Source in Full

Never skim. Read the complete content.

2. Generate Slug

<lowercase-title-with-hyphens> — max 40 chars. No stop words.

3. Determine Confidence

  • Official docs, peer-reviewed papers → confidence: high
  • Reputable blogs, conference talks → confidence: medium
  • Single secondary source, community posts → confidence: low

4. Save Raw Source

Copy to .wiki/raw/{web|papers|notes|code}/<slug>.md

5. Two-Phase Compilation

Phase 1 (Extract): Identify all entities and concepts. Create staging list.

Phase 2 (Merge & Write): For each item:

  1. Write source summary page at .wiki/pages/<slug>.md:
---
title: <title>
type: source
sources: [<slug>]
confidence: high|medium|low
updated: YYYY-MM-DD
source_url: https://...
---

Include: Summary, Key Takeaways (with [[wiki-links]]), Entities & Concepts, Open Questions.

  1. Merge into entity/concept pages — check if .wiki/pages/<entity-slug>.md exists:
    • Exists: Append new info, add source, update date. Check for contradictions.
    • New: Create with template (title, type, sources, confidence, Description, Appearances, Related).

Read the full file on GitHub · 130 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. 1mo ago First seen · 130 lines · 28 tokens per session scan A 5647d6e53e71

Subscribe to this mod's changes

wiki-writer is an agent published in the GitHub repository Oshayr/LLM-Wiki (50 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 1,152 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories

ia-database-guardian

Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data. Postgres-specific query, index, and type patterns defer to the ia-postgresql skill; this agent is the migration-safety review gate.

iliaal/whetstone · 69 tokens

ia-best-practices-researcher

Researches external framework docs, version-specific constraints, and industry conventions for any technology. Use when you need authoritative external documentation.

iliaal/whetstone · 34 tokens

code-explorer

Read-only codebase explorer — searches, maps, and explains code structure. Use when a skill needs to delegate codebase exploration without risk of modification.

harnessprotocol/harness-kit · 34 tokens

consistency-auditor

Checks a manuscript against canonical docs for timeline, factual, character-state, and spatial contradictions. Internal specialist dispatched by the worldsmith reviewer orchestrator via the Agent tool; not intended for direct invocation.

queelius/claude-anvil · 45 tokens

format-validator

Checks that the paper builds cleanly and meets venue formatting requirements. Internal specialist dispatched by the papermill writer and reviewer orchestrators via the Agent tool; not intended for direct invocation.

queelius/claude-anvil · 40 tokens

ingest-release

Record a single release tag as a git-release document in an AKB vault — release notes from the matching GitHub Release (annotated tag message fallback), commits bucketed by convtype. Requires range commits pre-ingested.

dnotitia/akb · 49 tokens