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/copilotkit/opengenerativeui/advanced-visualizationnpx skills add CopilotKit/OpenGenerativeUI --skill advanced-visualizationgit clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUIWhat 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 | $0.00037 | $0.08460 |
| Opus 5 | $0.00018 | $0.04230 |
| Sonnet 5 | $0.00007 | $0.01692 |
| Haiku 4.5 | $0.00004 | $0.00846 |
Grade A, and why
Advanced Visualization Techniques 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 — 963 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Visualization Skills — Volume 2: Advanced Techniques
Prerequisite: Volume 1 (SVG diagrams, basic interactive widgets, Chart.js, Mermaid). This volume covers: UI mockups, dashboards, advanced interactivity, generative art, simulations, math visualizations, and the design system that ties everything together.
Part 0: The Tool Contract — generateSandboxedUi
Everything in this volume ships through the generateSandboxedUi tool. The UI
streams as you generate it, so emit the parameters in this EXACT order:
initialHeight— estimated height of the finished UI in px.placeholderMessages— 2-4 short, playful progress messages.css— ALL styles, up front. The user sees a placeholder until css is complete, so keep it lean and put every style here for the css-first reveal.html— clean body markup, streamed in live. No<style>blocks (the css parameter owns all styles), no monolithic inline<script>blocks.jsFunctions— named function declarations: the reusable toolbox of behavior.jsExpressions— small statements invoking those functions, applied one-by-one so the user watches each take effect.
Write parameterized generators in jsFunctions (drawWing(color), not
drawRedWing()). A well-parameterized toolbox lets a later refinement turn —
"make the wings red" — append ONE new expression to jsExpressions instead of
regenerating the whole document.
The sandbox iframe has NO same-origin access: no localStorage, sessionStorage,
cookies, IndexedDB, or same-origin fetch. The host bridge is
await Websandbox.connection.remote.sendPrompt({ text }) and
await Websandbox.connection.remote.openLink({ url }) (https only). The design
system (Part 1) and an importmap for three, gsap, d3, and chart.js
(Part 7) are pre-injected.
Part 1: The Design System
Every visual you produce should feel native to the host interface — not like an embedded iframe from somewhere else. These rules apply to ALL output types.
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 · 963 lines · 37 tokens per session scan A b134d0b46656
Advanced Visualization Techniques is a skill published in the GitHub repository CopilotKit/OpenGenerativeUI (1,534 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 8,460 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-08-30.
Other skills, from other repositories
Advanced Visualization Techniques
UI mockups, dashboards, advanced interactivity, generative art, simulations, math visualizations, and design system rules for producing rich HTML widget output.
reskin
Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…
Master Agent Playbook
Philosophy, decision-making framework, and technical skills for delivering visual, interactive, and educational AI responses.
SVG Diagram Generation
Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
copilotkit-setup
Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.
setup-slack-channel
Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…