cowart-image-edit
하는 일
이 스킬은 Cowart 캔버스에서 보낸 마크업 스크린샷을 읽고, 각각에 대해 새 AI 이미지를 만듭니다. 새 이미지는 원본 옆에 놓이며, 기존 이미지와 메모는 그대로 둡니다.
사용하는 경우
- ✓Cowart 캔버스에서 이미지에 표시를 하고 수정된 버전을 원할 때.
- ✓주석이 달린 여러 스크린샷을 각각 새 이미지로 바꾸고 싶을 때.
- ✓수정된 이미지를 원본 위가 아니라 원본 옆에 두고 싶을 때.
스킬 링크
https://github.com/zhongerxin/Cowart/blob/main/skills/cowart-image-edit/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 스크린샷의 빨간 메모를 사용해 포스터의 새 버전을 만들고, 원본 옆에 넣어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 주석 스크린샷을 지시서로 읽고, 그것으로 새 이미지를 만듭니다. 결과는 캔버스에서 대응하는 원본 옆에 배치됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Cowart Image Edit
Use this skill to turn user-provided Cowart 批注 screenshots into revised AI-generated bitmaps placed next to the corresponding original images.
Preconditions
Ensure the cowart_mcp tools required by this workflow are available. Do not call render_cowart_canvas_widget as a routine prerequisite: annotation requests sent from the Cowart widget already have an open canvas, and the existing widget synchronizes inserted results from MCP-backed storage. If the user separately asks to open, reopen, or explicitly refresh the canvas, handle that request once with the canvas-opening workflow.
Cowart state is read and written through Cowart MCP tools, not through a localhost browser service.
The user is responsible for providing the relevant screenshot(s). Do not auto-capture the current canvas and do not scan the whole canvas to infer edit requests; a canvas may contain many images with different annotations.
Workflow
For a follow-up from Cowart's sidebar canvas, use the exact projectDir and canvasDir in the Cowart context/message for all Cowart tools. These paths can differ from the conversation working directory. In ordinary project conversations, keep using the active user project as before.
Read the user-provided screenshot(s).
Treat each screenshot as the authoritative edit brief for one output image unless the user says multiple screenshots belong to the same image.
If the user provides multiple screenshots, process them independently and keep their generated outputs separate. Do not merge annotations across screenshots unless explicitly requested.
Extract the edit requirements from each screenshot.
Read visible 批注 labels, arrows, and nearby edit notes from the screenshot itself. Use the arrow tip or marked region to understand where each note applies.
Ignore editor chrome such as toolbars, blue selection outlines, resize handles, cursor icons, and unrelated neighboring images.
Choose the source image for generation.
Use the clean underlying image content visible in the provided screenshot as the visual base whenever possible.
If the screenshot is too cropped, obstructed, or low-resolution to serve as a good image base, ask the user for the original image export or a cleaner screenshot of that specific image.
Do not read the current Cowart canvas to discover edit intent. Use the screenshot for the requested changes. Cowart state may be read later only to place the generated result without covering existing content.
Prepare image-generation input.
Use the provided screenshot, plus a cleaner source image if the user supplied one.
The generation prompt should:
- apply the 批注 text as edit instructions
- preserve the original image's subject, composition, aspect ratio, and style unless an annotation asks otherwise
- remove all annotation artifacts from the output, including red arrows, labels, blue selection outlines, handles, and tool UI
- output only the revised clean image
Generate a new bitmap.
Use the built-in image generation flow available in the current environment. Do not overwrite the source image file. Save the new bitmap with a timestamped filename, for example:
annotation-edit-20260620-153012.pngResolve the actual local output image carefully before inserting it into Cowart. Do not assume the built-in image generation flow always writes a fresh file under
$CODEX_HOME/generated_images.Preferred resolution order:
- Use the exact local image path returned by the current image generation tool call when one is available.
- If no new file path is returned, inspect the current Codex session JSONL for the current request and extract the PNG/base64 payload from the latest
image_generation_call.result, then write it to the timestamped output filename. - Use
$CODEX_HOME/generated_imagesonly when you can prove the file was created by the current request, for example by matching its timestamp after this generation step. Never pick an older image merely because it is the newest file in a stale generated_images directory.
Before inserting the resolved file into Cowart, visually inspect the local bitmap and confirm it is the newly generated revised image for this screenshot, not a stale generated asset.
Insert the revised image beside the original with Cowart MCP.
Prefer the Cowart MCP
insert_cowart_imagetool. Do not hand-write tldrawasset/shaper
자주 묻는 질문
원본 이미지를 대체하나요?
아니요. 원본 이미지와 메모는 그대로 남고, 새 이미지가 그 옆에 추가됩니다.
캔버스 전체를 스스로 검색하나요?
아니요. 캔버스에는 메모가 다른 이미지가 많을 수 있으므로, 제공한 스크린샷으로만 작업합니다.
캔버스를 먼저 열어야 하나요?
보통은 아닙니다. Cowart 캔버스에서 보낸 요청은 이미 캔버스가 열려 있습니다.
상세 정보
작성자의 원본 설명
Generate revised AI images from user-supplied Cowart annotation screenshots and place each result beside its original without replacing, moving, hiding, or deleting existing images or annotations.
repo: zhongerxin/Cowart
인기도
- GitHub 스타
- 6.1k
- 순위
- #14432
- 라이선스
- MIT
- 업데이트
- 2026. 10. 8.
댓글
- …
이 저장소의 다른 스킬
cowart-film-gen
6.1k에이전트가 스토리보드를 동기화된 소리가 담긴 짧은 애니메이션 HTML 영상으로 만들어 Cowart 캔버스 프레임에 넣도록 돕습니다.
cowart-image-gen
6.1k에이전트가 AI 이미지를 만들어 Cowart 캔버스에 넣되, 선택한 이미지 프레임을 채우거나 현재 페이지에 배치하도록 돕습니다.
cowart-open-canvas
6.1k에이전트가 Cowart 캔버스를 열고, 다시 열고, 새로 고쳐서 이미지와 디자인이 배치된 모습을 볼 수 있게 합니다.