oxygen: Skill for Claude Code

.claude/skills/oxy-compile-boundary/SKILL.md

oxy-compile-boundary is a skill for Claude Code from oxy-hq/oxygen. It costs 157 tokens per session (2,526 once invoked), scanned A, original, Apache-2.0.

A rule for compiling every workspace file type that the running product needs into database records. A compiled revision is the version of the workspace that customer-facing requests read.

In plain words
What is it for?
Use it when adding YAML entity types, new runtime file reads, or handlers that resolve configuration from the workspace.
Why use it?
It prevents requests from repeatedly reading files from a local workspace and ensures new file types still work after the server-side workspace is removed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/skills/oxy-compile-boundary/SKILL.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 oxy-compile-boundary

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxy-hq/oxygen/oxy-compile-boundary"><img src="https://agentmods.dev/badge/skills/oxy-hq/oxygen/oxy-compile-boundary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,526 The whole file, excluding the scripts and references it only reads on demand.
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.00157 $0.02526
Opus 5.5 $0.00063 $0.01010
Sonnet 5.5 $0.00031 $0.00505
Haiku 4.5 $0.00016 $0.00253

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

Security

Grade A, and why

oxy-compile-boundary 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 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.

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/skills/oxy-compile-boundary/SKILL.md · 72 lines

How it starts

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

Compile every workspace artifact to Postgres

Oxy's runtime no longer walks the workspace filesystem on customer-facing requests. PR #2460 (the compile boundary work) made every YAML entity addressable as a *_definitions row keyed by revision_id. A compile promotes a revision and every read site serves from Postgres until the next compile. The boundary is always on — there are no feature flags; a reader falls through to the filesystem only on a node that owns the files.

Where this is going (decided 2026-10-05): the server-side working copy is being removed. Compile becomes its own service that fetches a pushed commit; the filesystem fall-through disappears; the IDE goes. So "it is only read in the IDE" is no longer a reason to skip the boundary — a file the runtime needs and that is not compiled will have nowhere to be read from. Plan: internal-docs/factory-retirement.md.

This skill is the rule for anyone adding a new file type the runtime needs to read.

The contract: when you add a new .foo.yml

You owe all five of these before the feature ships. Skipping any one of them means the new file walks FS on every customer request — exactly what we just stopped doing.

  1. Walker — add a FileKind::Foo variant in crates/oxy-compile/src/walker.rs and its suffix (.foo.yml) to NAMED_KINDS so a compile pass finds the file. Root-only files go into the explicit if path.is_file() block (see Config and MonitorConfig as templates). Discovery is one pruning pass over the tree; do not add a glob per kind, which is what it replaced (ten globs, each walking every node_modules before the skip rule ran).

    Your kind inherits two skip rules, and the working-copy lister must inherit the same two or the file resolves in the IDE and 404s on serve: any path COMPONENT that is dot-prefixed or target/node_modules/dist/build prunes at any depth (is_skipped), and any FILE NAME containing .test. drops as a fixture. The working-copy half of the second rule is list_entity_files in crates/core/src/config/storage.rs — a new list_foos goes through it, not through list_by_sub_extension directly. Both rules and why the walker wins ties: internal-docs/compile-boundary.md § "What a workspace enumerates".

Read the full file on GitHub · 72 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 21d34177b0aa
  2. 5d ago Changed 54c5c721a96c
  3. 7d ago Changed be9b54d73f93
  4. 8d ago Changed ddf860410e74
  5. 13d ago Changed · +2 lines 44dc9a93cc5c
  6. 14d ago Changed da0138782625
  7. 1mo ago First seen · 70 lines · 157 tokens per session scan A 732ae17774cf

Subscribe to this mod's changes

oxy-compile-boundary is a skill published in the GitHub repository oxy-hq/oxygen (206 stars, last pushed yesterday), licensed Apache-2.0. It adds 157 tokens to every session and 2,526 once invoked, about $0.0006 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-10-14.

Related

oxy-compile-boundary compared with skills from other repositories

oxy-compile-boundary next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oxy-compile-boundaryoxy-hq/oxygenSkill206yesterdayApache-2.0A157Claude Code
event-store-designwshobson/agentsSkill43kyesterdayMITA33Claude Code
platform-custom-field-generateforcedotcom/sf-skillsSkill1.2k4d agoApache-2.0A139Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code
field-service-sobject-create-configureforcedotcom/sf-skillsSkill1.2k4d agoApache-2.0A74Claude Code
nornicdb-grpcorneryd/NornicDBSkill937todayMITA98Claude Code, Codex
firebaseericrisco/rsc-harnessSkill6916d agoMITA77Claude Code, Codex