ontomics CLAUDE.md

ontomics CLAUDE.md is an instructions file for coding agents from EtienneChollet/ontomics. It costs 2,562 tokens per session, scanned A, original, MIT.

Project instructions for ontomics, including rules about repository changes, worktrees, embeddings, and tests. A worktree is a separate working copy used to develop a change safely on its own branch.

In plain words
What is it for?
Use it before changing source code or tests in ontomics, especially when creating an issue branch, worktree, pull request, or validating embedding-related behavior.
Why use it?
It prevents direct edits to the main branch, protects required embedding behavior, and treats tests as mandatory. It also keeps AI-related attribution out of commits and other project records.

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/etiennechollet/ontomics/claude-md
Clone the repo
git clone --depth 1 https://github.com/EtienneChollet/ontomics

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/etiennechollet/ontomics/claude-md.svg)](https://agentmods.dev/instructions/etiennechollet/ontomics/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/etiennechollet/ontomics/claude-md"><img src="https://agentmods.dev/badge/instructions/etiennechollet/ontomics/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,562 This file is loaded in full into every session.
When invoked 2,562 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.02562 $0.02562
Opus 5 $0.01281 $0.01281
Sonnet 5 $0.00512 $0.00512
Haiku 4.5 $0.00256 $0.00256

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

Security

Grade A, and why

ontomics 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 · 147 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

ABSOLUTE RULE — No AI attribution

NEVER mention Claude Code, Anthropic, ChatGPT, Codex, OpenAI, or any AI tool in commits, PRs, issues, comments, or any git artifact. No "Co-Authored-By", no "Generated with", no AI attribution of any kind. This applies to all text that enters the git history or appears on GitHub.

ABSOLUTE RULE — Worktree workflow

ALL source code and test changes MUST go through a worktree branch and PR. Never commit implementation work directly to main. NEVER edit a single file before the worktree exists.

The worktree MUST be created BEFORE any files are edited. This is the very first action for any implementation task. No exceptions. Do not edit on main and stash/move retroactively.

Worktree location: ./worktrees/per-<issue-number>-<issue-name> (e.g., worktrees/per-42-testbed-thread-cap). NEVER place worktrees outside the project root (e.g., ../).

Workflow:

  1. Create a feature branch: epc28/<description> (associate with a Linear issue when one exists)
  2. Create the worktree: git worktree add -b epc28/<name> worktrees/per-<issue>-<name> main
  3. Work ONLY inside that worktree — all edits, tests, and commits happen there
  4. Create a PR from the feature branch to main
  5. Merge to main only after review/validation

Direct commits to main are only acceptable for version bumps and release automation (cargo-release).

ABSOLUTE RULE — Embeddings must stay enabled

NEVER disable embeddings (embeddings.enabled = false) in any .ontomics/config.toml for any codebase without explicit permission from the user. Embeddings are a core part of the pipeline — disabling them silently degrades concept discovery, clustering, and suggest_name quality.

ABSOLUTE RULE — Tests are sacred

NEVER modify, delete, weaken, skip, or rewrite any test without explicit permission from the user. This is the single most important rule in this project. No exceptions.

Read the full file on GitHub · 147 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 · 147 lines · 2,562 tokens per session scan A 082a0e3bc3fb

Subscribe to this mod's changes

ontomics CLAUDE.md is an instructions file published in the GitHub repository EtienneChollet/ontomics (41 stars, last pushed 4mo ago), licensed MIT. It adds 2,562 tokens to every session, about $0.0128 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.