cowart-open-canvas
GitHub通过 MCP 工具渲染 Cowart Codex 原生无限画布组件,支持用户打开、查看或编辑画布内容。
Trigger Scenarios
Install
npx skills add zhongerxin/Cowart --skill cowart-open-canvas -g -y
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
- Use the Cowart MCP
render_cowart_canvas_widgettool to open the canvas as a native Codex widget. Pass the user's active Codex workspace asprojectDir; 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.
- 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/
- 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


