llm-wiki CLAUDE.md

llm-wiki CLAUDE.md is an instructions file for coding agents from nvk/llm-wiki. It costs 2,049 tokens per session, scanned A, original, MIT.

A set of project instructions for developing and testing llm-wiki, a tool that organizes technical knowledge for language models. It also explains how coding agents should authenticate with GitHub and send code changes.

In plain words
What is it for?
Use it when changing llm-wiki code, documentation, commands, or tests. It covers quick structural checks, behavior evaluations, and GitHub login and upload procedures.
Why use it?
It gives agents consistent rules for running the right tests and using GitHub safely. This reduces missed checks and connection problems caused by SSH setup.

Instructions file

About the project

LLM Wiki is a system that uses AI agents to research sources, compile knowledge bases, organize project briefs, and answer questions from the resulting wiki. It is used to turn rough ideas and investigations into structured, reusable knowledge for agents, including Claude Code, Codex, and OpenCode. The catalogue entries are commands, hooks, skills, instructions, and a plugin that implement its workflow.

nvk/llm-wiki · 1,188 stars · on GitHub

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.

agentmods
npx agentmods add instructions/nvk/llm-wiki/claude-md
Clone the repo
git clone --depth 1 https://github.com/nvk/llm-wiki

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 llm-wiki CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nvk/llm-wiki/claude-md.svg)](https://agentmods.dev/instructions/nvk/llm-wiki/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nvk/llm-wiki/claude-md"><img src="https://agentmods.dev/badge/instructions/nvk/llm-wiki/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,049 This file is loaded in full into every session.
When invoked 2,049 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02049 $0.02049
Opus 5 $0.01025 $0.01025
Sonnet 5 $0.00410 $0.00410
Haiku 4.5 $0.00205 $0.00205

Measured 5d ago against content hash cfd46c580580, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

llm-wiki CLAUDE.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 5d 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.

CLAUDE.md · 157 lines

How it starts

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

llm-wiki Development Guide

Testing

Run tests before declaring any change to plugin code done.

GitHub Auth And Transport

Agents should use GitHub CLI web login and HTTPS git transport, not SSH. SSH host-key prompts and known_hosts writes are fragile inside nono profiles, and public plugin updates do not need SSH.

Expected setup:

gh auth login --web --git-protocol https
gh auth setup-git

When pushing from an agent session, prefer an explicit HTTPS URL with gh's git credential helper so the command does not depend on the checkout's origin remote using SSH:

git -c credential.helper='!gh auth git-credential' push https://github.com/nvk/llm-wiki.git <branch>:master

If a marketplace checkout has an SSH remote, switch it to HTTPS before updating:

git -C ~/.claude/plugins/marketplaces/llm-wiki remote set-url origin https://github.com/nvk/llm-wiki.git

Structural tests (always run — no LLM, instant)

./tests/test-plugin-validate.sh   # plugin manifest + command frontmatter
./tests/test-docs-consistency.sh   # README command table + manifest/version drift
./tests/test-structure.sh          # wiki fixture validation (84 assertions)
./tests/test-local-cli-lint.sh     # local scripts/llm-wiki lint helper
./tests/test-local-cli-retract.sh  # local secret-safe retract + verification helper
./tests/test-local-cli-adapters.sh # private-adapter registry + v1 execution boundary
./tests/test-local-cli-specialists.sh # personal specialist library + topic allowlists
./tests/test-local-cli-checkpoint.sh # project handoff integrity + mandatory privacy seal/overrides
./tests/test-session-capture.sh    # deterministic session capture helper
./tests/test-session-concurrency.sh # concurrent session-state regression
./tests/test-codex-sync.sh         # Codex plugin mirror matches Claude source
./tests/test-opencode-sync.sh     # OpenCode plugin mirror matches Claude source
./tests/test-token-benchmarks.sh  # budgets + fake Codex/Claude protocol fixtures
./tests/test-query-lite-sync.sh   # shared query profile + read-only DS4 launcher

Read the full file on GitHub · 157 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. 5d ago First seen · 157 lines · 2,049 tokens per session scan A cfd46c580580

Subscribe to this mod's changes

llm-wiki CLAUDE.md is an instructions file published in the GitHub repository nvk/llm-wiki (1,188 stars, last pushed 8d ago), licensed MIT. It adds 2,049 tokens to every session, about $0.0102 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.