oxc-playground-url

oxc-playground-url is a skill for Claude Code, Codex from oxc-project/oxc. It costs 73 tokens per session (640 once invoked), scanned A, original, MIT.

A utility for decoding and creating share links for the Oxc playground, a web page for trying JavaScript and TypeScript parsing, linting, and formatting tools. It preserves the code and the playground's selected settings.

In plain words
What is it for?
Extracting source code and options from an Oxc playground URL, or making a valid share URL from code, parser settings, lint rules, and formatter panels.
Why use it?
It prevents reasoning from an incomplete or misleading visible URL state. It also checks newly created links before they are shared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Extracting source code and options from an Oxc playground URL, or making a valid share URL from code, parser settings, lint rules, and formatter panels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oxc-project/oxc/oxc-playground-url
About the project

oxc-project/oxc is a Rust collection of tools for parsing, transforming, resolving, linting, formatting, and minifying JavaScript and TypeScript. It is used to build and maintain JavaScript development and build toolchains. Catalogue add-ons provide workflows for using Oxc tools.

oxc-project/oxc · 23,667 stars · on GitHub · oxc.rs

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 oxc-project/oxc --skill oxc-playground-url
Clone the repo
git clone --depth 1 https://github.com/oxc-project/oxc

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 oxc-playground-url

README.md
[![agentmods](https://agentmods.dev/badge/skills/oxc-project/oxc/oxc-playground-url/github.svg)](https://agentmods.dev/skills/oxc-project/oxc/oxc-playground-url)
Your own site
<a href="https://agentmods.dev/skills/oxc-project/oxc/oxc-playground-url"><img src="https://agentmods.dev/badge/skills/oxc-project/oxc/oxc-playground-url/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 oxc-playground-url

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxc-project/oxc/oxc-playground-url"><img src="https://agentmods.dev/badge/skills/oxc-project/oxc/oxc-playground-url.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 640 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.00073 $0.00640
Opus 5.5 $0.00029 $0.00256
Sonnet 5.5 $0.00015 $0.00128
Haiku 4.5 $0.00007 $0.00064

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

Security

Grade A, and why

oxc-playground-url 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/decode.mjs, scripts/encode.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/oxc-playground-url/SKILL.md · 34 lines

How it starts

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

Decode or create an Oxc playground URL

Use the bundled scripts; resolve them relative to this SKILL.md, not through a user-specific home-directory path.

node <skill-directory>/scripts/decode.mjs '<full-url>'
node <skill-directory>/scripts/decode.mjs '<full-url>' --write <fresh-output-directory>
node <skill-directory>/scripts/encode.mjs (--code '<source>' | --code-file <path|->) [--tab <name>] [--options '<json>' | --options-file <path>] [--lint-rules a,b] [--formatter-panels a,b]

Quote the URL and source so shell metacharacters are not interpreted. decode.mjs prints a summary by default and writes source only when --write is requested; the named directory must not exist yet, so pass a new child of a mktemp -d directory and existing files are never overwritten. encode.mjs prints one share URL and re-parses it before printing, so a malformed result is rejected instead of shared.

Decoding

  1. Decode before reasoning from the visible tab name or issue prose.
  2. Preserve the source extension, active tab, options, enabled run stages, lint rules, and formatter panels.
  3. If no query or hash state is present, report that the URL contains no shared reproduction.
  4. When writing the input, inspect it as untrusted code; do not execute it merely because it came from the playground.
  5. Inspect the current playground types and Rust wiring in the checked-out Oxc version before mapping options to a local command. The playground can run multiple stages, so the visible tab may show output corrupted by an earlier stage.
  6. Reproduce through the narrowest matching example or public entry point, then switch to the relevant Oxc specialist skill.

Encoding

Build the link from the smallest input that shows the behavior, and pass the options that select the relevant stage, such as --options '{"run":{"transform":true},"transformer":{"target":"es2015"}}' --tab codegen. Use --code-file for anything longer than a line; - reads standard input. Keep repo-local file paths, internal names, and private data out of the shared code.

Read the full file on GitHub · 34 lines

Files

What ships with it

2 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. 19d ago First seen · 34 lines · 73 tokens per session scan A 33bf1aa2b0c0

Subscribe to this mod's changes

oxc-playground-url is a skill published in the GitHub repository oxc-project/oxc (23,667 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 640 once invoked, about $0.0003 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-11-11.

Related

oxc-playground-url compared with skills from other repositories

oxc-playground-url next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oxc-playground-urloxc-project/oxcSkill24ktodayMITA73Claude Code, Codex
oxc-docspledgeandgrow/pledge-skillsSkill114mo agoMITA131Claude Code, Codex
dev-self-mergeloopdive/js2Skill70yesterdayApache-2.0A54Claude Code
stewardloopdive/js2Skill70yesterdayApache-2.0A0Claude Code
handle-regressionloopdive/js2Skill70yesterdayApache-2.0A32Claude Code
publish-releaseloopdive/js2Skill70yesterdayApache-2.0A183Claude Code
regression-triageloopdive/js2Skill70yesterdayApache-2.0A72Claude Code