OpenOnco CLAUDE.md

OpenOnco CLAUDE.md is an instructions file for Claude Code from romeo111/OpenOnco. It costs 3,324 tokens per session, scanned A, original, MIT.

Repository instructions for OpenOnco, a public oncology clinical decision-support project. The project uses a patient's profile to produce two treatment plans with source citations, while its specifications define which documents are authoritative.

In plain words
What is it for?
Use them when changing OpenOnco's rule engine, data, documentation, or rendering code. They explain the source-of-truth order, repository layout, and important project constraints.
Why use it?
They help agents avoid outdated material and keep changes aligned with the project's governance and clinical rules. This matters because the software deals with treatment information.

Instructions file for Claude Code

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

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/romeo111/openonco/claude-md
Clone the repo
git clone --depth 1 https://github.com/romeo111/OpenOnco

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/romeo111/openonco/claude-md.svg)](https://agentmods.dev/instructions/romeo111/openonco/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/romeo111/openonco/claude-md"><img src="https://agentmods.dev/badge/instructions/romeo111/openonco/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,324 This file is loaded in full into every session.
When invoked 3,324 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.1 $0.03324 $0.03324
Opus 5 $0.01662 $0.01662
Sonnet 5 $0.00665 $0.00665
Haiku 4.5 $0.00332 $0.00332

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

Security

Grade A, and why

OpenOnco 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 · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 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) and similar AI agents (Codex, etc.) when working in this repository. Read this file in full at the start of every session.

Project: OpenOnco

Free public resource for oncology clinical decision support. User uploads a patient profile → receives two alternative treatment plans (standard + aggressive) with full source citations. Plans refresh as new data arrives (new labs, doctor decisions, updated guidelines).

Status: v0.1 draft. KB expansion waves GI-2, GI-3, PUL, HEME-1 complete (2026-05-09). CIViC-primary actionability pivot phases 2-5 still pending. Rule engine + render in progress.

Source of truth hierarchy

When instructions conflict, obey this order:

  1. specs/CHARTER.md — project governance + scope
  2. Other specs/*.md — clinical, data, schema, source, reference case
  3. This CLAUDE.md
  4. README.md
  5. Anything under legacy/not authoritative; historical reference only

legacy/ contains the pre-OpenOnco autoresearch pipeline. Retired (not deleted) because the LLM-ranks-treatments pattern conflicts with CHARTER §8.3. Don't use it as a pattern for new work.

Repo layout (top level)

cancer-autoresearch/
├── specs/                            # active specifications (UA)
├── knowledge_base/
│   ├── clients/                      # SourceClient implementations
│   │   ├── ctgov_client.py           # ClinicalTrials.gov v2
│   │   ├── pubmed_client.py
│   │   ├── dailymed_client.py
│   │   ├── openfda_client.py
│   │   └── translate_client.py
│   ├── engine/                       # rule engine + render + MDT
│   │                                 # actionability_{types,client,extract,conflict}.py
│   ├── schemas/                      # Pydantic entity schemas
│   ├── validation/                   # YAML loader + validators
│   ├── ingestion/                    # МОЗ extractor, civic_loader.py, ...
│   └── hosted/
│       ├── content/                  # KB YAML data (diseases, regimens, RFs, …)
│       └── civic/<date>/             # CIViC nightly snapshot (CC0)
├── docs/                             # built site (openonco.info) + reviews/
├── scripts/                          # build_site.py, fill scripts, coverage tools
├── tests/                            # pytest suite
├── legacy/                           # retired autoresearch pipeline (not authoritative)
├── README.md
└── CLAUDE.md

Read the full file on GitHub · 275 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 · 275 lines · 3,324 tokens per session scan A 4ae1d01bddf2

Subscribe to this mod's changes

OpenOnco CLAUDE.md is an instructions file published in the GitHub repository romeo111/OpenOnco (2 stars, last pushed yesterday), licensed MIT. It adds 3,324 tokens to every session, about $0.0166 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-31.