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.
CODEBLOCK0
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 技能
描述
该技能封装了 OpenClaw 的原生 canvas 工具,为智能体提供一个专用的交互式表面,使其能够可视化内部处理过程、展示中间结果,并直接在虚拟画布上输出丰富内容。通过让智能体的思考和工作进展变得可见,该技能实现了更透明、更直观的开发工作流程。
核心功能
- - 渲染 Markdown/HTML:显示格式化文本、代码、表格和图片。
- 数据可视化:呈现图表、图形或结构化数据。
- 进度展示:实时更新画布上的任务进度。
- 交互式思考:可选地展示思维过程或决策树。
- 快照:捕获画布的当前状态。
使用方法
这主要是智能体用于说明其工作流程的内部技能。它将提供一个 CLI 界面用于显示内容。
bash
示例:显示 Markdown 内容
python3 scripts/canvas
cli.py displaymarkdown --content # 智能体思考\n\n这是我当前的思考过程...
示例:显示图片
python3 scripts/canvas
cli.py displayimage --url https://example.com/image.png
目的
增强透明度,提升用户对复杂智能体流程的理解,并为开发任务提供动态、实时的输出区域。该技能在以下任务中将极具价值:
- - 在 Mac 应用转换过程中可视化网站结构。
- 展示带有格式的博客文章或推文草稿。
- 显示数据分析结果。
- 说明程序流程或架构决策。