oxy-customer-apps-perf

oxy-customer-apps-perf is a skill for Claude Code from oxy-hq/oxygen. It costs 150 tokens per session (3,032 once invoked), scanned A, original, Apache-2.0.

A performance guide for custom-app web routes and data endpoints. It defines how responses and static files should be cached while keeping private HTML and visitor session data from being shared.

In plain words
What is it for?
Use it when adding or changing custom-app serving routes, data endpoints, asset caching, or HTML response headers.
Why use it?
It avoids repeated authentication and membership work for unchanged files and prevents shared caches from exposing one visitor's session information.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when adding or changing custom-app serving routes, data endpoints, asset caching, or HTML response headers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oxy-hq/oxygen/oxy-customer-apps-perf
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.

Any agent
npx skills add oxy-hq/oxygen --skill oxy-customer-apps-perf
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-customer-apps-perf

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxy-hq/oxygen/oxy-customer-apps-perf"><img src="https://agentmods.dev/badge/skills/oxy-hq/oxygen/oxy-customer-apps-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,032 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.00150 $0.03032
Opus 5.5 $0.00060 $0.01213
Sonnet 5.5 $0.00030 $0.00606
Haiku 4.5 $0.00015 $0.00303

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

Security

Grade A, and why

oxy-customer-apps-perf 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.

crates/api-custom-apps/.claude/skills/oxy-customer-apps-perf/SKILL.md · 171 lines

How it starts

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

Customer-apps performance (serve + data plane)

The perf baseline every custom-app request must keep, established by PR #2634 (full rationale, threat model, and future options: internal-docs/customer-apps-performance.md). When you touch the serve or data path, preserve these — they are cheap to keep and expensive to retrofit under load.

Serve plane — crates/api-custom-apps/src/serve/, crates/server/src/custom_apps_seams.rs

  • Content-hashed assets → immutable Cache-Control. URLs under assets/ (Vite / Astro / Rsbuild / SvelteKit) and _next/static/ (Next) change only when their bytes change → public, max-age=31536000, immutable. HTML → private, no-cache; unfingerprinted root files → public, max-age=300, unless their ?v= names the build being served (the launcher's icon/art URLs) → immutable. This is cache_control_for; a new hashed-asset dir means adding its prefix there. Without it, every chunk re-runs the full auth + membership walk in serve_inner.
  • HTML stays private. It carries a per-visitor tracking Set-Cookie, and no-cache alone still lets a shared cache store the response — which would hand every later visitor one session id. Do not "simplify" this to no-cache.
  • The resolution chain must stay fully cached. Warm steady state is zero DB round-trips per asset. Adding an uncached lookup to serve_pretty / serve_from_s3_build costs ~100 queries per page load on its own. New app-row state means a new invalidate_app_resolution_cache() call site.
  • Assets are pre-compressed at publish, not per request (custom_apps_precompress). A new compressible output type belongs in is_precompressible_extension; HTML must stay excluded (it is rewritten at serve time). Any response that ships Content-Encoding MUST also ship Vary: accept-encoding.
  • HTML → weak ETag + If-None-Match 304. Injected HTML is a transform, so use a weak W/"…" ETag over the final bytes (etag_for / if_none_match in serve_from_s3_build); a matching If-None-Match returns 304 and skips the re-inject.
  • Compression is SSE-safe. CompressionLayer on /customer-apps/{*path} relies on DefaultPredicate, which skips text/event-stream and already-encoded bodies — so the /fn SSE stream and the v0 proxy are untouched. If you add a streaming response under this route, confirm it stays text/event-stream (or keep it off the layer); never compress a stream. text/html is the one type excluded (custom_app_compression): rendered HTML carries its own memoised brotli copy (RenderedHtml.br, filled once on the blocking pool, served with Vary), so never compress HTML per request.
  • Usage writes are off the request path. record_view / queue_event only try_send onto the bounded queue in custom_apps_usage_queue; a full queue drops and counts, never blocks. Do not add a tokio::spawn or a DB read to the page-load tail.

Read the full file on GitHub · 171 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 88a1e6e883df
  2. 3d ago Changed · +11 lines 71c9ce979aad
  3. 5d ago Changed · -1 tokens per session fc10d7d3e670
  4. 16d ago Changed · +7 tokens per session 549864ab51a5
  5. 1mo ago Changed · +8 lines 5487d5645eee
  6. 1mo ago Changed · +6 lines · +4 tokens per session 90846cd19017
  7. 1mo ago Changed · +14 tokens per session 6da3724c1ec3
  8. 1mo ago First seen · 146 lines · 126 tokens per session scan A cb51ee9c68b8

Subscribe to this mod's changes

oxy-customer-apps-perf is a skill published in the GitHub repository oxy-hq/oxygen (206 stars, last pushed yesterday), licensed Apache-2.0. It adds 150 tokens to every session and 3,032 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-customer-apps-perf compared with skills from other repositories

oxy-customer-apps-perf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oxy-customer-apps-perfoxy-hq/oxygenSkill206yesterdayApache-2.0A150Claude Code
alchemy-providerpingdotgg/t3codeSkill85ktodayMITA153Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
django-storages-s3Jeffallan/claude-skillsSkill13ktodayMITA138Claude Code
websocket-engineerJeffallan/claude-skillsSkill13ktodayMITA36Claude Code
azure-eventhub-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA94Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code