cowart-image-edit
यह क्या करती है
यह स्किल Cowart कैनवस से भेजे गए मार्कअप स्क्रीनशॉट पढ़ती है और हर एक के लिए नई AI छवि बनाती है। नई छवि मूल के बगल में रहती है, और मौजूदा छवियाँ तथा नोट्स जैसे थे वैसे ही रहते हैं।
कब इस्तेमाल करें
- ✓जब आपने Cowart कैनवस पर किसी छवि को मार्क किया है और उसका संशोधित संस्करण चाहिए।
- ✓जब आप चाहते हैं कि कई एनोटेटेड स्क्रीनशॉट अलग-अलग नई छवियों में बदलें।
- ✓जब आप चाहते हैं कि संशोधित छवि मूल के ऊपर न हो, बल्कि उसके बगल में रखी जाए।
Skill का लिंक
https://github.com/zhongerxin/Cowart/blob/main/skills/cowart-image-edit/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस स्क्रीनशॉट पर मेरे लाल नोट्स का उपयोग करके पोस्टर का नया संस्करण बनाइए और उसे मूल के बगल में रखिए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 8/10/2026
कमेंट
- …
इस repository की और skills
cowart-film-gen
6.1kआपके एजेंट को स्टोरीबोर्ड से साथ चलती ध्वनि वाली छोटी एनिमेटेड HTML फ़िल्म बनाने और उसे Cowart कैनवस फ़्रेम में रखने में मदद करती है।
cowart-image-gen
6.1kआपके एजेंट को AI छवि बनाकर उसे आपके Cowart कैनवस पर रखने में मदद करती है, चुने गए छवि फ़्रेम को भरते हुए या वर्तमान पेज पर।
cowart-open-canvas
6.1kआपके एजेंट को आपका Cowart कैनवस खोलने, दोबारा खोलने या ताज़ा करने में मदद करती है, ताकि आप उस पर लगी छवियाँ और डिज़ाइन देख सकें।
मिलती-जुलती skills
gifgrep
394kयह आपके एजेंट को GIF लाइब्रेरी में खोजने, नतीजों का पूर्वावलोकन करने, GIF डाउनलोड करने, और उससे एक फ़्रेम या फ़्रेम्स की शीट निकालने देती है।
meme-maker
394kयह आपके एजेंट को मीम टेम्पलेट चुनने, अपने कैप्शन जोड़ने और मीम को SVG या PNG इमेज के रूप में बनाने देती है।
ios-icon-gen
280kआपके एजेंट को iOS ऐप्स के लिए icons बनाने देता है। यह Apple symbols या दूसरे स्रोतों के आइकन इस्तेमाल करके सही files बनाता है।