open-canvas

open-canvas is a skill for Claude Code, Codex from ddcat-ai/open-ai-canvas. It costs 35 tokens per session (841 once invoked), scanned A, original, MIT.

Instructions for opening the Yingce web canvas and connecting it to a local Canvas Agent, a small local service that lets the page receive canvas actions.

In plain words
What is it for?
Use it when starting, entering, or using a new, recent, or selected canvas, including a local development canvas.
Why use it?
It handles setup and connection details automatically instead of making the user copy URLs or access tokens.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when starting, entering, or using a new, recent, or selected canvas, including a local development canvas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ddcat-ai/open-ai-canvas/open-canvas
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ddcat-ai/open-ai-canvas --skill open-canvas
Clone the repo
git clone --depth 1 https://github.com/ddcat-ai/open-ai-canvas

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for open-canvas

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/open-canvas/github.svg)](https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/open-canvas)
Your own site
<a href="https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/open-canvas"><img src="https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/open-canvas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for open-canvas

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddcat-ai/open-ai-canvas/open-canvas"><img src="https://agentmods.dev/badge/skills/ddcat-ai/open-ai-canvas/open-canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 841 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 24
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 34
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00841
Opus 5 $0.00017 $0.00420
Sonnet 5 $0.00007 $0.00168
Haiku 4.5 $0.00003 $0.00084

Measured 12d ago against content hash e76f401ee896, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

open-canvas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/yingce/skills/open-canvas/SKILL.md · 37 lines

What it actually says

打开影策画布

当用户要求打开、启动、进入或使用影策时,不要把 URL 交给用户手动复制,不要通过浏览器点击“新建画布”。优先快速拉起本地画布和本地 Canvas Agent,然后直接打开带 modeagentUrlagentToken 的 URL,让网页自动创建或选择画布并连接 Agent。

默认打开方式

  • 新建画布:<画布网页地址>/canvas?mode=new&agentUrl=<Local URL>&agentToken=<Connect token>
  • 最近画布:<画布网页地址>/canvas?mode=recent&agentUrl=<Local URL>&agentToken=<Connect token>
  • 自己选择:<画布网页地址>/canvas?mode=choose&agentUrl=<Local URL>&agentToken=<Connect token>

默认打开新建本地画布;只有用户明确要求线上地址、最近画布或自己选择时,才改用对应模式。

工作流

  1. 如果当前仓库是影策项目,优先使用当前仓库的 web/ 前端。
  2. 先检查本地端口归属:如果 30003001 等端口已被占用,必须用 lsof/ps 或服务输出确认监听进程的工作目录属于当前仓库的 web/,不能只因为端口存在就当成本地画布。
  3. 如果已有当前仓库的 Next dev 服务,复用它并记录真实画布地址,例如 http://localhost:3001
  4. 如果没有当前仓库的服务,启动本地画布开发服务,默认在 web/ 下运行 bun run dev;若默认端口被其他项目占用,改用空闲端口启动,例如 bunx next dev --webpack -H 0.0.0.0 -p <空闲端口>。不要执行构建或测试。
  5. 启动本地 Canvas Agent,必须带上第 3/4 步得到的真实画布地址:CANVAS_URL=<真实画布地址> npx -y @ddcat666/open-ai-canvas-agent。如果 Agent 已经在运行,则读取 ~/.infinite-canvas/canvas-agent.json 或启动输出获取 Local URL 和 token。
  6. 读取 Agent 输出或配置中的 Local URLConnect token,不要让用户手动复制。
  7. 不走本地 Agent 的 /open 跳转;直接构造并打开最终 URL:<真实画布地址>/canvas?mode=new&agentUrl=<Local URL>&agentToken=<Connect token>
  8. 画布网页会自动新建具体画布、打开本机 Agent 面板并连接本地 Agent;不要用浏览器点击新建画布。
  9. 打开后再使用 canvas_get_state 检查画布是否已经连接;如果尚未连接,等待片刻再检查,不要改用线上站点,除非用户明确要求。

用户只安装插件时

  • 如果当前工作区不是影策源码仓库,优先提示用户先打开或启动影策网页,再连接本地 Agent。
  • 可以使用线上画布地址或用户给出的本地地址作为 <画布网页地址>,但仍要通过本地 Canvas Agent 获取 token 后再打开最终 URL。
  • 不要假设用户已经安装本仓库依赖;插件的 MCP 会通过 npx -y @ddcat666/open-ai-canvas-agent mcp 使用已发布的 Canvas Agent。

不要要求用户手动填写 URL、token 或复制 JSON。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 37 lines · 35 tokens per session scan A e76f401ee896

Subscribe to this mod's changes

open-canvas is a skill published in the GitHub repository ddcat-ai/open-ai-canvas (874 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 841 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens