kernel-lore-mcp CLAUDE.md

kernel-lore-mcp CLAUDE.md is an instructions file for coding agents from mjbommar/kernel-lore-mcp. It costs 4,948 tokens per session, scanned A, original, MIT.

Project instructions for developing the kernel-lore-mcp server, including its research, architecture, security, legal, and deployment guidance. The server's purpose is to provide a research-oriented MCP interface for kernel knowledge.

In plain words
What is it for?
Use them when working on kernel-lore-mcp features, documentation, security, deployment, or code that must follow its project standards.
Why use it?
They give coding agents the project context and required standards before they change Python or Rust code.

Instructions file

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/mjbommar/kernel-lore-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/mjbommar/kernel-lore-mcp

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 kernel-lore-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mjbommar/kernel-lore-mcp/claude-md.svg)](https://agentmods.dev/instructions/mjbommar/kernel-lore-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mjbommar/kernel-lore-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mjbommar/kernel-lore-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,948 This file is loaded in full into every session.
When invoked 4,948 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.04948 $0.04948
Opus 5 $0.02474 $0.02474
Sonnet 5 $0.00990 $0.00990
Haiku 4.5 $0.00495 $0.00495

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

Security

Grade A, and why

kernel-lore-mcp 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 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.

CLAUDE.md · 357 lines

How it starts

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

kernel-lore-mcp — project state

Pointers

Standards

Before touching Python code: read docs/standards/python/index.md and the relevant guide. Before touching Rust code: read docs/standards/rust/index.md and the relevant guide. When these standards disagree with this CLAUDE.md, CLAUDE.md wins — it's the project-specific contract.

Original goal

A public MCP server that makes lore.kernel.org (all kernel mailing lists) searchable by LLM-backed developer tools — Claude Code, Codex, Cursor, and anything else that speaks MCP. Target user is a kernel contributor or security researcher who wants structured, low-latency queries over every patch, review thread, and bug report on every kernel list without living inside lei.

Read the full file on GitHub · 357 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. 4d ago First seen · 357 lines · 4,948 tokens per session scan A 744d9ee157d5

Subscribe to this mod's changes

kernel-lore-mcp CLAUDE.md is an instructions file published in the GitHub repository mjbommar/kernel-lore-mcp (4 stars, last pushed 5d ago), licensed MIT. It adds 4,948 tokens to every session, about $0.0247 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-31.