write-mini-app-code

A skill for writing, editing, or reviewing Agent Spaces Workflow UI code from a supplied project path. It uses local Workflow UI renderer, host-component, and plugin source instead of runtime agent tools.

In plain words
What is it for?
Use it for React or HTML preview work in the Workflow UI project, including code changes and reviews.
Why use it?
It provides a defined way to inspect the relevant local source while changing Workflow UI code.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hunmer/agent-spaces/write-mini-app-code
Any agent
npx skills add hunmer/agent-spaces --skill write-mini-app-code
Clone the repo
git clone --depth 1 https://github.com/hunmer/agent-spaces

Made for: Claude Code, Codex.

Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00102 $0.09756
Opus 5 $0.00051 $0.04878
Sonnet 5 $0.00020 $0.01951
Haiku 4.5 $0.00010 $0.00976

Measured 2d ago against content hash ebc7b338a31c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-mini-app-code scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const code = await (await fetch(url)).text();
docs/skills/write-mini-app-code/SKILL.md · 705 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 705 lines · 102 tokens per session scan A ebc7b338a31c

Subscribe to this mod's changes

write-mini-app-code is a skill published in the GitHub repository hunmer/agent-spaces (47 stars, last pushed 5d ago), with no licence file. It adds 102 tokens to every session and 9,756 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

beads

Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory. Trigger when the user asks to find ready work, claim or close tasks, create follow-up work, inspect blockers, recover project context, or…

gastownhall/beads · 74 tokens

beads-docs

Project conventions for writing, editing, restructuring, or reviewing the beads user documentation — the Mintlify site under docs/. Use this whenever you touch anything in docs/ (pages, concept docs, reference, integration guides, recovery runbooks, diagrams, docs.json navigation) or write/edit prose about beads, even…

gastownhall/beads · 170 tokens

skill-creator

Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.

luongnv89/asm · 54 tokens

find-me-skills

Find Agent Skills for a goal the user cannot name yet, then export an installable bundle. Use when they ask which skills fit a project. Don't use for installing named skills, authoring skills, or catalog maintenance.

luongnv89/asm · 49 tokens

skill-upstream-pr

Improve an open-source GitHub skill and open a friendly suggestion PR upstream: fork, run skill-auto-improver, attach asm eval before/after metrics. Don't use for local-only skills, authoring from scratch, bulk repos, or registry publish.

luongnv89/asm · 56 tokens

well-formed

Review pull request diffs for code smells, style issues, and safety problems before merging.

luongnv89/asm · 22 tokens