--- name: gemini-visualize description: Generates interactive HTML visualizations (concept maps, evidence networks, knowledge graphs) from Gemini analysis results. Use when the user requests a concept map, evidence network, or knowledge graph from completed analysis. --- # Gemini Visualize — Interactive Analysis Visualization Generate a single-file interactive HTML visualization when requested or when it materially clarifies the completed analysis, then verify it in an available browser. The agent decides enrichment depth autonomously but respects user steering ("skip visualization", "deeper on X"). ## Template Selection | Source Command | Template | Visualization Type | |---|---|---| | `/gr:video`, `/gr:video-chat` | `video-concept-map` | Concept map with knowledge states | | `/gr:research` | `research-evidence-net` | Evidence network with tier filtering | | `/gr:analyze` | `content-knowledge-graph` | Knowledge graph with entity types | Read the appropriate template from `skills/gemini-visualize/templates/` before generating. ## Core HTML Requirements Every generated visualization MUST be a **single self-contained HTML file** with: 1. **No external dependencies** — all CSS, JS, SVG/Canvas inline 2. **Dark theme** — background `#0a0a0f`, nodes/text in light colors, high-contrast edges 3. **Canvas or SVG rendering** — prefer `` for large graphs, `` for smaller ones 4. **State object pattern** — all app state in a single `state = {...}` object at the top of `