Agent Skillszhongerxin/Cowart › cowart-open-canvas

cowart-open-canvas

GitHub

通过 MCP 工具渲染 Cowart Codex 原生无限画布组件,支持用户打开、查看或编辑画布内容。

skills/cowart-open-canvas/SKILL.md zhongerxin/Cowart

Trigger Scenarios

用户要求打开、启动或查看 Cowart 画布 用户需要在 Codex 内使用无限画布

Install

npx skills add zhongerxin/Cowart --skill cowart-open-canvas -g -y
More Options

Use without installing

npx skills use zhongerxin/Cowart@cowart-open-canvas

指定 Agent (Claude Code)

npx skills add zhongerxin/Cowart --skill cowart-open-canvas -a claude-code -g -y

安装 repo 全部 skill

npx skills add zhongerxin/Cowart --all -g -y

预览 repo 内 skill

npx skills add zhongerxin/Cowart --list

SKILL.md

Frontmatter
{
    "name": "cowart-open-canvas",
    "description": "Open the native Cowart Codex widget, a tldraw-powered infinite canvas. Use when the user asks to open, launch, view, or work in the Cowart canvas or wants an infinite canvas inside Codex."
}

Cowart Open Canvas

Workflow

  1. Use the Cowart MCP render_cowart_canvas_widget tool to open the canvas as a native Codex widget. Pass the user's active Codex workspace as projectDir; do not pass the Cowart plugin repository directory.
{
  "projectDir": "/absolute/path/to/user/codex-project"
}

The tool returns openai/outputTemplate: ui://widget/cowart/canvas.html, which tells Codex to render the widget directly. Do not start scripts/start-canvas.sh or open a localhost URL for normal use.

  1. Confirm the widget opens for the user. The canvas data is stored in the active project:
canvas/pages/<page-id>/cowart-canvas.json
canvas/pages/<page-id>/assets/
  1. If the MCP tool is not visible in the current session, use tool discovery for Cowart widget/render capabilities. If the plugin was just installed or upgraded, tell the user a new Codex conversation may be required for the new MCP tool schema to load.

Constraints

Do not launch the old local web service, inspect canvas files, run builds, check storage layout, take screenshots, or perform other validation steps unless opening the widget fails or the user explicitly asks for those checks. The scripts/start-canvas.sh path is now only a local-development fallback.

Version History

  • 220ed77 Current 2026-07-05 11:56

Same Skill Collection

skills/cowart-image-edit/SKILL.md
skills/cowart-image-gen/SKILL.md

Metadata

Files
0
Version
220ed77
Hash
0eb5f438
Indexed
2026-07-05 11:56

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 20:56
浙ICP备14020137号-1 $Carte des visiteurs$