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.
npx agentmods add skills/craftos-dev/craftbot/living-ui-creatornpx skills add CraftOS-dev/CraftBot --skill living-ui-creatorgit clone --depth 1 https://github.com/CraftOS-dev/CraftBotWrote 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.
[](https://agentmods.dev/skills/craftos-dev/craftbot/living-ui-creator)<a href="https://agentmods.dev/skills/craftos-dev/craftbot/living-ui-creator"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/living-ui-creator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.04428 |
| Opus 5 | $0.00019 | $0.02214 |
| Sonnet 5 | $0.00008 | $0.00886 |
| Haiku 4.5 | $0.00004 | $0.00443 |
Grade A, and why
living-ui-creator 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Living UI Creator
A Living UI is a self-contained local web app: one PocketBase process (data, auth, realtime, custom verbs) serving a React frontend built from a preset kit. You declare schema, compose UI, wire verbs — the platform owns the rest.
Step 0: Have a registered project (MANDATORY FIRST)
- Task instruction contains
Project ID+Project Path→ the project is already scaffolded. Use those values. Skip scaffolding. - No Project ID in your instruction (user asked in a regular chat) → call
living_ui_scaffold(name, description, auth_mode)— it scaffolds AND dispatches the build to the project's dedicated session. Tell the user the build started, then end your turn. Do NOT build in the chat session.
Pick auth_mode from requirements: none (personal local tool — default) or
multi-user (accounts; the kit's LoginGate wraps the app automatically).
The ownership rule (the gate enforces this)
Edit ONLY:
| Path | Purpose |
|---|---|
frontend/src/app/ |
all UI code |
pb/pb_migrations/ |
schema — one NEW migration per change |
pb/pb_hooks/ops.pb.js + new *.pb.js / *.js modules |
custom verbs + their helpers |
operations.json |
declarations for those verbs (non-system entries) |
LIVING_UI.md |
your plan/context/index — keep current |
NEVER edit frontend/src/kit/, frontend/src/main.tsx, frontend/src/config.gen.ts,
pb/pb_hooks/_system.pb.js, manifest.json, or build configs — the validation
gate hashes them and fails the build if they changed. Need a variant of a
kit component? Wrap it in app/:
// frontend/src/app/components/DueBadge.tsx
import { cn } from '../../kit/index.ts';
export function DueBadge({ overdue }: { overdue: boolean }) { /* compose */ }
Before coding
- If
reference/requirements.mdstarts withMARKETPLACE DECISION: install <app-id>— do NOT build. Callliving_ui_marketplace_install(app_id=..., name=..., description=..., will_adapt=<true if the decision line says adapt: yes>). It installs INTO this project (same tab and id — never a duplicate).adapt: no— the install completes the build and the system announces it; do NOT send your own summary and do NOT call notify_ready or walk_verify. End the run.adapt: yes— after the install, apply ONLY the adaptations listed under## Adaptations(modify flow: edit →living_ui_notify_ready→living_ui_walk_verify). If the list says "none specified", ask the user what to change (a FINALsend_message) instead of guessing. The user explicitly chose reuse over a fresh build — never rebuild what was just installed, even if a later trigger asks you to "continue" it.
- Read
agent_file_system/GLOBAL_LIVING_UI.md— colors, fonts, enforced rules. - Read
{project_path}/LIVING_UI.mdandreference/requirements.md. The creation wizard interviewed the user and synthesizedrequirements.md— it is the binding spec: implement it exactly and mirror its checklist intoLIVING_UI.md. If it is absent, build from the project description; only ask the user (a FINALsend_message,continue_work=false) when something is genuinely blocking and you cannot reasonably decide it yourself. - Any feature need data from outside the app? Check, then research.
FIRST check the
[INTEGRATIONS this app can use]block already in your context — if a connected integration's action covers the feature (email =send_gmail), usebridge.callAction; nothing to research. Only for THIRD-PARTY public APIs: research like an engineer — endpoint, auth, response shape, limits. Spawn a research_agent; never write an integration hook from memory.- User named an API/service → research it. If it needs a key, tenant URL,
or account detail you cannot find online, ask the user (final
send_message) and build the rest of the app while waiting. - No API named → research candidates and pick a keyless public API yourself (e.g. Open-Meteo for weather). Choosing the source is your engineering call — no user round-trip.
- Nothing usable exists → build the honest empty/offline state and REPORT the blocker in your final message. Mock or generated data is forbidden unless requirements explicitly ask for demo data.
- User named an API/service → research it. If it needs a key, tenant URL,
or account detail you cannot find online, ask the user (final
- A Living UI build is substantial work — the standard run protocol applies
as-is (scope, plan, execute, verify, deliver); this skill adds nothing to
it.
reference/requirements.mdis the binding spec verification checks against; mirror the feature checklist inLIVING_UI.md.
What ships with it
9 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.
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.
- 2d ago First seen · 337 lines · 38 tokens per session scan A 44f8ae0aaa04
living-ui-creator is a skill published in the GitHub repository CraftOS-dev/CraftBot (378 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 4,428 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
turix-mac
Computer Use Agent (CUA) for macOS automation using TuriX. Use when you need to perform visual tasks on the desktop, such as opening apps, clicking buttons, or navigating UIs that don't have a CLI or API.
browser-control
Control web pages in an existing Chromium remote-debugging session with deterministic sagui commands or the browser-only AI Agent. Use when Claude Code needs to inspect tabs, observe semantic elements, navigate, click, type, send keys, scroll, or complete a browser goal through CDP without controlling native macOS UI…
agent-smoke-test
Run manual development checks for SwiftAutoGUI AI Agent actions through the local sagui CLI. Use when Claude or Codex needs to test app-control or Accessibility BasicAction generation on macOS.
macos-control
Control macOS GUI applications via mouse automation, keyboard input, screenshots, image recognition, and AppleScript execution. Use when you need to interact with macOS app UIs, take screenshots, click buttons, type text, scroll, drag, or locate images on screen.
open-record-replay
Record a user-demonstrated macOS workflow with the Open Record/Replay CLI, inspect the captured event stream, prepare a skill evidence package, and hand it to the host agent's native skill creator. Use when the user asks the agent to watch them perform a task, record a workflow, or create/refine a reusable Computer…
artifact-storage-policy
管理 Codex 交付物的專案識別、Google Drive/GitHub 路由、檔名、儲存位置與回讀驗證;凡工作報告、外部保存、交付成果或新 repository 選擇涉及遠端儲存時使用。.