oxygen: Skill for Claude Code

.claude/skills/oxy-data-placement/SKILL.md

oxy-data-placement is a skill for Claude Code from oxy-hq/oxygen. It costs 113 tokens per session (1,241 once invoked), scanned A, original, Apache-2.0.

A data-placement guide for deciding where an organisation's data should live. It separates platform data from customer-owned data and maps different kinds of data to their storage systems.

In plain words
What is it for?
Use it when adding tables or migrations, storing events, orders, documents, uploads, or app state, and fixing data-placement checks.
Why use it?
It prevents customer data from being put in the platform database by mistake and helps keep routing and access information separate from customer content.

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-data-placement/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-data-placement

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxy-hq/oxygen/oxy-data-placement"><img src="https://agentmods.dev/badge/skills/oxy-hq/oxygen/oxy-data-placement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,241 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.00113 $0.01241
Opus 5.5 $0.00045 $0.00496
Sonnet 5.5 $0.00023 $0.00248
Haiku 4.5 $0.00011 $0.00124

Measured 2d ago against content hash 4fa0e6f35c1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oxy-data-placement 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 2d 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/skills/oxy-data-placement/SKILL.md · 77 lines

How it starts

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

Data placement: the shape of the data picks the store

Oxy is the control plane; each org is its own data plane. Full rule, enforcement and backlog: internal-docs/data-placement.md. This skill is the decision, not the reference.

Oxy's Postgres holds only what runs the platform

Identity and access, configuration (compiled definitions, secret references), what Oxy is doing (queue, leases, cursors, schedules), billing, audit, and signals that carry ids, never content.

Two questions decide a table:

  1. If this org left, would they expect to take these rows? Yes → data plane.
  2. Does Oxy need it before it knows which org is involved (routing, authz, scheduling)? Yes → control plane.

Both yes → split the row: the part Oxy routes on stays, the content moves.

Everything else: four shapes, four stores

Shape Store Custom-app surface Platform (Rust) path
Facts — happened, won't change: an order, a completed checklist, a reading Workspace Airhouse (DuckLake) ctx.airhouse.append / query / exec into app_<writer>; tables via airhouseMigrations Airway pipeline for external sources; a system-purpose Airhouse client for ingest (crates/cameras/src/airhouse/mod.rs)
Records an app edits — current state with constraints Org OLTP Postgres ctx.oltp.query / exec / tx; tables via migrations oxy_oltp writers: app:<slug> → app_<slug>, pipeline:<src> → raw_<src>
Files — bytes App storage (S3) ctx.storage object store, key in a record or fact
Customer warehouse — theirs Theirs ctx.warehouse.query; writes refused unless customerWarehouseWrites names the database with a reason read only

Picking: bytes? → storage. Changes after it's written? No → fact; yes → record; both when history matters (record for "true now", fact for "what changed"). Already in the customer's warehouse? → read it there; copy it with Airway if it must join facts.

Read the full file on GitHub · 77 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. 2d ago First seen · 77 lines · 113 tokens per session scan A 4fa0e6f35c1b

Subscribe to this mod's changes

oxy-data-placement is a skill published in the GitHub repository oxy-hq/oxygen (203 stars, last pushed yesterday), licensed Apache-2.0. It adds 113 tokens to every session and 1,241 once invoked, about $0.0005 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

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

dsql

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…

awslabs/agent-plugins · 246 tokens