开发编程
#image
cowart-canvas-workflow
Open and operate a bundled Cowart/tldraw local canvas for Codex projects. Use when the user asks to open a Cowart canvas, use an infinite visual canvas, insert generated images into a project canvas, preserve before/after image revisions, or apply Cowart annotation screenshots by generating clean revised images beside originals.
DeepseekModel
官方收录技能
质量 良好 · 64
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=liyujinyu-cowart-canvas-skill-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name cowart-canvas-workflow description Open and operate a bundled Cowart/tldraw local canvas for Codex projects. Use when the user asks to open a Cowart canvas, use an infinite visual canvas, insert generated images into a project canvas, preserve before/after image revisions, or apply Cowart annotation screenshots by generating clean revised images beside originals. Cowart Canvas Workflow Core Rules Use the active Codex workspace as the project directory unless the user gives another directory. Save Cowart data in <projectDir>/canvas/ ; do not save user canvas data inside the skill folder. Never delete or move the original image or annotation marks when creating a revised image. For annotation edits, use the user-provided screenshot as the edit brief. Do not infer edit intent by scanning unrelated canvas content. After generating or editing images, keep final project-bound images in the project, then insert or paste them into Cowart. Open Canvas Run the bundled service: <skill-dir>/scripts/start-canvas.sh /absolute/path/to/project Open the printed Cowart canvas: URL in the Codex in-app browser. Default URL is: http://127.0.0.1:43217/ If the script prints a different port, use that exact URL. If startup fails with listen EPERM , request permission to run the local service outside the sandbox. Insert Image Use the bundled insert script for project-local images: node <skill-dir>/scripts/insert-image.mjs \ --image /absolute/path/to/image.png \ --project-dir /absolute/path/to/project \ --canvas-url http://127.0.0.1:43217 Useful options: --anchor selected : place beside the selected shape. --anchor first-image : place beside the largest image on the current page. --placement right : default before/after layout. --dry-run : calculate position without writing files or canvas state. --meta-json '{"cowartGeneratedFromAnnotationEdit":true}' : add metadata for generated revisions. The script copies the image into canvas/pages/<page-id>/assets/ , creates a tldraw image asset and shape, and saves through /api/canvas . Annotation Edit Flow Read the supplied Cowart screenshot. Extract visible edit notes, arrows, and target regions from that screenshot. Generate a clean revised bitmap without annotation arrows, labels, selection handles, or UI chrome. Save the bitmap in the project with a versioned filename. Insert the revision beside the original image with scripts/insert-image.mjs . Verify that the original image and annotations are still visible. Extra Reference Read references/cowart-workflow.md when you need command examples, API details, or troubleshooting.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |