Borrowing it
Nothing to install: this file belongs to tpierrain/kenjaku. 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/tpierrain/kenjaku/main/CLAUDE.mdgit clone --depth 1 https://github.com/tpierrain/kenjakuWrote 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/tpierrain/kenjaku/claude-md)<a href="https://agentmods.dev/instructions/tpierrain/kenjaku/claude-md"><img src="https://agentmods.dev/badge/instructions/tpierrain/kenjaku/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.
<a href="https://agentmods.dev/instructions/tpierrain/kenjaku/claude-md"><img src="https://agentmods.dev/badge/instructions/tpierrain/kenjaku/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.05261 | $0.05261 |
| Opus 5.5 | $0.02104 | $0.02104 |
| Sonnet 5.5 | $0.01052 | $0.01052 |
| Haiku 4.5 | $0.00526 | $0.00526 |
Grade A, and why
kenjaku 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 1mo 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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🧠 Kenjaku — your second brain (self-install notice, for Claude)
This folder is the LAUNCHER (the generator), not a second brain. This file is a bootstrap stub: the installer creates a separate brain folder and drops the real constitution there (a personalized
CLAUDE.md). The launcher itself is never modified: it stays read-only and reusable (a single launcher can generate several brains).For Claude. If the user asks you to create / install their second brain (or asks the second brain a question while this bootstrap stub is still here), follow the steps below EXACTLY. You can drive the whole machinery yourself: the installer runs in non-interactive mode (
--non-interactive) — so you do NOT need the user to launch it at the keyboard. You gather the answers in chat, then you call a single command.
🛠️ Maintainer note (only if you are DEVELOPING the launcher itself — not installing a brain): also follow
maintainers/CONVENTIONS.md. It carries the repo's durable rules (checkboxes on every plan step, one canonical plan = the repo's, artifacts in English, TDD baby-steps + green-only commits, ADRScope:field, plan-done = archived, and a marketing-surface re-read at every release) so they travel with the clone instead of living only on one machine. This note is part of the installer stub, so it is overwritten at install and never reaches a generated brain.
Step 1 — Get the launcher (normal clone)
(Often already done if you are reading this file from inside the folder.) If you start from a URL:
git clone --depth 1 <REPO_URL> <launcher-folder>
cd <launcher-folder>
The launcher is reusable and never touched by the install: the installer creates a fresh
brain folder elsewhere, copies the files into it, then runs git init inside it → no link
back to the launcher, by construction (no inherited remote to remove). The brain's auto-commit hook
pushes nothing until the user has wired up THEIR own remote repository (push is opt-in).
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.
- 1mo ago Changed · +14 tokens per session 37c60bf7344d
- 2mo ago First seen · 267 lines · 5,247 tokens per session scan A 2e019a1191f4
kenjaku CLAUDE.md is an instructions file published in the GitHub repository tpierrain/kenjaku (96 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 5,261 tokens to every session, about $0.0210 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.
kenjaku CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kenjaku CLAUDE.mdtpierrain/kenjaku | Instructions file | 96 | 1mo ago | Apache-2.0 | A | 5,261 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |