Custom-MCPs: Skill for Claude Code

.agents/skills/local-sandbox/SKILL.md

local-sandbox is a skill for Claude Code, Codex from Edison-Watch/Custom-MCPs. It costs 62 tokens per session (1,191 once invoked), scanned A, original, MIT.

A local browser preview tool for MCP-UI apps, which are interactive interfaces shown inside an MCP connection. It renders a committed app bundle using fixture data, without a live server, account, OAuth, or network.

In plain words
What is it for?
Use it to build a standalone preview, open an app such as a Gmail inbox or composer, take a look at its rendering, and run a smoke test with canned data.
Why use it?
It lets developers check whether an MCP app’s interface renders and responds before connecting real services. It also supports testing a narrower width for mobile layouts.

Skill for Claude CodeCodex

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

This is Edison-Watch/Custom-MCPs's own configuration. It tells Claude Code and Codex how to work on Custom-MCPs 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 Custom-MCPs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Edison-Watch/Custom-MCPs. 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/Edison-Watch/Custom-MCPs/main/.agents/skills/local-sandbox/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Edison-Watch/Custom-MCPs

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 local-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/edison-watch/custom-mcps/local-sandbox.svg)](https://agentmods.dev/skills/edison-watch/custom-mcps/local-sandbox)
Your own site
<a href="https://agentmods.dev/skills/edison-watch/custom-mcps/local-sandbox"><img src="https://agentmods.dev/badge/skills/edison-watch/custom-mcps/local-sandbox.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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.00062 $0.01191
Opus 5 $0.00031 $0.00596
Sonnet 5 $0.00012 $0.00238
Haiku 4.5 $0.00006 $0.00119

Measured 6d ago against content hash 89faddc28105, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

local-sandbox 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 6d 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.

.agents/skills/local-sandbox/SKILL.md · 107 lines

How it starts

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

Local sandbox: preview MCP-UI apps from fixtures

Render a committed MCP App bundle (mcp_server/apps/<name>/dist/mcp-app.html) in a browser driven by canned data, so you can see and click the UI without a running MCP server, Gmail account, OAuth, or a tunnel. The harness lives in mcp_server/dev_preview/ (read its README.md for design details).

Use this when the task is "show me how the <app> app looks", "screenshot the MCP App", "does the iframe render", or "preview it here in the cloud".

1. Build the preview

make preview_app APP=gmail_inbox      # -> mcp_server/dev_preview/dist/gmail_inbox-preview.html
make preview_app APP=gmail_composer

APP is any directory under mcp_server/apps/. The output is one self-contained HTML file (the app bundle is inlined), so it also renders when opened standalone. dist/mcp-app.html is committed, so this works out of the box; if you changed an app's frontend, run make build_apps first.

Tune the inline width to match a client (a narrow width triggers the app's single-column mobile layout):

make preview_app APP=gmail_inbox WIDTH=460

2. Confirm it actually rendered

make preview_smoke APP=gmail_inbox     # headless Playwright; asserts fixture content painted

A pass means the app connected, received fixtures, and painted an app-specific marker (not just "connected but blank").

3. See it in the Claude Code cloud

The generated file is what you surface. Two ways, pick by what the user wants:

  • Screenshot (static, guaranteed): drive the file with the preinstalled Chromium and send the PNG. Reliable and needs no CSP cooperation.
  • Artifact (live, interactive): publish dist/<app>-preview.html as an Artifact so the user can click around in the side panel. It is fully self-contained (no external requests), which satisfies the Artifact CSP.

Screenshot snippet (Chromium is preinstalled under /opt/pw-browsers in the sandbox; bun run it from mcp_server/dev_preview/):

Read the full file on GitHub · 107 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. 6d ago First seen · 107 lines · 62 tokens per session scan A 89faddc28105

Subscribe to this mod's changes

local-sandbox is a skill published in the GitHub repository Edison-Watch/Custom-MCPs (0 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,191 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens