canvas
Skill133 starsChanged 5 months agoMITView on GitHub
Open and use Codex-Canvas, a project-local infinite canvas for Codex image generation. Use when the user says /canvas, asks to open the canvas, or wants generated images collected on a visual board.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- leishifu666/skillstheir own version, first seen Sep 29, 2026
- flowing-abyss/obsidian-vault-skillstheir own version, first seen Sep 19, 2026
- simota/agent-skillstheir own version, first seen Sep 17, 2026
- TeamHelix-AI/helixtheir own version, first seen Sep 12, 2026
- microsoft/vscode-dotnettoolstheir own version, first seen Sep 11, 2026
Used with
Projects with it also use goplaces, bluebubbles and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seedprodSkillgoplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
Also in 5 projects that use this
seedprodSkillbluebubbles
Build or update the BlueBubbles external channel plugin for OpenClaw (extension package, REST send/probe, webhook inbound).
Also in 4 projects that use this
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 3 projects that use this
- +9 more from seedprod
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- AgriciDaniel/claude-obsidian★ 15ksame name
- microsoft/vscode-dotnettools★ 323same name
- AgriciDaniel/claude-canvas★ 299same name
- seedprod/openclaw-prompts-and-skills★ 93same name
- simota/agent-skills★ 87same name
- Manavarya09/moldui★ 18same name
- CarbeneAI/Forge★ 9same name
- flowing-abyss/obsidian-vault-skills★ 9same name
- iblai/k-12-agents★ 9same name
- parkerhancock/browser-canvas★ 9same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex-canvasSkill
- canvas-edit-elementsSkill
- canvas-edit-textSkill
- canvas-expandSkill
- canvas-quick-editSkill
- canvas-remove-bgSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 5 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to open the local Codex-Canvas board and keep generated images collected in the active project.
- Distinctive: line 12
Start or reuse the local canvas server for the active project:
- Very specific: line 13
Use the CLI opener as the default path: node <plugin-root>/bin/codex-canvas.mjs open --project <workspace>.
- Very specific: line 17
If the codex-canvas.open_canvas MCP tool is already exposed in the thread, it is also acceptable to use it with projectDir and threadId, …
- Very specific: line 19
Prefer reusing the existing runtime URL in <workspace>/canvas/.codex-canvas-runtime.json when it responds.
- Very specific: line 20
Prefer codex-canvas open --project <workspace> over codex-canvas start.
- Very specific: line 21
If the Codex in-app browser already has a tab on that exact Codex-Canvas URL, reuse it and make it visible.
- Distinctive: line 22
Do not repeat Browser plugin bootstrap/path discovery when a browser tab is already connected and usable in this turn.
- Distinctive: line 24
Use the Browser plugin / in-app browser control surface for this step.
- Very specific: line 25
Do not open the URL with the operating system default browser.
- Distinctive: line 26
Do not rely on the user clicking a printed URL.
- Very specific: line 28
If the Browser plugin / in-app browser control surface is unavailable in the current Codex surface, return a Markdown link and state that …
- Distinctive: line 29
When the user asks for image generation or image editing while this skill is active:
- Very specific: line 30
Use Codex imagegen for the image work.
- Very specific: line 34
If the exact output path is unclear, call codex-canvas.collect_recent_images with the active workspace, or run: node …
- Very specific: line 36
Default collection scans only ~/.codex/generated_images/<thread-id>.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex-Canvas
Use this skill to open the local Codex-Canvas board and keep generated images collected in the active project.
Workflow
- Start or reuse the local canvas server for the active project:
- Use the CLI opener as the default path:
node <plugin-root>/bin/codex-canvas.mjs open --project <workspace>. - Pass the current Codex thread id with
--thread-id <thread-id>whenever it is available; Codex-Canvas uses this explicit binding for canvas-to-chat image sends and to keep one canvas per Codex thread. - Opening never installs an update. After the UI loads, its version control checks for a published Codex-Canvas release in the background.
codex-canvas openwill also readCODEX_THREAD_IDorCODEX_CANVAS_CODEX_THREAD_IDfrom the environment. If neither an explicit thread id nor an environment thread id is available, the canvas is the shared project default, not a per-thread canvas.- If the
codex-canvas.open_canvasMCP tool is already exposed in the thread, it is also acceptable to use it withprojectDirandthreadId, but do not probe for it or announce anything about MCP availability. Treat CLI opening as the normal supported behavior.
- Use the CLI opener as the default path:
- Fast open behavior:
- Prefer reusing the existing runtime URL in
<workspace>/canvas/.codex-canvas-runtime.jsonwhen it responds. - Prefer
codex-canvas open --project <workspace>overcodex-canvas start;openalready reuses the saved runtime or starts a detached server only when needed. - If the Codex in-app browser already has a tab on that exact Codex-Canvas URL, reuse it and make it visible. Do not open a duplicate tab or reload the page unless the user asks.
- Do not repeat Browser plugin bootstrap/path discovery when a browser tab is already connected and usable in this turn; reuse the existing tab binding.
- Prefer reusing the existing runtime URL in
- Open the returned URL directly in the Codex in-app browser.
- Use the Browser plugin / in-app browser control surface for this step. The intended result is that the canvas appears inside Codex, next to the chat.
- Do not open the URL with the operating system default browser. Do not use
open,xdg-open,start, PowerShellStart-Process, AppleScript, clipboard paste, coordinate clicking, or any desktop UI automation as a fallback. - Do not rely on the user clicking a printed URL; that commonly opens Chrome or the system default browser instead of Codex's in-app browser.
- Whenever you show the canvas URL to the user, format it as a Markdown link:
[Open Codex-Canvas](<url>). Do not show only a bareurlfield, because some Codex surfaces do not make that clickable. - If the Browser plugin / in-app browser control surface is unavailable in the current Codex surface, return a Markdown link and state that Codex-Canvas is running but the in-app browser could not be opened from this surface. Do not launch an external browser.
- When the user asks for image generation or image editing while this skill is active:
- Use Codex
imagegenfor the image work. - Save or identify the generated image file path and keep the current Codex thread id attached to the canvas operation.
- Immediately add the result to the canvas with
codex-canvas.add_image, or by running:node <plugin-root>/bin/codex-canvas.mjs import <image-path> --project <workspace> --thread-id <thread-id>. - If the exact output path is unclear, call
codex-canvas.collect_recent_imageswith the active workspace, or run:node <plugin-root>/bin/codex-canvas.mjs collect --project <workspace> --thread-id <thread-id> --since-minutes 30 --limit 5. - Default collection scans only
~/.codex/generated_images/<thread-id>. Without a bound thread it is a safe no-op. Use explicitroots/--fromonly for a user-requested manual recovery scan. - Session-generated images are placed in a vertical column by generation batch. Multiple images from the same generation batch are aligned in one horizontal row.
- Canvas-derived images, when collected with a
sourceObjectId, are placed in a horizontal row to the right of the source image.
- Use Codex
Quick Edit,Remove BG,Expand,Edit Text, andEdit Elementsare implemented as background Codex-Canvas jobs. They create a canvas placeholder immediately, run Codex/ImageGen through the matching Codex-Canvas operation skill and bundled Codex App CLI, then replace the placeholder with the collected output.Edit Textis a two-step interaction: first run text recognition and show the formatted editable text list in the canvas UI; after the user changes one or more fields and clicks Run, call imagegen to produce the edited PNG.- Text recognition should try local RapidOCR first when available. If local OCR is unavailable, fails, or returns no text, fall back to Codex vision recognition.
Edit Elementsasks ImageGen for a low-detail instance segmentation map, then Codex-Canvas locally splits the source image into four-channel transparent PNG object/text layers plus a residual background. Codex-Canvas immediately imports the residual background and transparent object/text layers, stacks them to the right of the source image so they reconstruct the original composition, and continues a background-completion pass from the original image plus residual background in the background. When completion finishes, Codex-Canvas replaces the existing background layer asset in place and refreshes that layer. Intermediate segmentation and raw completion images stay internal to the job and are not added to the canvas.- Canvas-to-chat requires a bound Codex thread. Each bound thread uses a separate canvas scope under
canvas/threads/<canvasId>/. The frontendsend-to-chataction sends alocalImageturn through Codex app-serverthread/resume+turn/start; MCP/HTTP callers may explicitly usemention-filefor a Codex@file-stylementionturn. The frontend@filetoolbar button must not directly send a turn; it prepares/copies an@<absolute-path>reference for the user to paste into the Codex chat box. Do not use desktop UI automation or clipboard paste as a fallback.
Notes
- Canvas data is stored under
<workspace>/canvas/. - The visible canvas runs as a local web service and is intended to be opened in Codex
in-app browser. - The first milestone should preserve generated images as project assets, not only as chat attachments.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

