Skip to content
FunCoding

canvas-network-viz

Canvas/A2UI inline network visualizations — topology maps, health dashboards, alert cards, change timelines, config diffs, path traces, and health scorecards rendered directly in the OpenClaw chat interface. Consumes existing MCP server data (pyATS, Grafana, Prometheus, ServiceNow, SuzieQ, Batfish) and outputs A2UI JSON for Canvas rendering. Use when the operator asks to see a network map, device dashboard, alert summary, change request timeline, config diff, forwarding path trace, or health scorecard.

Star
740
Category
Diagrams
License
Apache-2.0
Last commit
Dec 2, 2026

workspace/skills/canvas-network-viz/SKILL.md

View on GitHub

Canvas Network Visualization

Overview

This skill renders inline network visualizations in the OpenClaw chat interface using the Canvas/A2UI framework. It does NOT establish direct device connections or create new MCP servers. All data is sourced from existing MCP tools.

Visualization Types

TypeComponentData SourcesTrigger
Topology Maptopology-mappyATS CDP/LLDP, health metrics"show network topology"
Dashboard Paneldashboard-panelpyATS, Grafana, Prometheus"show health dashboard for {device}"
Alert Cardalert-cardGrafana alerts, Prometheus alertmanager"show current alerts"
Change Timelinechange-timelineServiceNow"show change request {CR} status"
Diff Viewdiff-viewpyATS config/route/ACL"show config diff for {device}"
Path Tracepath-tracepyATS, SuzieQ"trace path from {src} to {dst}"
Health Scorecardhealth-scorecardpyATS, Grafana, Prometheus"show health scorecard for {site}"

How It Works

  1. Operator requests a visualization via natural language
  2. Skill identifies visualization type from request pattern
  3. Data is fetched from relevant MCP servers via existing tools
  4. Data is transformed into the visualization-specific content model
  5. A2UI JSON envelope is built with component type, props, and content
  6. Canvas framework renders the visualization inline in chat
  7. GAIT audit log entry is emitted for the visualization event

Output Format

All visualizations produce A2UI JSON:

{
  "a2ui": {
    "version": "1.0",
    "type": "canvas",
    "component": "<visualization-type>",
    "props": {
      "id": "<uuid>",
      "title": "<title>",
      "timestamp": "<ISO 8601>",
      "dataSources": [...],
      "scope": {...},
      "warnings": [...],
      "content": {...}
    }
  }
}

Graceful Degradation

  • If a data source is unavailable, partial data is rendered with warnings
  • If no data is available at all, an error-card is returned with guidance
  • Health status defaults to "unknown" (gray) when metrics are missing
  • Large topologies (200+ nodes) are automatically clustered by site

Integration with Other Skills

SkillIntegration
gait-session-trackingAll visualization events are GAIT-logged
pyats-topologyCDP/LLDP discovery data for topology maps
pyats-health-checkHealth metrics for node coloring and dashboards
grafana-observabilityPrometheus metrics, alerts, dashboard data
prometheus-monitoringDirect PromQL queries for metrics
servicenow-change-workflowChange request lifecycle data

Important Rules

  • Read-only: This skill never modifies network devices or MCP server state
  • No new credentials: Uses existing MCP server connections only
  • Complements Three.js HUD: Does not replace ui/netclaw-visual/
  • GAIT mandatory: Every visualization generation is audit-logged
  • WCAG 2.1 AA: Color scales meet accessibility contrast requirements

Similar Skills

design

NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days

slides

NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days

diagram

GAgarrytan/gstack143k598 new stars in the last 7 days

Official

dating-web

NEnexu-io/open-design111k1,277 new stars in the last 7 days

Official

critique

NEnexu-io/open-design111k1,277 new stars in the last 7 days

Featured

archify

Create interactive architecture, sequence and data-flow diagrams as HTML, with PNG and SVG export.

TTtt-a1i/archify102k2,617 new stars in the last 7 days