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.
npx agentmods add instructions/7xuanlu/wenlan/agents-mdgit clone --depth 1 https://github.com/7xuanlu/wenlanWrote 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.
[](https://agentmods.dev/instructions/7xuanlu/wenlan/agents-md)<a href="https://agentmods.dev/instructions/7xuanlu/wenlan/agents-md"><img src="https://agentmods.dev/badge/instructions/7xuanlu/wenlan/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01347 | $0.01347 |
| Opus 5 | $0.00674 | $0.00674 |
| Sonnet 5 | $0.00269 | $0.00269 |
| Haiku 4.5 | $0.00135 | $0.00135 |
Grade A, and why
wenlan AGENTS.md 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Wenlan is a local-first agent memory system. This monorepo ships the daemon, CLI, shared wire types, business-logic core, MCP server, and Tauri desktop app.
Keep this file to repository-wide behavior. Detailed facts, flag receipts, eval methodology, and historical decisions belong in the owning reference or runbook and are read only when the task needs them.
Start here
| Work | Read |
|---|---|
| Business logic, storage, retrieval, enrichment | crates/wenlan-core/AGENTS.md |
| HTTP daemon and runtime workers | crates/wenlan-server/AGENTS.md |
| Desktop app and frontend | app/AGENTS.md or the closest nested AGENTS.md |
| React frontend (Tauri UI) | src/AGENTS.md |
| Browser e2e tests | e2e/AGENTS.md |
| Browser-only preview harness | preview/AGENTS.md |
| Release, sidecar, and repo-inventory scripts | scripts/AGENTS.md |
| Eval fixtures and artifacts | app/eval/AGENTS.md |
| Rust eval runners and experiment design | crates/wenlan-core/src/eval/AGENTS.md |
| Test routing and CI layers | docs/test-layers.md |
| Platform and release work | docs/cross-platform.md, RELEASING.md |
| Live daemon/app verification | .claude/skills/run-wenlan/SKILL.md, then the relevant verify/prove skill |
Build and verification
The default Cargo workspace covers the five daemon crates; the desktop app must be
selected explicitly with -p wenlan-app.
- During implementation, run the smallest test that exercises the changed behavior.
- Before publishing a stable head, run the affected-package and reverse-dependency
closure selected by the existing CI planner, or locally via
WENLAN_PUSH_FULL=1 git push(pre-push is fast/non-compiling by default; CI is the required gate). - The full workspace suite is the CI/main backstop, not a per-worker or per-review-pass default. Do not rerun an unchanged, trustworthy receipt without a concrete reason.
- Eval quality runs, live GPU smokes, and deployed checks are measurement lanes. Run them only when the change or requested evidence requires them.
- A missing fixture or unavailable gate is
unchecked, never a pass. Followdocs/ci-flake-policy.mdbefore rerunning or quarantining an intermittent CI failure.
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.
- 4d ago First seen · 98 lines · 1,347 tokens per session scan A 4594cfc3d4e5
wenlan AGENTS.md is an instructions file published in the GitHub repository 7xuanlu/wenlan (62 stars, last pushed today), licensed Apache-2.0. It adds 1,347 tokens to every session, about $0.0067 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-08-30.
Other instructions, from other repositories
obsidian-llm-wiki AGENTS.md
AGENTS.md instructions for green-dalii/obsidian-llm-wiki, covering llm wiki plugin project development standards, 🛡️ six-gate quality closure, gate 1: five-gate automated, gate 2: no side effects and gate 3: no breaking changes.
remnic AGENTS.md
AGENTS.md instructions for joshuaswarren/remnic, covering remnic - agent guide, architecture boundaries (non-negotiable), upstream references, adapter implementation rules and openclaw compatibility window.
engraphis AGENTS.md
AGENTS.md instructions for Coding-Dev-Tools/engraphis, covering agents.md — engraphis, internal subagent delegation, 0. read this first — two architectures live in one package, 1. commands and ── unified dashboard + memory inspector ──.
braindb CLAUDE.md
Claude Code instructions for dimknaf/braindb, covering braindb — claude instructions, ⚠ tool priority — read this first, it overrides habit, at the start of every session, 1. get always-on rules (behavioral guidelines) and project structure.
neurostack CLAUDE.md
Instructions for raphasouthall/neurostack, covering neurostack - claude code guide, quick reference, installation, mcp server (recommended for claude code) and openai-compatible api.
llm-wiki-newsroom CLAUDE.md
Instructions for alfadur7/llm-wiki-newsroom, covering llm wiki newsroom, roles, universal cycle, the four loops and reground.