kenjaku: Instructions file for Claude Code

CLAUDE.md

kenjaku CLAUDE.md is an instructions file for Claude Code from tpierrain/kenjaku. It costs 5,261 tokens per session, scanned A, original, Apache-2.0.

Repository-specific instructions for working with a launcher that creates a personalized CLAUDE.md file, which gives Claude Code guidance about a project and the user's preferences. They define the questions, commands, and safeguards for installing it.

In plain words
What is it for?
Use them to install the second-brain setup, collect the required answers, run the exact installer command, and pass on the resulting instructions.
Why use it?
They keep the installation process predictable and prevent the launcher from being mistaken for the generated personal instructions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/tpierrain/kenjaku/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/tpierrain/kenjaku

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tpierrain/kenjaku/claude-md/github.svg)](https://agentmods.dev/instructions/tpierrain/kenjaku/claude-md)
Your own site
<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.

agentmods 80×15 button for kenjaku CLAUDE.md

Your own site · 80×15
<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>
Per session 5,261 This file is loaded in full into every session.
When invoked 5,261 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.05261 $0.05261
Opus 5.5 $0.02104 $0.02104
Sonnet 5.5 $0.01052 $0.01052
Haiku 4.5 $0.00526 $0.00526

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

Security

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.

CLAUDE.md · 267 lines

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, ADR Scope: 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).

Read the full file on GitHub · 267 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. 1mo ago Changed · +14 tokens per session 37c60bf7344d
  2. 2mo ago First seen · 267 lines · 5,247 tokens per session scan A 2e019a1191f4

Subscribe to this mod's changes

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.

Related

kenjaku CLAUDE.md compared with instructions from other repositories

kenjaku CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kenjaku CLAUDE.mdtpierrain/kenjakuInstructions file961mo agoApache-2.0A5,261Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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