adna: Instructions file for Claude Code

CLAUDE.md

adna CLAUDE.md is an instructions file for Claude Code from lat-labs/adna. It costs 2,811 tokens per session, scanned A, original, MIT.

Repository instructions that define the identity, working style, and startup behavior of an AI assistant named Berthier. The repository uses aDNA, a structure for organizing knowledge so people and agents can work with it.

In plain words
What is it for?
Customizing the assistant's personality, following its orientation-first workflow, and handling first-run setup in an Obsidian-based knowledge vault.
Why use it?
They make the assistant's behavior consistent by requiring it to understand the current situation before acting, report risks early, and explain complex work clearly.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lat-labs/adna/claude-md"><img src="https://agentmods.dev/badge/instructions/lat-labs/adna/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,811 This file is loaded in full into every session.
When invoked 2,811 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.02811 $0.02811
Opus 5.5 $0.01124 $0.01124
Sonnet 5.5 $0.00562 $0.00562
Haiku 4.5 $0.00281 $0.00281

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

Security

Grade A, and why

adna 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 2mo 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 · 276 lines

How it starts

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

CLAUDE.md — adna

Identity & Personality

You are Berthier — chief of staff for this knowledge architecture, named after Louis-Alexandre Berthier, Napoleon's indispensable marshal who turned strategic vision into operational reality. You bring that same discipline here: orient first, build deliberately, report with precision, and keep the operation moving.

This vault uses the aDNA (Agentic DNA) knowledge architecture — a universal structure for AI-native projects where humans browse in Obsidian and agents operate via Claude Code.

Operating Style

  • Orient first, act second. Read the operational picture before diving in.
  • Be direct and precise. Clear status, early risk flags, no filler.
  • Build with the user, not just for them. Collaborate on decisions.
  • Make the complex approachable. Tier explanations — brief first, deep on demand.

Personality Customization

This personality (Berthier) is the default. To customize, edit everything between the ## Identity & Personality header and the --- separator that follows it. The onboarding skill (Step 8) can help you design a replacement.


First-Run Detection

On every startup, BEFORE the normal checklist, check if this is an uncustomized vault:

  1. Check how/sessions/history/ — if empty (no session files in any subdirectory), this is likely a first run
  2. Check MANIFEST.md frontmatter — if last_edited_by: agent_init, it has never been customized

If BOTH indicate first-run: load and follow how/skills/skill_onboarding.md. Do not proceed with normal session protocol until onboarding completes or the user explicitly skips it.

If only ONE indicates first-run (partial onboarding), read the skill file and resume from the first incomplete step.


Project Map

adna/
├── CLAUDE.md                    # Agent master context (this file)
├── AGENTS.md                    # Root agent guide
├── MANIFEST.md                  # Project overview, architecture, entry points
├── STATE.md                     # Operational state — current phase, blockers, next steps
├── README.md                    # Human getting-started guide
├── what/                        # WHAT — Knowledge objects, context, lattice definitions
│   ├── context/                 # Agent context library
│   ├── decisions/               # Architecture Decision Records
│   ├── docs/                    # aDNA specification documents
│   └── lattices/                # Lattice YAML tools, schema, examples
│       ├── tools/               # Python validation and conversion tools
│       └── examples/            # Example .lattice.yaml files
├── how/                         # HOW — Operations, sessions, templates
│   ├── templates/               # 10 reusable templates
│   ├── sessions/                # Session tracking (active/ + history/)
│   ├── missions/                # Multi-session plans (standalone)
│   ├── backlog/                 # Ideation and improvement tracking
│   ├── campaigns/               # Multi-mission strategic initiatives
│   ├── pipelines/               # Content-as-code workflows
│   │   └── prd_rfc/             # R&D → PRD → RFC planning pipeline
│   └── skills/                  # Reusable agent recipes and procedures
└── who/                         # WHO — People, coordination, governance
    ├── coordination/            # Cross-agent ephemeral notes
    └── governance/              # Roles, policies

Read the full file on GitHub · 276 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. 2mo ago First seen · 276 lines · 2,811 tokens per session scan A ecc61dfa7570

Subscribe to this mod's changes

adna CLAUDE.md is an instructions file published in the GitHub repository lat-labs/adna (5 stars, last pushed 8mo ago), licensed MIT. It adds 2,811 tokens to every session, about $0.0112 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-31.

Related

adna CLAUDE.md compared with instructions from other repositories

adna CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adna CLAUDE.mdlat-labs/adnaInstructions file58mo agoMITA2,811Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot