oxy-custom-apps

oxy-custom-apps is a skill for Claude Code, Codex from oxy-hq/oxygen. It costs 220 tokens per session (5,655 once invoked), scanned A, original, Apache-2.0.

A guide for building Oxy custom-app bundles: React and Vite web applications served by Oxy. It covers the Oxy data and UI packages, query access, development setup, and publishing the app.

In plain words
What is it for?
Use it to build, debug, review, and publish Oxy customer apps, including React interfaces that call Oxy queries or functions.
Why use it?
It helps prevent deployment and development problems such as incorrect asset paths, missing API proxying, or wiring the data layer by hand. It explains the contract an app must follow to run in Oxy.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to build, debug, review, and publish Oxy customer apps, including React interfaces that call Oxy queries or functions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oxy-hq/oxygen/oxy-custom-apps
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-custom-apps
Clone the repo
git clone --depth 1 https://github.com/oxy-hq/oxygen

Made for: Claude Code, Codex.

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-custom-apps

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxy-hq/oxygen/oxy-custom-apps"><img src="https://agentmods.dev/badge/skills/oxy-hq/oxygen/oxy-custom-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 220 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,655 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.00220 $0.05655
Opus 5.5 $0.00088 $0.02262
Sonnet 5.5 $0.00044 $0.01131
Haiku 4.5 $0.00022 $0.00566

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

Security

Grade A, and why

oxy-custom-apps 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.

sdk/cli/skills/oxy-custom-apps/SKILL.md · 385 lines

How it starts

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

Custom-app development

Custom-app bundles are arbitrary JS apps served by Oxy at https://<env>/customer-apps/<org>/<slug>/. Oxy is a data gateway: serves static assets, gates cookie auth, and proxies queries. The bundle is opaque above the data plane — no per-app server config.

This file is the contract. The detail lives in references/ — see Read next for which file answers what.

The Oxy App Kit (use it)

Two small packages remove the footguns — default to them rather than wiring a bundle by hand:

  • @oxy-hq/sdk — the data layer (useQuery, useSemanticQuery, useAgentRun, <OxyChat>); see rule 2 and the @oxy-hq/sdk README.
  • @oxy-hq/vite-plugin (oxyApp() in vite.config.ts) — bakes the asset base path from the manifest, copies oxy-app.json into out/, proxies /api in dev, and injects the window.__OXY_APP__ shim. Dropping it re-introduces the #1 bug — asset 404s → blank dashboard (rule 3).

Scaffold both with pnpm create @oxy-hq/oxy-app my-app (templates vite — the default — functions, dashboard, single-store; -t functions adds Oxy Functions). The platform is kit-agnostic (any bundle with a correct base path works), but hand-rolling means owning the base-path + dev-proxy wiring yourself.

Three rules

  1. oxy-app.json (project root, not public/) is identity only. Schema:

    {
      "schemaVersion": 2,
      "slug": "url-slug",
      "orgSlug": "your-org",
      "name": "Display Name"
    }
    

    Required: schemaVersion (must be 2), slug (non-empty). Strongly recommended: orgSlug (lets @oxy-hq/vite-plugin derive the asset base path automatically, so plain pnpm build produces a bundle ready to drop into the linked org with no env var). Optional: name (display), projectId (dev-time hint).

    At serve time, oxy injects the authoritative org + project from the admin row via window.__OXY_APP__ — the manifest's orgSlug and projectId are advisory hints only, never enforcement.

Read the full file on GitHub · 385 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · -163 lines · +150 tokens per session 98a5976f7056
  2. 2d ago First seen · 548 lines · 70 tokens per session scan A 7fdfe8586f1b

Subscribe to this mod's changes

oxy-custom-apps is a skill published in the GitHub repository oxy-hq/oxygen (203 stars, last pushed yesterday), licensed Apache-2.0. It adds 220 tokens to every session and 5,655 once invoked, about $0.0009 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

nextjs-pages-router

Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.

trpc/trpc · 67 tokens

subscriptions

Set up real-time event streams with async generator subscriptions using .subscription(async function() { yield }). SSE via httpSubscriptionLink is recommended over WebSocket. Use tracked(id, data) from @trpc/server for reconnection recovery with lastEventId. WebSocket via wsLink and createWSClient from @trpc/client…

trpc/trpc · 118 tokens

links

Configure the tRPC client link chain: httpLink, httpBatchLink, httpBatchStreamLink, splitLink, loggerLink, wsLink, createWSClient, httpSubscriptionLink, unstablelocalLink, retryLink. Choose the right terminating link. Route subscriptions via splitLink. Build custom links for SOA routing. Link options: url, headers…

trpc/trpc · 90 tokens

middlewares

Create and compose tRPC middleware with t.procedure.use(), extend context via opts.next({ ctx }), build reusable middleware with .concat() and .unstablepipe(), define base procedures like publicProcedure and authedProcedure. Access raw input with getRawInput(). Logging, timing, OTEL tracing patterns.

trpc/trpc · 63 tokens

non-json-content-types

Handle FormData, file uploads, Blob, Uint8Array, and ReadableStream inputs in tRPC mutations. Use octetInputParser from @trpc/server/http for binary data. Route non-JSON requests with splitLink and isNonJsonSerializable() from @trpc/client. FormData and binary inputs only work with mutations (POST).

trpc/trpc · 75 tokens

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens