llm-wiki: Instructions file for Claude Code

CLAUDE.md

llm-wiki CLAUDE.md is an instructions file for Claude Code from nvk/llm-wiki. It costs 2,151 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin; positional $N argument.

This is nvk/llm-wiki's own configuration. It tells Claude Code how to work on llm-wiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llm-wiki configures →

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,466 stars · on GitHub · llm-wiki.net

Reuse

Borrowing it

Nothing to install: this file belongs to nvk/llm-wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nvk/llm-wiki/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/nvk/llm-wiki

Made for: Claude Code.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,151 This file is loaded in full into every session.
When invoked 2,151 The same file — it is already loaded in full.
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.02151 $0.02151
Opus 5.5 $0.00860 $0.00860
Sonnet 5.5 $0.00430 $0.00430
Haiku 4.5 $0.00215 $0.00215

Measured 2d ago against content hash 93f079250b1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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 · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 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-dsh-sync.sh          # DeepSeek Harness skill mirror + isolated install
./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 · 168 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. 2d ago Changed · +11 lines · +113 tokens per session 93f079250b1b
  2. 4d ago Changed · -11 tokens per session 4dd293684ffe
  3. 1mo 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,466 stars, last pushed 2d ago), licensed MIT. It adds 2,151 tokens to every session, about $0.0086 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 instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,786 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens