Borrowing it
Nothing to install: this file belongs to ddsyasas/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.
curl -O https://raw.githubusercontent.com/ddsyasas/llm-wiki/main/CLAUDE.mdgit clone --depth 1 https://github.com/ddsyasas/llm-wikiWrote 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/ddsyasas/llm-wiki/claude-md)<a href="https://agentmods.dev/instructions/ddsyasas/llm-wiki/claude-md"><img src="https://agentmods.dev/badge/instructions/ddsyasas/llm-wiki/claude-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.1 | $0.00744 | $0.00744 |
| Opus 5 | $0.00372 | $0.00372 |
| Sonnet 5 | $0.00149 | $0.00149 |
| Haiku 4.5 | $0.00074 | $0.00074 |
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 8d 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Brief for Claude Code
You are building LLM Wiki, an open source local-first knowledge base inspired by Andrej Karpathy's LLM Wiki pattern (gist: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f).
Read this first
Before writing any code, read every file in /docs/ in numerical order. Each file is short and focused. Together they form the complete spec.
docs/01-vision.md- What this is and who it's fordocs/02-architecture.md- Stack, repo layout, distributiondocs/03-data-model.md- On-disk structure and SQLite schemadocs/04-features-v1.md- Exact V1 feature scopedocs/05-llm-integration.md- OpenRouter, prompts, JSON contractsdocs/06-ingest-pipeline.md- How sources become wiki pagesdocs/07-chat-threads.md- Chat feature specdocs/08-ui-design.md- Design language and key screensdocs/09-cli-distribution.md- CLI behavior and npm packagingdocs/10-build-order.md- Sequenced build plan, follow this exactlydocs/11-attribution-license.md- Naming, credits, license
Core principles, do not violate
- Everything is a file. The wiki, chats, schema, log all live as plain
.mdfiles in the user's chosen folder. SQLite is metadata only. - Local-first, BYOK. No telemetry, no remote storage, no auth. Users bring their own OpenRouter key.
- One language: TypeScript everywhere. No Python sidecars in V1.
- Cross-platform: Mac, Windows, Linux all supported from day one.
- Karpathy's three operations are central: ingest, query, lint. Build them as separate, well-named modules.
Stack lock-in
- Next.js (App Router) for the whole app
- Tailwind + shadcn/ui for UI
better-sqlite3for metadataopenaiSDK pointed at OpenRouter- pnpm for package management
- TypeScript strict mode
Do not introduce new frameworks without asking.
Working conventions
- TypeScript strict mode, no
anywithout comment explaining why - Functions over classes where possible
- File names: kebab-case
- React components: PascalCase
- No default exports for shared modules, named exports only
- Comments explain why, not what
- Every LLM operation must validate its JSON response before using it
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.
- 8d ago First seen · 66 lines · 744 tokens per session scan A 4c4244f6a19d
llm-wiki CLAUDE.md is an instructions file published in the GitHub repository ddsyasas/llm-wiki (45 stars, last pushed 3mo ago), licensed MIT. It adds 744 tokens to every session, about $0.0037 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
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.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
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.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.