codev CLAUDE.md

Project instructions for Codev, a framework and project that uses structured files to guide AI agents through software work. They explain the always-loaded engineering context and the difference between Codev’s own files and the template shipped to adopters.

In plain words
What is it for?
Use them when implementing features in Codev, changing the reusable Codev template, or deciding which project instruction and reference files apply.
Why use it?
They help agents consult the right architecture and lessons documents and edit the correct tree when working on Codev or changing what its users receive.

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/cluesmith/codev/claude-md
Clone the repo
git clone --depth 1 https://github.com/cluesmith/codev
Per session 2,359 This file is loaded in full into every session.
When invoked 2,359 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.02359 $0.02359
Opus 5 $0.01179 $0.01179
Sonnet 5 $0.00472 $0.00472
Haiku 4.5 $0.00236 $0.00236

Measured yesterday against content hash 939e4b9b7c65, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codev 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 yesterday.

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

100% identical to codev AGENTS.md — 0 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 · 205 lines

How it starts

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

Codev Project Instructions for AI Agents

Always-On Engineering Context (hot tier)

Curated, always-on guidance — consult before deciding. Use each "consult when…" map to open the full arch.md / lessons-learned.md when relevant.

@codev/resources/arch-critical.md @codev/resources/lessons-critical.md

The block above is auto-generated from the hot tier by codev init / codev update — edit those source files, not the block. Their COLD counterparts (codev/resources/arch.md, lessons-learned.md) are on-demand archives; the "consult when…" maps point into them. New facts are routed by tier at review time and policed during MAINTAIN.

AGENTS.md is a byte-identical twin of this file for tools that read the AGENTS.md standard. Any edit here must be applied there.

This repository is Codev, built with Codev

Two trees, and the distinction governs almost every change:

Tree What it is When you edit it
codev/ Our instance — our specs, plans, reviews, resources Implementing a feature for Codev
codev-skeleton/ The template shipped to adopters — protocols, roles, templates, agents Changing what other projects receive

A framework change usually belongs in both. codev-skeleton/ carries no specs or plans — those are created by the projects that install it.

How framework files resolve

Protocols, prompts, roles and templates resolve at runtime through four tiers, highest first: .codev/<path>codev/<path> → runtime cache → installed package skeleton.

The absence of codev/protocols/<name>/ is normal, not a missing reference — it means the protocol resolves from the installed package. Only protocols you customize need a local copy. When codev update merges a template that references a protocol you don't have locally, keep the reference.

Read the full file on GitHub · 205 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. yesterday First seen · 205 lines · 2,359 tokens per session scan A 939e4b9b7c65

Subscribe to this mod's changes

codev CLAUDE.md is an instructions file published in the GitHub repository cluesmith/codev (286 stars, last pushed 5d ago), licensed Apache-2.0. It adds 2,359 tokens to every session, about $0.0118 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to codev AGENTS.md, differing in 0 lines, and is treated as a copy.