Agent Skillszhongerxin/Cowart › cowart-open-canvas

cowart-open-canvas

GitHub

用于在Codex环境中通过MCP工具打开Cowart无限画布原生组件。当用户请求启动、查看或操作画布时触发,支持项目目录配置及故障排查。

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
22bc3db
Hash
0eb5f438
Indexed
2026-07-05 11:56

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