Help us improve
Share bugs, ideas, or general feedback.
From sealos
Renders deployed Sealos resources as a local read-only HTML topology canvas. Use to visualize Kubernetes resources, inspect deployment state, or open a local UI for a project deployed via Sealos Skills.
npx claudepluginhub labring/sealos-skills --plugin sealosHow this skill is triggered — by the user, by Claude, or both
Slash command
/sealos:sealos-canvasThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Render the current repository's deployed Sealos resources as a locally hosted HTML canvas. This skill is view-only: it reads `.sealos/state.json` and Kubernetes resources, starts a temporary `127.0.0.1` UI server, and returns the local URL to the user.
Deploys any GitHub project to Sealos Cloud with one command. Automates readiness checks, Dockerfile generation, image building, template creation, and deployment.
Generates interactive HTML architecture diagrams with animated step-by-step flows, mode toggles, and side panel details. For service maps, CI/CD pipelines, data flows, and workshop diagrams.
Guides creating, organizing, and managing Helm charts for Kubernetes application deployment. Helps with scaffolding, templating, chart repositories, and best practices.
Share bugs, ideas, or general feedback.
Render the current repository's deployed Sealos resources as a locally hosted HTML canvas. This skill is view-only: it reads .sealos/state.json and Kubernetes resources, starts a temporary 127.0.0.1 UI server, and returns the local URL to the user.
kubectl get and kubectl config view.~/.sealos/kubeconfig..sealos/state.json with last_deploy, stop and tell the user to deploy first with /sealos-deploy.Use the current working directory unless the user provides a local path:
WORK_DIR="$(pwd)"
Confirm this is the intended repository before generating output.
Run:
node "<SKILL_DIR>/scripts/generate-canvas.mjs" --work-dir "$WORK_DIR"
Keep this process running while the user is viewing the canvas. The script writes JSON to stdout after the local server starts.
If ok is false, show the message to the user and end the flow. Do not run fallback discovery, do not deploy, and do not create any other artifact.
If ok is true, use local_url as the primary output.
Open the returned URL with the browser:
http://127.0.0.1:<port>/index.html
Then summarize:
Stop the server process when the user is done viewing the page or when the current task ends.
Success:
{
"ok": true,
"local_url": "http://127.0.0.1:63220/index.html",
"html_path": "/abs/path/.sealos/canvas/index.html",
"node_count": 5,
"edge_count": 4,
"app_url": "https://example.sealos.run"
}
Stop condition:
{
"ok": false,
"reason": "not_deployed",
"message": "This project has not been deployed by Sealos Skills yet. Run /sealos-deploy first, then run /sealos-canvas again."
}
The locally hosted UI should feel like a topology canvas, not a table:
Theme extraction is best effort. Reuse the user's repo accent color, font, and radius when easy to detect, but preserve operational readability.
scripts/generate-canvas.mjs is the deterministic entrypoint. It:
.sealos/state.json.~/.sealos/kubeconfig and kubectl.kubectl get.canvasModel with app, nodes, edges, events, and theme.assets/canvas-template.html into an internal .sealos/canvas/index.html cache.local_url.Use --no-serve only for tests or CI checks that should generate HTML without keeping a server process alive.