Borrowing it
Nothing to install: this file belongs to peter-fusek/oncofiles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/peter-fusek/oncofiles/main/CLAUDE.mdgit clone --depth 1 https://github.com/peter-fusek/oncofilesWrote 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.
[](https://agentmods.dev/instructions/peter-fusek/oncofiles/claude-md)<a href="https://agentmods.dev/instructions/peter-fusek/oncofiles/claude-md"><img src="https://agentmods.dev/badge/instructions/peter-fusek/oncofiles/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.
<a href="https://agentmods.dev/instructions/peter-fusek/oncofiles/claude-md"><img src="https://agentmods.dev/badge/instructions/peter-fusek/oncofiles/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.17163 | $0.17163 |
| Opus 5.5 | $0.06865 | $0.06865 |
| Sonnet 5.5 | $0.03433 | $0.03433 |
| Haiku 4.5 | $0.01716 | $0.01716 |
Grade A, and why
oncofiles CLAUDE.md scanned grade A with 1 finding 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 today.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Session cookie URL-encoding (#495)**: Python `SimpleCookie` treats `@` (present in every email address) as outside its `_LegalValueChars` and wraps the entire cookie value in double-quotes. Browsers echo those litera How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
oncofiles
AI-powered medical document management for cancer patients and caregivers. Connects Google Drive, Gmail, and Calendar to Claude, ChatGPT, and any MCP client.
Quick start
uv sync --extra dev
uv run pytest
uv run ruff check
Project structure
src/oncofiles/— main packagetests/— pytest testsmigrations/— SQL schema migrationsdata/— local dev SQLite database (gitignored)
Conventions
- Python 3.12+, async-first
- FastMCP 3.0+ for MCP server
- Pydantic for data models
- ruff for linting/formatting
- Filenames follow standard convention:
YYYYMMDD_PatientName_Institution_Category_DescriptionEN.ext- Separators: underscores only
- Description: English, CamelCase, max 60 chars
- Category tokens: Labs, Report, Pathology, CT, USG, Genetics, Surgery, SurgicalReport, Prescription, Referral, Discharge, DischargeSummary, ChemoSheet, Reference, Advocate, Other, Vaccination, Dental, Preventive
- Legacy formats (space+dash, underscore-separated) still parsed for backward compat
Key commands
uv run oncofiles-mcp— run MCP server (stdio)MCP_BEARER_TOKEN=test MCP_TRANSPORT=streamable-http uv run oncofiles-mcp— run HTTP server locallyuv run pytest— run testsuv run ruff check --fix— lint and auto-fixuv run ruff format— format code
Deployment
- Self-hosted Mac mini (since 2026-11-06): Coolify in a Colima Linux VM, Traefik + Let's Encrypt in front,
oncofiles.comstreamable-http at/mcp. Build pack Railpack, installuv sync, startuv run oncofiles-mcp. Forpsi and Railway are retired. Host/network details live in the private RUNBOOK, never in this public repo (no IPs, IDs, tokens). - Push to
maindeploys via the CIdeployjob (.github/workflows/ci.yml): after lint+test pass, the runner joins the tailnet as an ephemeraltag:cinode and POSTs to the Coolify API, then smoke-tests/health. Kill switch: repo variableDEPLOY_ENABLED. Always run/deploy-checkafter a push. - Env-only changes are cheap: with an unchanged commit SHA, Coolify logs
No build configuration changed & image found … Build step skippedand just recreates the container. - Never tick "Available at Buildtime" on a new env var unless the build genuinely needs it — Railpack writes buildtime vars into a
.envthatmise/aquaread (#550). - DB is a local SQLite file (aiosqlite, WAL) on the Coolify volume, path
DATABASE_PATH. There is no cloud DB option: any non-emptyTURSO_*env var makes startup fail (server._assert_local_database, #617). Data survives rebuilds; a failed deploy keeps the old container running. - Google: a dedicated GCP project, named in the RUNBOOK (OAuth client, External / In production / unverified, 100-user cap accepted).
GOOGLE_INTEGRATION_ENABLEDstaysfalseuntil the curated-folder pipeline (#562) ships. - CI is lint + test + deploy.
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.
- today Changed · +5 lines · +1,831 tokens per session 889b1656b133
- yesterday Changed · +15 lines · +4,262 tokens per session bd25ce72d566
- 2d ago Changed · +118 tokens per session efb56d5ff3a0
- 3d ago Changed · +4 lines · +838 tokens per session ef68edc2708d
- 4d ago Changed · +6 lines · +1,176 tokens per session b60a35e8d2a5
- 6d ago Changed · +30 tokens per session 6f38ad47b6a6
- 2mo ago First seen · 118 lines · 8,908 tokens per session scan A b25980ccf38a
oncofiles CLAUDE.md is an instructions file published in the GitHub repository peter-fusek/oncofiles (5 stars, last pushed today), licensed MIT. It adds 17,163 tokens to every session, about $0.0687 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
oncofiles CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| oncofiles CLAUDE.mdpeter-fusek/oncofiles | Instructions file | 5 | today | MIT | A | 17,163 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 280k | 2d ago | MIT | A | 4,325 | Codex, OpenCode |