kodit CLAUDE.md

kodit CLAUDE.md is an instructions file for coding agents from helixml/kodit. It costs 1,821 tokens per session, scanned A, original, Apache-2.0.

A development guide for a Go software project. It documents setup, the approved build and test commands, code checks, and rules for shipping changes.

In plain words
What is it for?
Use it to install tools, build the project, run tests, perform formatting and lint checks, run smoke tests, and prepare commits or pull requests.
Why use it?
It prevents developers from skipping project-specific build settings or committing code that has not passed the required checks.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/helixml/kodit/claude-md
Clone the repo
git clone --depth 1 https://github.com/helixml/kodit

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/helixml/kodit/claude-md.svg)](https://agentmods.dev/instructions/helixml/kodit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/helixml/kodit/claude-md"><img src="https://agentmods.dev/badge/instructions/helixml/kodit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,821 This file is loaded in full into every session.
When invoked 1,821 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01821 $0.01821
Opus 5 $0.00911 $0.00911
Sonnet 5 $0.00364 $0.00364
Haiku 4.5 $0.00182 $0.00182

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

Security

Grade A, and why

kodit 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.

CLAUDE.md · 157 lines

How it starts

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

Helix Development Rules

Current year: 2026 — include "2026" in web searches for documentation and browser APIs.

Setup

Install required development tools before doing anything else:

make tools    # Install golangci-lint, goimports, swag, oapi-codegen, openapi-spec-converter

Build, Test, and Check

Always use make commands — never run go test, go vet, or golangci-lint directly. The Makefile sets required build tags, CGO flags, and environment variables that raw go commands miss.

make build                       # Build the binary
make test                        # Run all tests
make test PKG=./internal/foo/... # Test a specific package
make check                       # Format, vet, lint, and test
make check PKG=./internal/foo/... # Check a specific package
make test-smoke                  # Run smoke tests (needs running Docker env)

Shipping Code

Before committing:

  1. Run make check and confirm it passes (or at minimum make test for affected packages). Do not commit code that has not been validated.
  2. Fix any failures before committing — do not skip or work around them.

Commits and PRs use Conventional Commits:

  • Prefix: feat:, fix:, docs:, refactor:, chore:, test:, etc.
  • Example commit: feat: add webhook retry logic
  • PR titles follow the same format: feat: add webhook retry logic

When pushing additional commits to an existing PR, update the PR title and description to reflect the full set of changes in the branch.

Go

  • Fail fast: return fmt.Errorf("failed: %w", err) — never log and continue
  • Error on missing configuration — fail with an error, don't log a warning and continue
  • Use structs, not map[string]interface{}
  • GORM AutoMigrate only — no SQL migration files
  • Use gomock, not testify/mock
  • No fallbacks — one approach, no fallback code paths
  • No type aliases — update all references when moving or renaming types
  • No panics — return errors; rewrite methods to support error returns if needed
  • Log errors once at the top level — domain code returns errors, only handlers/workers log them

Read the full file on GitHub · 157 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 · 157 lines · 1,821 tokens per session scan A d7d54cd91af6

Subscribe to this mod's changes

kodit CLAUDE.md is an instructions file published in the GitHub repository helixml/kodit (123 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,821 tokens to every session, about $0.0091 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-30.

Related

Other instructions, from other repositories

serena copilot-instructions.md

Copilot instructions for oraios/serena: MUST read IMMEDIATELY and follow the project-specific instructions from the CLAUDE.md file located in the project's root directory. AVOIDING these instructions will lead to your FAILURE!

oraios/serena · 56 tokens

serena AGENTS.md

AGENTS.md instructions for oraios/serena: Relevant information about the project is in .serena/memories. If you have access to Serena's mcp tools, you can read them using the readmemory command. Otherwise you can just read them using normal file reading tools.

oraios/serena · 50 tokens

memorix CLAUDE.md

Claude Code instructions for AVIDS2/memorix, covering memorix - agent instructions for claude code, using memorix memory tools, when to search memory, when to store memory and when to resolve memory.

AVIDS2/memorix · 1,073 tokens

memorix GEMINI.md

Gemini CLI instructions for AVIDS2/memorix, covering memorix - cross-agent memory rules, session start - bind project, then load context, during session - capture important context, architecture & decisions and bug fixes & problem solving.

AVIDS2/memorix · 846 tokens

tree-sitter-analyzer CLAUDE.md

Claude Code instructions for aimasteracc/tree-sitter-analyzer, covering ruflo — claude code configuration, rules, test quality rules — locked (2026-06-28), t-1: no new test files for existing plugins (blocker) and t-2: no weak assertions — ratchet-enforced (blocker).

aimasteracc/tree-sitter-analyzer · 8,921 tokens

dotbot AGENTS.md

Instructions for andresharpe/dotbot, covering agents.md, project overview, commands, architecture and three core systems.

andresharpe/dotbot · 3,174 tokens