Task Router Skill
Task Router
Design UI screens in Paper — a professional design tool running locally on macOS. Create artboards, write HTML into designs, take screenshots, and iterate visually.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install candoolabs/paper-design打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Paper is a professional design tool (like Figma) that runs locally on macOS. This skill connects to Paper's MCP server via HTTP, giving you full design capabilities.
Prerequisite: Paper must be open with a design file loaded. If Paper is not running, tell the user to open it first.
All Paper operations go through the paper.sh script in this skill's directory:
exec {baseDir}/paper.sh <tool_name> '<json_arguments>'
Important: Always quote JSON arguments with single quotes to prevent shell expansion.
# 1. Check what's on the canvas
exec {baseDir}/paper.sh get_basic_info
# 2. Create a new mobile artboard
exec {baseDir}/paper.sh create_artboard '{"name":"Home Screen","styles":{"width":"390px","height":"844px","display":"flex","flexDirection":"column","backgroundColor":"#FAFAFA"}}'
# 3. Add content (one visual group at a time)
exec {baseDir}/paper.sh write_html '{"html":"<div layer-name=\"Header\" style=\"display:flex;padding:60px 20px 20px;align-items:center\"><span style=\"font-family:Inter Tight;font-size:28px;font-weight:700;color:#1A1A1A\">Home</span></div>","targetNodeId":"ARTBOARD_ID","mode":"insert-children"}'
# 4. Take a screenshot to review
exec {baseDir}/paper.sh get_screenshot '{"nodeId":"ARTBOARD_ID"}'
# → saves to /tmp/paper-screenshots/screenshot-TIMESTAMP.jpg
# 5. View the screenshot
image /tmp/paper-screenshots/screenshot-TIMESTAMP.jpg
# 6. When done, release the working indicator
exec {baseDir}/paper.sh finish_working_on_nodes
| Command | Purpose |
|---|---|
paper.sh get_basic_info |
File name, page, artboards, fonts in use |
paper.sh get_selection |
Currently selected nodes on canvas |
paper.sh get_node_info '{"nodeId":"ID"}' |
Size, visibility, parent, children, text |
paper.sh get_children '{"nodeId":"ID"}' |
Direct children with IDs and types |
| `paper.sh get_tree_... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Paper Design — MCP Bridge Skill
Paper is a professional design tool (like Figma) that runs locally on macOS. This skill connects to Paper's MCP server via HTTP, giving you full design capabilities.
**Prerequisite:** Paper must be open with a design file loaded. If Paper is not running, tell the user to open it first.
## How to Use Paper
All Paper operations go through the `paper.sh` script in this skill's directory:
```bash
exec {baseDir}/paper.sh <tool_name> '<json_arguments>'
```
**Important:** Always quote JSON arguments with single quotes to prevent shell expansion.
## Quick Start
```bash
# 1. Check what's on the canvas
exec {baseDir}/paper.sh get_basic_info
# 2. Create a new mobile artboard
exec {baseDir}/paper.sh create_artboard '{"name":"Home Screen","styles":{"width":"390px","height":"844px","display":"flex","flexDirection":"column","backgroundColor":"#FAFAFA"}}'
# 3. Add content (one visual group at a time)
exec {baseDir}/paper.sh write_html '{"html":"<div layer-name=\"Header\" style=\"display:flex;padding:60px 20px 20px;align-items:center\"><span style=\"font-family:Inter Tight;font-size:28px;font-weight:700;color:#1A1A1A\">Home</span></div>","targetNodeId":"ARTBOARD_ID","mode":"insert-children"}'
# 4. Take a screenshot to review
exec {baseDir}/paper.sh get_screenshot '{"nodeId":"ARTBOARD_ID"}'
# → saves to /tmp/paper-screenshots/screenshot-TIMESTAMP.jpg
# 5. View the screenshot
image /tmp/paper-screenshots/screenshot-TIMESTAMP.jpg
# 6. When done, release the working indicator
exec {baseDir}/paper.sh finish_working_on_nodes
```
## Tool Reference
### Reading the Canvas
| Command | Purpose |
|---------|---------|
| `paper.sh get_basic_info` | File name, page, artboards, fonts in use |
| `paper.sh get_selection` | Currently selected nodes on canvas |
| `paper.sh get_node_info '{"nodeId":"ID"}'` | Size, visibility, parent, children, text |
| `paper.sh get_children '{"nodeId":"ID"}'` | Direct children with IDs and types |
| `paper.sh get_tree_...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.