Перейти к содержанию
Skillpedia
Интерфейсы (UI/UX)6.1k · #14434

cowart-open-canvas

Что он делает

Этот скилл открывает холст Cowart внутри вашего ИИ-инструмента, когда вы просите его показать. Он нужен тем, кто использует Cowart, чтобы раскладывать изображения и макеты на визуальной доске.

Когда использовать

  • ✓Когда вы просите ИИ открыть или показать ваш холст Cowart.
  • ✓Когда вы хотите снова открыть холст после того, как закрыли его.
  • ✓Когда вы хотите свежий вид холста после изменений, внесённых в другом месте.

Ссылка на скилл

https://github.com/zhongerxin/Cowart/blob/main/skills/cowart-open-canvas/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/zhongerxin/Cowart/blob/main/skills/cowart-open-canvas/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Открой мой холст Cowart, чтобы я увидел свои текущие изображения.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент один раз вызывает инструмент холста Cowart, используя папку вашего текущего проекта, и холст появляется в вашем ИИ-инструменте. Запускать локальный веб-сервер не нужно.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Cowart Open Canvas

The actual canvas-opening capability is the cowart_mcp MCP server and its render_cowart_canvas_widget tool. Use this skill when the user asks to open, reopen, or explicitly refresh the canvas. A bare @Cowart invocation with no other actionable request may also open the canvas. Do not use this skill as a prerequisite for image generation, annotation editing, HTML, Slides, or follow-up requests sent from an already-open Cowart widget.

Workflow

  1. Ensure the cowart_mcp MCP server is loaded or discoverable and that its render_cowart_canvas_widget tool is available. The host may expose the complete tool name as mcp__cowart_mcp__render_cowart_canvas_widget. Call the tool once for the user's open, reopen, or explicit refresh request. 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.

Cowart also declares an OpenAI MCP Extensions global entrypoint, so supported hosts can show it in navigation and let the user pin it. Clicking that entrypoint sends {} and opens the canvas directly at <system Documents>/Cowart/canvas/. This is one shared local canvas with multiple pages; the first page is created only when none exists. There is no project picker. Empty arguments never infer a workspace from the MCP process directory. When a workspace is known in chat, keep passing projectDir to open its canvas directly. Cowart declares only the fullscreen display mode; in a conversation, the host may place fullscreen apps in the content side panel.

For follow-ups from the global app, use the projectDir and canvasDir supplied in Cowart's model context or follow-up message. Do not substitute the global app thread's own working directory for the open canvas.

  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 turn, use tool discovery for Cowart widget/render capabilities and retry within the same task after an explicit Cowart canvas invocation. Do not claim that a new task is required merely because one turn did not expose the tool. Only suggest a new Codex task when the plugin was just installed or upgraded and the MCP schema is still unavailable after discovery and an explicit retry.

Constraints

Do not call render_cowart_canvas_widget again merely because another Cowart skill applies or an existing widget sends a follow-up request. The existing widget synchronizes MCP-backed canvas changes itself. 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.

Частые вопросы

Нужно ли открывать холст перед другими задачами Cowart?

Нет. Другие задачи Cowart, отправленные с открытого холста, не требуют этого шага.

Какая папка используется для холста?

Используется папка проекта, в котором вы работаете, а не папка плагина Cowart.

Могу ли я оставить холст в навигации?

В инструментах, которые это поддерживают, холст можно показать в навигации и закрепить по вашему выбору.

Подробности

Оригинальное описание автора

Open, reopen, or explicitly refresh the native Cowart canvas when the user asks to see it, or when a bare @Cowart invocation has no other requested workflow.

repo: zhongerxin/Cowart

Популярность

Звёзды на GitHub
6.1k
Место в рейтинге
#14434
Лицензия
MIT
Обновлён
08.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы