claw2ui
Installation
SKILL.md
Claw2UI - Agent-to-UI Bridge
Generate interactive web pages from TypeScript DSL specs and serve them via a public URL. Pages include Tailwind CSS, Alpine.js, and Chart.js out of the box, with pluggable themes, type checking, and mobile-responsive layouts.
Data Safety & User Confirmation
Every published page is accessible via a public URL. Never publish without explicit user approval.
- Always confirm with the user before publishing — describe what will be published and wait for explicit "yes"/"go ahead". Silent publishing is never acceptable
- Never include secrets, credentials, API keys, tokens, PII, or internal endpoints in page content
- Sanitize all user-provided data before embedding — the
htmlcomponent is sanitized server-side, but avoid passing raw untrusted input to other components - Use TTL for ephemeral or sensitive data so pages auto-expire:
--ttl 3600000(1 hour) - Review content before publishing — check that no sensitive information leaks through table rows, stat values, or chart labels
Setup
Claw2UI uses the public server at https://0xsegfaulted-claw2ui.hf.space by default. No local server needed.