skills/image-generation/SKILL.md
Generate new images or edit existing images using AI. Use this skill when the user wants to create, generate, draw, design, or produce an image from a text description, OR when they want to modify, edit, alter, or transform an existing image (e.g. 'generate a picture of...', 'create an image', 'draw me a...', 'edit this image', 'change the background', 'modify the above picture', '生成图片', '画一张', '修改图片', '编辑上面的图').
npx skillsauth add sudoprivacy/sudowork image-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate new images or edit existing images via the images API.
Trigger this skill when the user asks to:
curl -sL "<url>" -o /tmp/source_image.<ext>
*.png, *.jpg, *.jpeg, *.gif, *.webp, *.bmp)For generation (new image):
pwd first to get the session workspace path, then construct an absolute path with a concise name (e.g. /session/workspace/white_cat). If the user specifies a location, use that absolute path instead.bash skills/image-generation/scripts/generate_image.sh gen "<prompt>" "<absolute_filepath_no_ext>" [size]
For editing (modify existing image):
pwd with the source filename and a timestamp (e.g. /session/workspace/abc_1712123456). If the user specifies a location, use that absolute path instead.bash skills/image-generation/scripts/generate_image.sh edit "<prompt>" "<image_path>" "<absolute_filepath_no_ext>" [size]
The script appends the correct extension (.png, .jpg, .webp) based on the output image data.
size is optional, defaults to 1024x1024. Common sizes: 1024x1024, 1024x1536, 1536x1024.sudoclaw.json via SUDOCLAW_CONFIG_PATH. No manual configuration needed.sudoclaw.json (set via Tools settings). If not configured, the script will report an error asking the user to set the image model in Tools settings.The script prints the saved image file path on success, or an error message on failure.
Display the image inline using markdown image syntax so it renders in chat:

The script prints the saved file path — use that as <absolute_image_path>.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
data-ai
用于在小红书上发布高质量的 AI 相关岗位招聘帖子。包含自动生成极客风格的招聘封面图和详情图,并提供自动化发布脚本。当用户需要发布招聘信息、寻找 Agent 设计师或其他 AI 领域人才时使用。
data-ai
用于在 X (x.com) 发布招聘帖子。包含文案规范、图片生成提示和自动化发布脚本。发布 AI 相关岗位或设计类岗位时优先使用。
development
Parse and apply character cards and world info files in multiple formats (PNG, WebP, JSON), fully compatible with SillyTavern format. Supports automatic parsing, keyword triggering, and dynamic updates.