glawson6/jaiclaw/canvas

Claude Code and agent skill by glawson6/jaiclaw

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Display HTML content on connected nodes via the canvas tools (canvas_present, canvas_eval, canvas_snapshot).

Install

npx vskill@latest install glawson6/jaiclaw/canvas

SKILL.md

The same SKILL.md was published earlier as glawson6/jaiclaw/canvas.

Canvas

Display HTML content on connected nodes using the canvas tools.

Overview

The canvas tools let you present web content on any connected client's canvas view. Great for:

  • Displaying games, visualizations, dashboards
  • Showing generated HTML content
  • Interactive demos and forms

Tools

ToolDescription
canvas_presentPush HTML content for rich visual display
canvas_evalExecute JavaScript in the canvas context
canvas_snapshotCapture current canvas content as HTML

Architecture

+------------------+ +------------------+ +--------------+
| Canvas Service |---->| File Manager |---->| HTTP Server |
| (state + URL) | | (disk storage) | | Port 18793 |
+------------------+ +------------------+ +--------------+
|
v
+--------------+
| Client App |
| (WebView) |
+--------------+
  1. Canvas Service: Manages per-session state, writes HTML via file manager, returns URLs
  2. File Manager: Persists HTML files with UUID naming
  3. HTTP Server: Serves the HTML files to connected clients

Configuration

Canvas is configured via application properties:

yaml
jaiclaw:
canvas:
enabled: true
port: 18793
host: 127.0.0.1
live-reload: true
PropertyDefaultDescription
enabledfalseEnable the canvas feature
port18793HTTP server port
host127.0.0.1Bind address
live-reloadtrueAuto-reload on file changes

Workflow

1. Present HTML content

Use the canvas_present tool with an html parameter:

canvas_present html:"<html><body><h1>Hello Canvas!</h1></body></html>"

The tool returns a URL like http://127.0.0.1:18793/<uuid>.html.

2. Capture current state

Use canvas_snapshot to retrieve the current HTML content:

canvas_snapshot

Returns the raw HTML of the currently displayed canvas.

3. Execute JavaScript

Use canvas_eval to run JavaScript in the canvas context:

canvas_eval javascript:"document.title = 'Updated'"

Note: Requires a connected client with bidirectional communication.

Tips

  • Keep HTML self-contained (inline CSS/JS) for best results
  • The canvas persists until you present new content or the session ends
  • Live reload makes development fast — save and it updates automatically
  • Use canvas_snapshot to capture state before modifying content
  • Multi-tenant: each tenant gets isolated canvas state and file storage

URL Format

Canvas content is served at:

http://{host}:{port}/{uuid}.html

The host and port come from the canvas configuration. The UUID is auto-generated per content push.

Bind Modes

The canvas host binds based on configuration:

Host SettingAccess
127.0.0.1Local only (default)
LAN IPSame network
Tailscale IPSame tailnet
0.0.0.0All interfaces

For remote clients, set the host to an accessible address.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/glawson6/jaiclaw/canvas/badge)](https://verified-skill.com/skills/glawson6/jaiclaw/canvas)

Something wrong with this skill or its page? Tell us.