kernel: Instructions file for Claude Code

CLAUDE.md

kernel CLAUDE.md is an instructions file for Claude Code from isaacsight/kernel. It costs 812 tokens per session, scanned A, original, MIT.

Project instructions for working on the kernel.chat codebase and its companion terminal AI agent, kbot. It points developers to the canonical project reference and explains where to find information about the repository.

In plain words
What is it for?
Use it when navigating the kernel.chat project, locating documentation, or understanding how its magazine and kbot surfaces fit together.
Why use it?
It gives an agent consistent project context so it can follow the repository's structure, terminology, and working rules.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is isaacsight/kernel's own configuration. It tells Claude Code how to work on kernel 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 kernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to isaacsight/kernel. 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/isaacsight/kernel/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/isaacsight/kernel

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/isaacsight/kernel/claude-md/github.svg)](https://agentmods.dev/instructions/isaacsight/kernel/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/isaacsight/kernel/claude-md"><img src="https://agentmods.dev/badge/instructions/isaacsight/kernel/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 kernel CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/isaacsight/kernel/claude-md"><img src="https://agentmods.dev/badge/instructions/isaacsight/kernel/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 812 This file is loaded in full into every session.
When invoked 812 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.00812 $0.00812
Opus 5.5 $0.00325 $0.00325
Sonnet 5.5 $0.00162 $0.00162
Haiku 4.5 $0.00081 $0.00081

Measured 2mo ago against content hash 7ffe8a659b84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernel 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 2mo 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 · 66 lines

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.

CLAUDE.md — kernel.chat group

This file is a shim. The canonical project reference is KERNEL.md. Read that first.

CLAUDE.md exists because Claude Code auto-loads it at session start; the canonical reference moved to KERNEL.md on 2026-04-29 when the project's two surfaces (kbot agent + kernel.chat magazine) became co-equal and the older K:BOT-as-product + web-as-companion framing stopped describing the work.

What you need to know in 30 seconds

Two surfaces, one publication:

  1. kbot — open-source terminal AI agent (@kernel.chat/kbot on npm). Currently v4.5.0. ~100 specialty skills curated from 670 in v4.0 with a public audit trail. Local-first, BYOK, MIT.
  2. kernel.chat — editorial magazine. Currently on ISSUE 426 — THE WEATHER OVER THE QUEUE. Sixty-seven issues in the catalog. POPEYE-grammar anchored, PAPERSKY + WIRED decoded as editorial neighbours.

Discipline (same on both surfaces): count what gets read; cut what doesn't; file the audit in public; keep the manuscripts in the drawer. The room is different, the job is the same.

Where to look for what

If you need… Read
Project shape, current state, directory map, ship flow KERNEL.md
Magazine publishing workflow src/content/issues/PUBLISHING.md
Magazine visual grammar docs/design-language.md
Unified creative canvas handoff and agent-control contracts docs/creative-canvas-handoff.md
kbot v5 futures substrate packages/kbot/V5_FUTURES_PLAN.md
Why the 4.0 cut went the way it did packages/kbot/RELEASE_NOTES_4_0.md
Per-session working memory SCRATCHPAD.md

Five rules that always apply

  1. Magazine vocabulary in user-visible copy. Issue / feature / spread / folio / monument / colophon / dateline / postmark — never dashboard / panel / card / widget / modal. Never name "POPEYE" on the site.
  2. Evidence-cited commits. Every release commit cites numbers and reasoning; audit trails (CSV, JSONL, RELEASE_NOTES) ship alongside code changes.
  3. BYOK is the contract. kbot never hardcodes a provider preference. Local-first when there's a free path (Ollama/LLaDA/MLX) for the task.
  4. No emojis in code or user-visible copy unless the user explicitly asks (single-glyph system asterisk ★ is the exception, ratified in ISSUE 370).
  5. Update SCRATCHPAD.md at session end. Future sessions inherit your context through it.

Read the full file on GitHub · 66 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. 2mo ago First seen · 66 lines · 812 tokens per session scan A 7ffe8a659b84

Subscribe to this mod's changes

kernel CLAUDE.md is an instructions file published in the GitHub repository isaacsight/kernel (16 stars, last pushed 1mo ago), licensed MIT. It adds 812 tokens to every session, about $0.0032 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-09-03.

Related

kernel CLAUDE.md compared with instructions from other repositories

kernel CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernel CLAUDE.mdisaacsight/kernelInstructions file161mo agoMITA812Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode