agentleFS
Xiangyu-CASXiangyu-CAS/codex-canvas/skills/canvas-quick-edit/SKILL.md

canvas-quick-edit

Skill168 starsChanged 49 days agoMITView on GitHub

Run a user-described Quick Edit on a selected Codex-Canvas image and collect the result back onto the canvas.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the user invokes Quick Edit from Codex-Canvas or asks to perform an open-ended edit on a selected canvas image.

    line 8
  2. Distinctive:

    Treat the selected canvas image as the edit target.

    line 12
  3. Distinctive:

    Always use the clean source as the visual base.

    line 14
  4. Distinctive:

    Use the user's optional Quick Edit text together with every arrow label, pencil mask, text note, color, and source-pixel location listed in …

    line 15
  5. Distinctive:

    Do not ask follow-up questions from a background Quick Edit job.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex-Canvas Quick Edit

Use this skill when the user invokes Quick Edit from Codex-Canvas or asks to perform an open-ended edit on a selected canvas image.

Behavior

  1. Treat the selected canvas image as the edit target.
  2. Quick Edit may provide one clean source image or two images. When two are attached, image 1 is the clean source and image 2 is an annotation board containing temporary arrows, masks, and edit notes around the source.
  3. Always use the clean source as the visual base. Use the annotation board only to locate regions and interpret the edit intent; do not preserve its surrounding board background or annotation UI.
  4. Use the user's optional Quick Edit text together with every arrow label, pencil mask, text note, color, and source-pixel location listed in the prompt. Arrow labels are explicit instructions for their arrow targets.
  5. Apply the requested edit according to the annotations, then remove all temporary arrows, strokes, boxes, label bubbles, and note text from the final image.
  6. Preserve the source image's aspect ratio, subject identity, layout, unmentioned visible text, and design intent unless an instruction explicitly asks to change them.
  7. If the source is a transparent layer, preserve native alpha, fine edges, partial opacity, and all subject colors. Inspect the actual imagegen schema and set transparent_background: true only when that boolean argument is exposed. Never guess a transparent parameter or paint a checkerboard. If unsupported, report the limitation. Only an explicitly configured CODEX_CANVAS_TRANSPARENCY_MODE=chroma-key job may use a uniform #ff00ff background; stop if the key conflicts with the subject instead of recoloring it.
  8. Generate exactly one revised clean bitmap. Save the final selected output as a PNG under the job output directory provided by Codex-Canvas.
  9. Codex-Canvas will collect the output, verify real alpha and preserve native pixels (keying only in explicit compatibility mode), and replace the running placeholder to the right of the source image. It will preserve the original image and its annotation objects.

Do not ask follow-up questions from a background Quick Edit job. Make the most reasonable edit from the provided instruction.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.