AI Agent Hub
Back to skills
Cowart Local Infinite Canvas icon

Cowart Local Infinite Canvas

Design & Media Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_bda4ca23/cowart.

About this skill

Problem

When an AI needs to modify an HTML report or web page, verbal instructions often miss the exact target element: a user may want a specific spacing value, button color, or visual adjustment, but describing that intent precisely is hard. Cowart addresses this “visible but hard to specify” collaboration gap.

How It Works

It provides a local infinite canvas built on tldraw, placing web pages, HTML reports, and AI-generated images in the same visual context. The core workflow is:

  • Start the canvas locally and read or write snapshots, selection state, and view state through REST APIs on http://127.0.0.1:43217.
  • Annotate arrows, text, and circles on the canvas; annotation text is stored in props.richText and can be read via read_annotations.py or the API, without relying on OCR.
  • Create an AI image holder, read its selected dimensions, generate an image with matching proportions, and insert it back into the canvas.
  • Import HTML in editor mode, select elements to adjust styles, then insert the result into the canvas as a preview image for continued annotation and source-file updates.

Boundaries

This skill fits workflows where a local Node.js environment is available and canvas data can remain in the project’s canvas/ directory. Cross-origin resources can cause screenshot export failures due to tainted canvas; if the API is unavailable, fallbacks include screenshot-based description or manual JSON parsing.

Use Cases

  • A frontend engineer drags an HTML report into a local canvas, annotates button color and spacing, then asks the model to apply changes to the source file.
  • A product designer places an AI image holder in the canvas, generates an image matching the selected dimensions, and inserts it into the page.
  • An independent developer imports a web page in editor mode, selects elements to adjust styles, then inserts the preview into the canvas for review.
  • A technical writer adds circle and arrow annotations to a long HTML page, then reads those annotations via REST APIs and feeds the changes back.

Best For

  • Frontend engineers maintaining HTML report pipelines who need to convert visual change requests into reliable source edits.
  • Product designers reviewing pages who need to annotate canvas items and have models adjust styles or images accordingly.
  • Independent developers using opencode or OpenClaw who want to connect a local canvas, REST APIs, and image generation in one workflow.
  • Engineering documentation writers who need readable arrow and text annotations on long HTML pages.