wiki

wiki is a skill for Claude Code from wenlan-app/wenlan. It costs 232 tokens per session (5,405 once invoked), scanned A, original, Apache-2.0.

A repository documentation tool that creates a small wiki from the code, with each important note linked to the lines it came from.

In plain words
What is it for?
Use it to create missing architecture and project-orientation notes for a Git repository. Existing notes are left alone; updating notes after code changes is handled separately.
Why use it?
It gives developers orientation notes without making them search through the whole codebase. The links also show when a note may no longer match the code.

Skill for Claude Code

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

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the wenlan plugin — 8 skills, 2 hooks shipped together

Good fit Use it to create missing architecture and project-orientation notes for a Git repository. Existing notes are left alone; updating notes after code changes is handled separately.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add wenlan-app/wenlan
Claude Code
/plugin install wenlan

Made for: Claude Code.

Or install wenlan, the plugin that ships this one along with the rest of its 8 skills, 2 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenlan-app/wenlan/wiki"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 232 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,405 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.00232 $0.05405
Opus 5.5 $0.00093 $0.02162
Sonnet 5.5 $0.00046 $0.01081
Haiku 4.5 $0.00023 $0.00541

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

Security

Grade A, and why

wiki 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 12d 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.

plugin/skills/wiki/SKILL.md · 377 lines

How it starts

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

/wenlan docs

/wenlan wiki is the earlier name of this command and means the same. The steps below still say "wiki" for the set of pages, and the wenlan wiki ... terminal commands they run are the spelling every installed Wenlan understands (newer ones also answer to wenlan repo ...).

Read this repository and write docs about it in its Space. How many pages it has depends on the repository: a small tool may need five, a large monorepo twenty or more. The overview page lists them all. Each key sentence is tied to the code lines it was read from (a code basis), so Wenlan can tell when the code moved on. The pages are written by the AI. A rerun writes only the pages that are missing. A page whose cited code changed is brought up to date by steep (/wenlan steep, or Wenlan's automatic mode), not here: wiki writes new pages, steep keeps them current. Reply in the user's language.

1. Resolve repository and Space

The skill accepts one optional inline token of the form space:<name>. The bundled resolver strips it and prints the resolved Space line itself:

raw_args="<the full argument string passed to /wenlan docs>"
resolved="$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-space.sh" --cwd "$PWD" --args "$raw_args")"
space="$(printf '%s\n' "$resolved" | cut -f1)"
repo_root="$(git -C "$PWD" rev-parse --show-toplevel)"

If the resolver cannot run (a background run may allow only read-only commands), take the Space from the space:<name> token instead.

If the git rev-parse fails, say this folder is not a git repository and stop. If space is empty, say this folder is not matched to a Space and that /wenlan docs space:<name> names one, then stop. Do not ask a question.

2. Plan the pages

Call list_pages with space="<space>" once. If it answers that the Space is unknown, this repository has no pages yet: register the Space once with "$W" spaces add "$space" (W as in step 8), then plan from the repository as below. Do not stop to ask.

Find the overview page by exact title (below). If it exists, call read_page on it: its ## Pages section (## 頁面 in Chinese) is the plan. Then look over the repository once more for an important part or flow the list misses, such as a new package or a new entry point, and add it to the plan.

Read the full file on GitHub · 377 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. 12d ago Changed · +56 lines · +62 tokens per session c6c0862cd4b6
  2. 1mo ago Changed · +22 lines e0c880b3af9a
  3. 1mo ago Changed · +171 lines · +47 tokens per session 84e7bd25798b
  4. 1mo ago First seen · 128 lines · 123 tokens per session scan A 2529e17053c0

Subscribe to this mod's changes

wiki is a skill published in the GitHub repository wenlan-app/wenlan (502 stars, last pushed today), licensed Apache-2.0. It adds 232 tokens to every session and 5,405 once invoked, about $0.0009 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-10-22.

Related

wiki compared with skills from other repositories

wiki next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wikiwenlan-app/wenlanSkill502todayApache-2.0A232Claude Code
run-wenlan-app7xuanlu/wenlanSkill791mo agoApache-2.0A71Claude Code
help7xuanlu/wenlanSkill791mo agoApache-2.0A39Claude Code, Codex
verify7xuanlu/wenlanSkill791mo agoApache-2.0A63Claude Code
statskalinbogatzevski/captain-memoSkill56d agoApache-2.0A36Claude Code
searchkalinbogatzevski/captain-memoSkill56d agoApache-2.0A49Claude Code
doctorkalinbogatzevski/captain-memoSkill56d agoApache-2.0A52Claude Code