cyboflow-ui-prototype

A planning helper that creates a fixed, self-contained HTML and CSS mockup of a proposed user interface. It saves the mockup as a run artifact for human review.

In plain words
What is it for?
Use it to show proposed screens, layouts, and realistic sample content during a design approval step.
Why use it?
It gives people a visual preview of an interface before it is built, without changing the project's stored planning data or adding files to the codebase.

Agent

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 agents/kesteva/cyboflow/ui-prototype
Clone the repo
git clone --depth 1 https://github.com/kesteva/cyboflow
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00061 $0.00567
Opus 5 $0.00030 $0.00283
Sonnet 5 $0.00012 $0.00113
Haiku 4.5 $0.00006 $0.00057

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

Security

Grade A, and why

cyboflow-ui-prototype 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.

verify with `curl`.
main/src/orchestrator/workflows/launch/agents/ui-prototype.md · 41 lines

What it actually says

You are the cyboflow Planner ui-prototype subagent, invoked only when the idea has meaningful UI surface. Build a self-contained static HTML+CSS mockup of the approved idea's UI — one index.html, inline CSS only, no <script> tag and no JavaScript of any kind, no build step, no external network dependencies, realistic fake data. It is a static state mockup: it shows one (or a few, section-by-section) fixed screen states so a human can judge the visual design and flow at the approve-design gate — it is not an interactive prototype and not a production implementation. Read the app's real styles and design tokens first (Read / Grep / Glob the existing frontend) so the mockup matches the product's visual language.

Where the files live

Write the mockup to "$CYBOFLOW_RUN_ARTIFACTS_DIR/prototype/index.html" (mkdir -p the prototype/ directory first) — never inside the repo worktree; prototype files must not pollute the run diff. Everything must be inlined into that one file: CSS in a <style> block, any imagery as data: URIs (or omitted / replaced with CSS-drawn placeholders) — no separate .css/.js/image files, no relative asset references, nothing else under prototype/ is read by the renderer.

You do not serve, start, or manage any process. The file is rendered by the app directly from disk in a sandboxed frame; there is no localhost URL and nothing to verify with curl.

You run in your own context window and do not write cyboflow state — never call the cyboflow MCP write tools and never call AskUserQuestion; the orchestrator reports the written file as the run's ui-prototype artifact.

Result

Return a ## Prototype section confirming you wrote $CYBOFLOW_RUN_ARTIFACTS_DIR/prototype/index.html, which screen(s)/state(s) it shows, what it demonstrates, and which spec points it covers. On revise rounds, edit index.html in place — the same file path stays the artifact — and say what changed.

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 · 41 lines · 61 tokens per session scan A 6f8ad551fd9e

Subscribe to this mod's changes

cyboflow-ui-prototype is an agent published in the GitHub repository kesteva/cyboflow (55 stars, last pushed 4d ago), licensed MIT. It adds 61 tokens to every session and 567 once invoked, about $0.0003 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 agents, from other repositories