canvas-edit-text
Skill133 starsChanged 5 months agoMITView on GitHub
Recognize visible text in a selected Codex-Canvas image, apply a user-described text edit with imagegen, and collect the result back onto the canvas.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex-canvasSkill
- canvas-edit-elementsSkill
- canvas-expandSkill
- canvas-quick-editSkill
- canvas-remove-bgSkill
- canvasSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user invokes Edit Text from Codex-Canvas or asks to modify visible text inside a selected canvas image.
- Distinctive: line 12
Treat the selected canvas image as the edit target.
- Very specific: line 13
Before generating, identify the visible text in the image and write a formatted text inventory to the job output directory path supplied by …
- Distinctive: line 14
Use the user's Edit Text instruction as the primary edit instruction.
- Distinctive: line 15
Use imagegen once to create the edited image.
- Distinctive: line 17
Only change text requested by the edit instruction.
- Very specific: line 18
If the source image is a transparent layer, render the edited layer on a flat solid #ff00ff chroma-key background so Codex-Canvas can recut …
- Distinctive: line 22
Do not ask follow-up questions from a background Edit Text job.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex-Canvas Edit Text
Use this skill when the user invokes Edit Text from Codex-Canvas or asks to modify visible text inside a selected canvas image.
Behavior
- Treat the selected canvas image as the edit target.
- Before generating, identify the visible text in the image and write a formatted text inventory to the job output directory path supplied by Codex-Canvas.
- Use the user's Edit Text instruction as the primary edit instruction.
- Use imagegen once to create the edited image.
- Preserve non-text content, aspect ratio, composition, colors, perspective, typography style, and design intent.
- Only change text requested by the edit instruction. Keep unchanged visible text as-is.
- If the source image is a transparent layer, render the edited layer on a flat solid #ff00ff chroma-key background so Codex-Canvas can recut the alpha channel after generation.
- Save the final selected output as a PNG under the job output directory provided by Codex-Canvas.
- Codex-Canvas will collect the output, remove the chroma-key background when needed, and place it in a row to the right of the source image.
Do not ask follow-up questions from a background Edit Text job. Make the most reasonable text edit from the provided instruction.
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.

