mindraw-open-canvas

mindraw-open-canvas is a skill for Claude Code, Codex from 17lang/mindraw4agent. It costs 38 tokens per session (1,327 once invoked), scanned A, original, MIT.

A project skill that opens the Mindraw canvas associated with the current workspace, either in a sidebar preview or the Mindraw desktop app.

In plain words
What is it for?
Use it when you ask Codex to open, inspect, view, or edit the current project's Mindraw canvas.
Why use it?
It avoids manually locating the project canvas when you want to view or edit it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

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.

agentmods
npx agentmods add skills/17lang/mindraw4agent/mindraw-open-canvas
Any agent
npx skills add 17lang/mindraw4agent --skill mindraw-open-canvas
Clone the repo
git clone --depth 1 https://github.com/17lang/mindraw4agent

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 mindraw-open-canvas

README.md
[![agentmods](https://agentmods.dev/badge/skills/17lang/mindraw4agent/mindraw-open-canvas.svg)](https://agentmods.dev/skills/17lang/mindraw4agent/mindraw-open-canvas)
Your own site
<a href="https://agentmods.dev/skills/17lang/mindraw4agent/mindraw-open-canvas"><img src="https://agentmods.dev/badge/skills/17lang/mindraw4agent/mindraw-open-canvas.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00038 $0.01327
Opus 5 $0.00019 $0.00664
Sonnet 5 $0.00008 $0.00265
Haiku 4.5 $0.00004 $0.00133

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

Security

Grade A, and why

mindraw-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 4d 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/mindraw/skills/mindraw-open-canvas/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mindraw Project Canvas

Open the project-scoped Mindraw canvas from the active Codex workspace.

Trigger

Use this skill when the user says:

  • Open the Mindraw canvas for this project.
  • Open Mindraw in sidebar for this project.
  • Open Mindraw app for this project.
  • 在侧边栏打开这个项目的 Mindraw
  • 在 Mindraw App 中打开这个项目
  • Open the current project Mindraw canvas.
  • Show the project canvas in Mindraw.
  • Create a project Mindraw canvas.

Procedure

  1. Treat the active Codex workspace directory as projectRoot; do not use the plugin directory as the project root.

  2. Prefer the mindraw_mcp server tool inspect_mindraw_project_canvas to inspect or create projectRoot/MindrawCanvas/ through Mindraw's approved App API. On macOS, if no canvas exists and the runtime capability file is unavailable, the plugin may cold-launch Mindraw, wait for createBlankPackage, and retry the App API.

  3. Route the request by explicit open location:

    • Sidebar preview: Open Mindraw in sidebar for this project. and 在侧边栏打开这个项目的 Mindraw.
    • Mindraw desktop app: Open Mindraw app for this project. and 在 Mindraw App 中打开这个项目.
    • Compatibility/default sidebar preview: Open the Mindraw canvas for this project..
  4. For sidebar preview and compatibility/default requests, always start the local read-only sidebar preview service and expose its URL. Desktop handoff alone is not a valid result for these triggers.

  5. Run scripts/start-canvas.sh from this plugin with the project root and keep the service running:

    ./scripts/start-canvas.sh "/absolute/project/root"
    
  6. Open the printed project-scoped http://127.0.0.1:<port>/?project=<hash> URL in the Codex browser/sidebar when available, and include the URL, projectRoot, MindrawCanvas/ directory, status, and any blocker in the response. If browser opening is unavailable, still return the clickable URL and state. If the preferred local port belongs to another Mindraw project service, use the newly printed URL instead of reusing the old port.

  7. For Mindraw desktop app requests, call open_mindraw_project_canvas after inspect/create, and hand off through Mindraw openPackage capability when available. On macOS, if the runtime capability file or App API is unavailable, the handoff may fall back to LaunchServices for the exact latest-created .mindraw package. App requests do not need to start or return the sidebar preview URL.

  8. Call open_mindraw_project_canvas for sidebar requests only when the sidebar's 编辑 button / preview double-click path is invoked, or when the user explicitly asks to edit/open in the Mindraw desktop app.

  9. For sidebar preview, expect the page to poll /api/state, reload /api/preview with a project identity token plus revision cache-buster, and expose a manual refresh control. If Mindraw cannot prove a fresh preview source or the sidebar belongs to another project service, the sidebar must show a visible blocker instead of a stale image.

  10. If 编辑 or preview double-click opens Mindraw but focus/frontmost status is not confirmed, tell the user that the package was handed off and they may need to switch to Mindraw or another macOS Space. Treat this as actionable feedback, not a silent no-op.

  11. Report blockers exactly. Do not convert them into a generic failure:

Read the full file on GitHub · 68 lines

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. 4d ago First seen · 68 lines · 38 tokens per session scan A 5b241dbda881

Subscribe to this mod's changes

mindraw-open-canvas is a skill published in the GitHub repository 17lang/mindraw4agent (0 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,327 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-09-01.