oxygen: Instructions file for Claude Code

CLAUDE.md

oxygen CLAUDE.md is an instructions file for Claude Code from oxy-hq/oxygen. It costs 7,276 tokens per session, scanned A, original, Apache-2.0.

A CLAUDE.md instruction file containing project rules for Claude Code, including the Oxy repository layout, build and test guidance, and browser testing notes.

In plain words
What is it for?
It helps the assistant locate services and crates, follow package-manager conventions, run tests, and use Playwright when checking the running app.
Why use it?
It gives the coding assistant the project context and conventions needed to work in a Rust backend and React, TypeScript, and Vite frontend.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/oxy-hq/oxygen/claude-md"><img src="https://agentmods.dev/badge/instructions/oxy-hq/oxygen/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,276 This file is loaded in full into every session.
When invoked 7,276 The same file — it is already loaded in full.
Security scan A 1 finding. 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.07276 $0.07276
Opus 5.5 $0.02910 $0.02910
Sonnet 5.5 $0.01455 $0.01455
Haiku 4.5 $0.00728 $0.00728

Measured yesterday against content hash 6c51de8989c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oxygen 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl** when you need real data out of dev/staging/prod, and instead of guessing
CLAUDE.md · 413 lines

How it starts

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

Claude Code Assistant Guidelines

Injected into every API call, together with product-context.md and internal-docs/backend-architecture.md (both @-imported below). State each rule once, in the section that owns it. A recap section is how three copies of the --local rule accumulated here; if a rule feels worth repeating, the first statement is the one to sharpen. Anything retrievable by reading the code in a minute belongs in the code or a crate-local CLAUDE.md, not here.

Oxy (brand: Oxygen) is a Rust workspace + web frontend. The oxy CLI/server binary lives in the server crate (oxy-server, the default workspace member): the CLI commands, the router assembly and the long-lived commands, mounting the API surfaces (crates/api-*) over the domain and runtime crates below them. (oxy-app, the library that once held almost all the code, was decomposed into those crates and deleted on 2026-11-25: internal-docs/domain-boundaries.md, "End state: no oxy-app".)

  • Rust · async Tokio · ORM Sea-ORM (PostgreSQL) · HTTP Axum
  • Frontend Vite + React + TypeScript, pnpm (never npm/yarn)

Workspace Layout

crates/
  server/                   # (oxy-server) the `oxy` BINARY — composition root (main.rs + router
                            #   assembly) that mounts the API surfaces, the CLI commands, the
                            #   background drivers, and the long-lived commands serve/start/worker.
                            #   Default member.
  api-<context>/            # (oxy-api-*) HTTP surface crates oxy-server mounts — one bounded context
                            #   each (github, tenancy, documents, frontline, custom-apps, airway,
                            #   experiment); no surface depends on another. Placement rules S1–S7 and the
                            #   per-crate review: internal-docs/domain-boundaries.md
  route-catalog/             # (oxy-route-catalog) generated GET /api/_catalog table; its build script
                            #   reads the surfaces without depending on them. oxy-server hands it in
  app-core/                 # (oxy-app-core) What every surface needs, nothing a context owns:
                            #   request state, authz plumbing, audit, seams. Scoped (S9)
  tenancy/                  # (oxy-tenancy) Tenancy domain logic shared across contexts: org teams +
                            #   app-access grants. Below oxy-server and the api-* surfaces; no routes
  core/                     # (oxy) Core platform library, published as "oxy"
  config/                   # (oxy-config) The config language: config.yml model, parsing,
                            #   validation, LLM config schema. T1 over the kernel only
  auth/                     # (oxy-auth) Authentication — who you are
  authz/                    # (oxy-authz) Authorization — what you may do. THE authority model
  entity/  migration/       # Sea-ORM entities / migrations
  semantic/                 # (oxy-semantic) Semantic query layer (airlayer)
  shared/                   # (oxy-shared) Shared types, errors, infra
  project/                  # (oxy-project) Project/model config domain
  oxy-compile/              # (oxy-compile) Compile boundary: workspace FS → Postgres rows
  workspace-fs/             # (oxy-workspace-fs) Workspace filesystem helpers (thin)
  git/                      # (oxy-git) Git client / worktree ops
  platform/                 # (oxy-platform) Platform services
  billing/                  # (oxy-billing) Stripe billing
  metric-monitoring/        # (oxy-metric-monitoring) Anomaly monitors / metric tree
  observability/            # (oxy-observability) Customer-facing observability backend
  telemetry/                # (oxy-telemetry) Platform telemetry: OTLP traces+logs → cluster OTel
                            #   collector (ClickStack/HyperDX), stderr JSON format, HTTP request spans
  airform/                  # (oxy-airform) dbt-style modeling
  airhouse/                 # (airhouse) Warehouse + connector
  cameras/                  # (oxy-cameras) Camera fleet domain
  test-utils/               # (oxy-test-utils) Fixtures & mocks
  guards/                   # (oxy-guards) Workspace-wide source/manifest guard tests; test-only
  agentic/
    core/ runtime/ pipeline/ analytics/ automation/ airway/
    connector/ http/ llm/ semantic/    # see crates/agentic/CLAUDE.md for layering
  infrastructure/semantic/  # (oxy-airlayer-compat) airlayer compatibility shim
  integration/{looker,unifi,omni}
web-app/                    # Frontend (see web-app/CLAUDE.md)
sdk/cli/                    # (@oxy-hq/cli) the `oxyc` CLI — the gh-api-style client for
                            #   the HTTP API, plus the customer-account tooling. TypeScript,
                            #   NOT Rust: it replaced `oxy api`, which was deleted from
                            #   the Rust CLI. See internal-docs/oxy-api-cli.md
sdk/cli/skills/             # THE Oxy platform skills — published to oxy-hq/skills and installed
                            #   by customers' agents. Update one in the PR that changes the
                            #   behaviour it describes. internal-docs/platform-skills.md

Read the full file on GitHub · 413 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 Changed · +1 lines · +25 tokens per session 6c51de8989c6
  2. 5d ago Changed · +6 lines · +136 tokens per session f7cfc67bd70d
  3. 7d ago Changed · +2 lines · +28 tokens per session 9e9db71848d9
  4. 8d ago Changed · +12 tokens per session 6c004404ba2d
  5. 11d ago Changed · +7 lines · +137 tokens per session 741a788bbbec
  6. 13d ago Changed · +4 lines · +143 tokens per session 2c1af69087d1
  7. 16d ago Changed · +2 lines · +50 tokens per session af93abd9c228
  8. 18d ago Changed · -12 tokens per session e1e78f736ad3
  9. 19d ago Changed · +1 lines · +28 tokens per session 1349f05a948a
  10. 20d ago First seen · 390 lines · 6,729 tokens per session scan A 35eb69ddc1bc

Subscribe to this mod's changes

oxygen CLAUDE.md is an instructions file published in the GitHub repository oxy-hq/oxygen (206 stars, last pushed yesterday), licensed Apache-2.0. It adds 7,276 tokens to every session, about $0.0291 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-10-14.

Related

oxygen CLAUDE.md compared with instructions from other repositories

oxygen CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oxygen CLAUDE.mdoxy-hq/oxygenInstructions file206yesterdayApache-2.0A7,276Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot