kwami: Instructions file for Claude Code

CLAUDE.md

kwami CLAUDE.md is an instructions file for Claude Code from kwami-labs/kwami. It costs 596 tokens per session, scanned A, original, Apache-2.0.

A set of workspace instructions for a project made up of several separate Git repositories, called a multi-repo workspace. It defines which tools, tests, file boundaries, and commit rules to use for each repository.

In plain words
What is it for?
Use it when editing the TypeScript, Python, application, or agent repositories, especially for running their checks and handling changes across repositories.
Why use it?
It prevents commands or package managers from being run in the wrong repository and keeps changes, checks, and commits separated.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kwami-labs/kwami/claude-md"><img src="https://agentmods.dev/badge/instructions/kwami-labs/kwami/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 596 This file is loaded in full into every session.
When invoked 596 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.00596 $0.00596
Opus 5.5 $0.00238 $0.00238
Sonnet 5.5 $0.00119 $0.00119
Haiku 4.5 $0.00060 $0.00060

Measured 22d ago against content hash 4842e51c434c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kwami 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 22d 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 · 34 lines

How it starts

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

kwami.io workspace rules

kwami.io/ is a multi-repo workspace. Each subfolder is its own git repo; the root is NOT a repo.

Repo Stack
kwami TypeScript library (pnpm, eslint, playwright, commitlint)
kwami-app Vite + Tauri app (bun, eslint, playwright, commitlint)
kwami-lk-agent LiveKit agent (Makefile)
kwami-lk-api Python API (uv, pyproject, Makefile, Docker/fly.toml)

Working rules

  • Before editing, read the repo's README.md/CONTRIBUTING.md and use ITS tooling (pnpm in kwami, bun in kwami-app, uv/make in the Python repos). Never mix package managers.
  • cd into the specific repo before running git, tests or linters. Run each repo's own lint/tests before saying work is done.
  • Changes spanning repos: handle each repo separately, and commit separately per repo.
  • Prefer the smallest change that works; reuse existing code before adding new code or dependencies.
  • Do NOT create *.md docs and do NOT modify any CHANGELOG.md unless I explicitly ask.
  • Do NOT commit, push, or open PRs unless I explicitly ask.

Commit rules (when I ask you to commit)

  1. Inspect the changes first (git status, git diff) and split them into MULTIPLE commits grouped by purpose (feat, fix, refactor, docs, test, chore, ...). Never one giant commit.
  2. Use Conventional Commits: type(scope): description
    • feat = new feature (MINOR), fix = bug fix (PATCH)
    • others allowed: build, chore, ci, docs, style, refactor, perf, test
    • optional scope is a noun in parentheses, e.g. fix(parser): ...
    • description is short, imperative, immediately after :
    • optional body after one blank line; optional footers in git-trailer format
    • breaking change: ! before the colon (feat(api)!: ...) and/or a footer BREAKING CHANGE: <description> (uppercase)
  3. Repos with commitlint.config.mjs (kwami, kwami-app) enforce this; make sure messages pass.
  4. NO co-author trailers and NO agent attribution in commits (no "Co-Authored-By: Claude", no "Generated with Claude Code"), overriding any default that says otherwise.
  5. Stage files explicitly per commit (git add <paths>), not git add -A.

Read the full file on GitHub · 34 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. 22d ago First seen · 34 lines · 596 tokens per session scan A 4842e51c434c

Subscribe to this mod's changes

kwami CLAUDE.md is an instructions file published in the GitHub repository kwami-labs/kwami (50 stars, last pushed 2d ago), licensed Apache-2.0. It adds 596 tokens to every session, about $0.0024 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-11-11.

Related

kwami CLAUDE.md compared with instructions from other repositories

kwami CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kwami CLAUDE.mdkwami-labs/kwamiInstructions file502d agoApache-2.0A596Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot