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.
npx agentmods add instructions/fastslack/kernl/claude-mdgit clone --depth 1 https://github.com/fastslack/kernlWrote 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/fastslack/kernl/claude-md)<a href="https://agentmods.dev/instructions/fastslack/kernl/claude-md"><img src="https://agentmods.dev/badge/instructions/fastslack/kernl/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 | $0.01845 | $0.01845 |
| Opus 5 | $0.00923 | $0.00923 |
| Sonnet 5 | $0.00369 | $0.00369 |
| Haiku 4.5 | $0.00185 | $0.00185 |
Grade A, and why
kernl 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 3d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
export function createFooModule(): KernelModule {
let tools: ToolDefinition[] = [];
return {
name: "foo",
async initialize(ctx: ModuleContext) {
runMigrations(ctx.sqlite, "foo", fooMigrations); // if has tables
const service = new FooService(ctx.sqlite, ctx.neo4j);
tools = fooTools(service);
},
getTools() { return tools; },
async shutdown() {},
};
}
ModuleContext: { sqlite, neo4j, events, config }
Migrations use Migration { version: number; sql: string } arrays, located in:
services/kernel/src/modules/{name}/migrations/*.ts(directory pattern), orservices/kernel/src/modules/{name}/migrations.ts(inline pattern)
SQLite NOT NULL columns with empty defaults:
contacts table: email, phone, company, notes are NOT NULL DEFAULT ''.
Use <> '' to check for presence, NOT IS NOT NULL.
Same pattern used in many other tables (communications, events, etc.)
Google sync source column:
source column lives in google_sync_map table, NOT in contacts — join via local_id = contacts.id.
Neo4j is Kernl's own, and it starts empty:
The stack brings up a dedicated Neo4j (kernl-public-neo4j) that holds nothing
but Kernl's data. It is not shared with any other dataset — an earlier version
of this file claimed it shared a database with a SNOMED CT medical ontology and
that every query had to filter Kernl nodes; that belonged to a different
project's stack and never applied here.
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.
- 3d ago First seen · 146 lines · 1,845 tokens per session scan A 834ac199c733
kernl CLAUDE.md is an instructions file published in the GitHub repository fastslack/kernl (1 stars, last pushed 12d ago), licensed Apache-2.0. It adds 1,845 tokens to every session, about $0.0092 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.
Other instructions, from other repositories
pasteguard AGENTS.md
Instructions for sgasser/pasteguard, covering pasteguard agent instructions, project, stack, commands and workflow.
openrouter-mcp-multimodal AGENTS.md
AGENTS.md instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
cai CLAUDE.md
Instructions for cai-layer/cai, covering claude.md, what is cai?, design system, build & run and dev.
seekstone CLAUDE.md
Instructions for shaqmughal/seekstone, covering claude.md, what this repo is, commands, the harness itself (run after npm install) and architecture.
mistral-mcp CLAUDE.md
Instructions for Swih/mistral-mcp, covering claude.md — mistral-mcp, 1. identité du projet, 2. règles dures (ne pas transgresser), 3. layout & responsabilités and 4. conventions de code.
pfsense-mcp-server AGENTS.md
AGENTS.md instructions for night4me/pfsense-mcp-server, covering pfsense mcp server, architecture and security, development workflow, long-running validation and test parallelism.