mercury-playground

mercury-playground is a skill for Codex from fiberfx/mercury. It costs 81 tokens per session (1,298 once invoked), scanned A, original, MIT.

A guide for building interactive Mercury playgrounds: web tools with live controls, a visual preview, and a copyable plain-language prompt.

In plain words
What is it for?
Use it to create design explorers, data explorers, concept maps, document critiques, diff reviews, or code maps inside an existing app or as a portable artifact.
Why use it?
It turns complex choices—such as design options, data queries, learning relationships, document suggestions, or code changes—into something users can explore and adjust.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create design explorers, data explorers, concept maps, document critiques, diff reviews, or code maps inside an existing app or as a portable artifact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fiberfx/mercury/mercury-playground
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 fiberfx/mercury --skill mercury-playground
Clone the repo
git clone --depth 1 https://github.com/fiberfx/mercury

Made for: 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 mercury-playground

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fiberfx/mercury/mercury-playground"><img src="https://agentmods.dev/badge/skills/fiberfx/mercury/mercury-playground.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,298 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.00081 $0.01298
Opus 5.5 $0.00032 $0.00519
Sonnet 5.5 $0.00016 $0.00260
Haiku 4.5 $0.00008 $0.00130

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

Security

Grade A, and why

mercury-playground 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 5d 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.

skills/mercury-playground/SKILL.md · 55 lines

How it starts

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

Mercury Playground

Turn a broad decision space into something the user can explore, adjust, and turn into an actionable prompt. Compose real Mercury components and preserve the user's requested destination: a page inside an existing application or a portable built artifact.

Choose the relevant template

Read only the matching template, then adapt its layout to the subject and host application.

Subject Template
Components, layouts, typography, color, motion Design playground
Queries, structured configuration, APIs, pipelines Data explorer
Learning, relationships, knowledge gaps Concept map
Documents with approved/rejected suggestions Document critique
Actual diffs with contextual line comments Diff review
Codebase layers, dependencies, flows, component comments Code map

Establish the implementation boundary

Find the requested application, its Mercury dependencies and applicable project instructions. Inspect the used components’ public exports, types, implementation and co-located .prompt.md where available. When source is absent, use documentation and type declarations matching the pinned artifacts; do not require a native source checkout for a browser-only host. Confirm uncertain behavior in the actual example. Keep package/version evidence explicit: older local docs may still describe React or pnpm.

Read Mercury contracts before implementation. Preserve a working host’s supported Mercury workflow. For a native checkout, use its mx route; for a requested browser-only example, use the complete pinned import map, plain JavaScript and UI stylesheet. Do not install a replacement toolchain, switch to React/compat, or substitute hand-written lookalikes to evade a resolution failure. An unavailable required runtime is a concrete limitation; preserve the source work.

Read the full file on GitHub · 55 lines

Files

What ships with it

8 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. 5d ago First seen · 55 lines · 81 tokens per session scan A d784f79afd5d

Subscribe to this mod's changes

mercury-playground is a skill published in the GitHub repository fiberfx/mercury (44 stars, last pushed 12d ago), licensed MIT. It adds 81 tokens to every session and 1,298 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-15.

Related

mercury-playground compared with skills from other repositories

mercury-playground next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mercury-playgroundfiberfx/mercurySkill4412d agoMITA81Codex
generate-code-csAzure/azure-sdk-for-netSkill6.1ktodayMITA26Claude Code, Codex
build-sample-matrixAzure/azure-sdk-for-netSkill6.1ktodayMITA17Claude Code, Codex
author-testAzure/azure-sdk-for-netSkill6.1ktodayMITA68Claude Code, Codex
update-changelogAzure/azure-sdk-for-netSkill6.1ktodayMITA25Claude Code, Codex
writing-specsonsi/ginkgoSkill9.1k18d agoMITA131Claude Code
cionsi/ginkgoSkill9.1k18d agoMITA151Claude Code