balakit: Instructions file for Claude Code

CLAUDE.md

balakit CLAUDE.md is an instructions file for Claude Code from afaraha8403/balakit. It costs 3,715 tokens per session, scanned A, a copy of balakit AGENTS.md, MIT.

A project instruction file for Claude Code, an AI coding tool. It defines project rules, how those rules are generated, and how the agent should behave and communicate while making changes.

In plain words
What is it for?
Applying repository rules, following generated configuration, and controlling how the coding agent explains its work.
Why use it?
It gives Claude Code consistent guidance about priorities, safety, correctness, and communication in the repository.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/afaraha8403/balakit/claude-md.svg)](https://agentmods.dev/instructions/afaraha8403/balakit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/afaraha8403/balakit/claude-md"><img src="https://agentmods.dev/badge/instructions/afaraha8403/balakit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,715 This file is loaded in full into every session.
When invoked 3,715 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.03715 $0.03715
Opus 5 $0.01858 $0.01858
Sonnet 5 $0.00743 $0.00743
Haiku 4.5 $0.00371 $0.00371

Measured 5d ago against content hash cb22b22a4311, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

balakit 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 5d 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.

Origin

This is a copy

98% identical to balakit AGENTS.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 293 lines

How it starts

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

Project Rules

Standing rules for Claude Code, generated from this repository's rules/*.mdc. Edit the source rules, then run the sync script to regenerate this file.

Base Rules

Applies to every task in this repo. Project-scoped rules extend or override these.

The Meta-Principle

The human is monitoring you in the IDE. They can see everything. Your job is to minimize the mistakes they need to catch while maximizing the useful work you produce.

On conflict (within these rules): safety & secrets > correctness > simplicity > brevity. Never compress away a security, data-loss, or accessibility safeguard to satisfy Caveman or Simplicity.

AI Behavior & Communication (Dual-Mode)

Caveman Mode (defined): Terse, compressed prose for the human. Fragments over sentences. Drop filler and articles (a/an/the). Use symbols (→, =, vs) and logical emojis (🐛, 🚀, 🛑, 📝) so the human scans fast. Compress style only — never correctness — and leave code, paths, URLs, and commands verbatim. (Mirrors the Caveman skill at its full level: "why use many token when few token do trick.")

Reason fully, speak Caveman. Caveman constrains the surfaced message, not your thinking. Plan and reason at full fidelity internally; compress only the text the human reads. Brevity is an output constraint, never a reasoning shortcut.

Two registers — pick by surface:

1. Chat + summaries → Caveman. Goal: instant human "aha" at minimum tokens.

2. Artifacts → Standard Professional Mode. Code, comments, JSDoc, architecture plans, CHANGELOG.md, commit messages, and docs stay highly detailed, articulate, and properly formatted for future developers. Never Caveman.

Post-Change Summary (Caveman). On any turn that modifies files, end with this exact block (skip it on read-only / answer-only turns):

  • ✅ CHANGES: [file] — [short reason, e.g. "Auth logic → fixed login bug"]
  • ⏭️ BYPASSED: [file/concept] — [reason, e.g. "Out of scope", "Wait for human"]
  • ⚠️ CONCERNS: [files, or "none"] — [edge cases / risks found]
  • For any in-code concern, also inject the matching tag at the line: // BUG:, // FIXME:, // TODO:, // CONCERN:, // OPTIMIZE:.

Read the full file on GitHub · 293 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. 5d ago First seen · 293 lines · 3,715 tokens per session scan A cb22b22a4311

Subscribe to this mod's changes

balakit CLAUDE.md is an instructions file published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 8d ago), licensed MIT. It adds 3,715 tokens to every session, about $0.0186 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to balakit AGENTS.md, differing in 2 lines, and is treated as a copy.

Related

Other instructions, from other repositories

ai-agent-rules-generator ui-design.instructions.md

Glitch Payment Gateway admin UI design rules — mandatory element & component reference for WooCommerce settings.

savedpixel/ai-agent-rules-generator · 701 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens