Claw Canvas
A virtual canvas for OpenClaw to output content and visualize its thinking during development.
技能说明
name: claw-canvas displayName: Claw Canvas description: A virtual canvas for OpenClaw to output content and visualize its thinking during development. version: 0.1.0
Claw Canvas Skill
Description
This skill wraps OpenClaw's native canvas tool to provide a dedicated, interactive surface for the agent to visualize its internal processes, display intermediate results, and output rich content directly on a virtual canvas. It enables a more transparent and intuitive development workflow by making the agent's thinking and work-in-progress visible.
Core Functionalities
- Render Markdown/HTML: Display formatted text, code, tables, and images.
- Visualize Data: Present charts, graphs, or structured data.
- Show Progress: Update the canvas with real-time progress of tasks.
- Interactive Thinking: Optionally display thought processes or decision trees.
- Snapshot: Capture the current state of the canvas.
Usage
This is primarily an internal skill for the agent to use to illustrate its workflow. It will expose a CLI interface for displaying content.
# Example: Display markdown content
python3 scripts/canvas_cli.py display_markdown --content "# Agent Thinking\n\nHere's my current thought process..."
# Example: Display an image
python3 scripts/canvas_cli.py display_image --url "https://example.com/image.png"
Purpose
To enhance transparency, improve user understanding of complex agent processes, and provide a dynamic, real-time output area for development tasks. This will be invaluable for tasks like:
- Visualizing website structure during the Mac App conversion.
- Displaying drafted blog posts or tweets with formatting.
- Showing data analysis results.
- Illustrating program flow or architectural decisions.
如何使用「Claw Canvas」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Claw Canvas」技能完成任务
- 结果即时呈现,支持继续对话优化