wiki-write

wiki-write is a skill for Claude Code from Oshayr/LLM-Wiki. It costs 90 tokens per session (906 once invoked), scanned A, original, MIT.

A wiki-writing tool for saving information in a project knowledge base, including content from web pages, files, or pasted text.

In plain words
What is it for?
Use it to add new wiki pages, update existing ones, ingest groups of Markdown files, or refresh pages whose information is outdated.
Why use it?
It gives you a repeatable place to store notes and research instead of leaving useful information scattered across files and conversations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to add new wiki pages, update existing ones, ingest groups of Markdown files, or refresh pages whose information is outdated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oshayr/llm-wiki/write
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 Oshayr/LLM-Wiki --skill write
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-write

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oshayr/llm-wiki/write"><img src="https://agentmods.dev/badge/skills/oshayr/llm-wiki/write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 906 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.00090 $0.00906
Opus 5.5 $0.00036 $0.00362
Sonnet 5.5 $0.00018 $0.00181
Haiku 4.5 $0.00009 $0.00091

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

Security

Grade A, and why

wiki-write 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 2mo 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.

skills/write/SKILL.md · 92 lines

How it starts

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

Wiki Write

Add or update content in the wiki. Auto-creates .wiki/ if it doesn't exist.

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

Auto-Init

If .wiki/ doesn't exist, create it automatically before proceeding:

.wiki/
  pages/
  index.md        (empty: "# Wiki Index\n\nNo pages yet.\n")
  overview.md     (empty: "# Overview\n\nNo content yet.\n")
  log.md          (empty: "# Activity Log\n")
  SCHEMA.md       (evaluation rules — see below)
  config.yaml     (empty)
  cache/
  raw/
    web/ papers/ notes/ transcripts/ code/ feeds/ assets/

Arguments

  • /wiki-write <url> — fetch and ingest a web page or paper
  • /wiki-write <file-path> — ingest a local file (text, markdown, PDF)
  • /wiki-write "text..." — ingest pasted text
  • /wiki-write --batch <dir> — ingest all .md files in a directory
  • /wiki-write --update <slug> — update an existing page autonomously
  • /wiki-write --update <slug> <url> — update page with content from URL
  • /wiki-write --refresh-stale — find and refresh stale pages based on freshness tier

Ingest (default — no --update flag)

Launch the wiki-writer agent with mode: ingest:

  • Fetches content (via bin/fetch.py chain: cache → Jina → trafilatura → WebFetch)
  • Saves raw source to .wiki/raw/
  • Writes source summary page and entity/concept pages to .wiki/pages/
  • Runs backlink audit via bin/backlinks.py update .wiki/pages
  • Updates .wiki/index.md, .wiki/overview.md, .wiki/log.md
  • No confirmation pause — runs end-to-end autonomously

Report: pages written, pages updated, confidence assigned.

Update (--update)

Launch the wiki-writer agent with mode: update:

  1. Reads current page
  2. Generates proposed changes
  3. Runs contradiction sweep against high-confidence pages
  4. Applies changes directly — same autonomous behavior as ingest
  5. Updates index.md and log.md

Refresh Stale (--refresh-stale)

Finds pages past their freshness tier TTL (see freshness tiers in /wiki-maintain). For each: searches for fresh sources → applies updates autonomously.

Read the full file on GitHub · 92 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. 2mo ago First seen · 92 lines · 90 tokens per session scan A b2b787292e52

Subscribe to this mod's changes

wiki-write is a skill published in the GitHub repository Oshayr/LLM-Wiki (50 stars, last pushed 6mo ago), licensed MIT. It adds 90 tokens to every session and 906 once invoked, about $0.0004 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 skills, from other repositories

llm-wiki

Build and maintain an LLM-curated knowledge base from papers, articles, transcripts, notes and project findings. Ingest sources into linked Markdown, answer questions with citations, lint or upgrade a wiki, and preserve useful synthesis across sessions and agents. Also capture verified task experience, consolidate…

praneybehl/llm-wiki-plugin · 143 tokens

new

Start a new session — save summary to memory, then mark as reset so next message gets a fresh greeting. OpenClaw-compatible. Triggers on /new, /reset, /agent:new, "nueva sesión", "new session", "reset".

crisandrews/ClawCode · 54 tokens

compact

Flush important session context to daily log (manual memory flush). Does NOT invoke native /compact. Triggers on /compact, /agent:compact, /flush, "guarda memoria", "flush".

crisandrews/ClawCode · 43 tokens

alive:save

The human wants to checkpoint. Or: the stash has grown heavy — 5+ items, 30+ minutes, a natural pause in the work. The squirrel doesn't decide when to save. It surfaces the need and lets the human pull the trigger. Runs the full save protocol: confirms stash, writes log, updates state, generates projections…

alivecontext/alive · 78 tokens

alive:capture-context

Use when external content arrives in the session — emails, transcripts, screenshots, documents, files, or in-session research worth keeping. Also use when there's nothing obvious to capture — the skill checks 03Inbox/ for unrouted files and enters inbox scan mode. Stores raw content, routes to bundles, extracts tasks…

alivecontext/alive · 74 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens