wenlan

A local-first knowledge base that coding agents build while they work. It turns learned information into source-cited wiki pages and refreshes them between sessions.

In plain words
What is it for?
Use it to store and recall project knowledge, maintain a cited internal wiki, and provide updated context across sessions.
Why use it?
It reduces the need to rediscover project facts, decisions, and lessons in every new conversation. Agents can start with knowledge carried forward from earlier work.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add 7xuanlu/wenlan
agentmods
npx agentmods add plugins/7xuanlu/wenlan/plugin
Clone the repo
git clone --depth 1 https://github.com/7xuanlu/wenlan

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

wenlan 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 today.

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/.claude-plugin/plugin.json · 24 lines

What it actually says

{
  "name": "wenlan",
  "description": "A living knowledge base your agents build as they work. What they learn becomes source-cited wiki pages that refresh between sessions, so each new thread starts from your latest work.",
  "version": "0.17.6",
  "author": {
    "name": "Qi-Xuan Lu",
    "url": "https://github.com/7xuanlu"
  },
  "homepage": "https://github.com/7xuanlu/wenlan",
  "repository": "https://github.com/7xuanlu/wenlan",
  "license": "Apache-2.0",
  "category": "productivity",
  "keywords": [
    "claude-code",
    "wiki",
    "knowledge-base",
    "notes",
    "memory",
    "recall",
    "mcp",
    "local-first"
  ]
}
Files

What ships with it

1 file beside plugin.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 41b3c8ab0ea8
  2. yesterday First seen · 24 lines scan A aa8b02c671f6

Subscribe to this mod's changes

wenlan is a plugin published in the GitHub repository 7xuanlu/wenlan (60 stars, last pushed yesterday), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.