yikart/aitoearn/editing-images
Claude Code and agent skill by yikart/aitoearn
- community
Checking that the SKILL.md file is still in the repository.
Image editing using Sharp. Supports compositing (QR codes, logos, watermarks), resizing, cropping, rotating, flipping, brightness/contrast/saturation adjustment, blur, sharpen. 图片编辑、图片合成、添加二维码、添加Logo、添加水印、图片缩放、图片裁剪、图片旋转、图片翻转、亮度对比度饱和度调整、模糊、锐化。
Install
npx vskill@latest install yikart/aitoearn/editing-imagesSKILL.md
The same SKILL.md was published earlier as yikart/aitoearn/editing-images.
Image Editing with Sharp
Performs image editing using the Sharp library for high-performance image processing.
When to Use
Use this skill when:
- Compositing images (adding QR codes, logos, watermarks to posters)
- Resizing or cropping images
- Rotating or flipping images
- Adjusting brightness, contrast, saturation
- Applying blur or sharpening effects
- Getting image metadata (dimensions, format)
Available Tools
| Tool | Purpose | |
|---|---|---|
compositeImages | Overlay images onto a base image | |
resizeImage | Resize, crop, or extend images | |
transformImage | Rotate, flip images | |
adjustImage | Brightness, saturation, blur, sharpen | |
getImageMetadata | Get image dimensions and format info |
Workflow
Step 1: Get Image Information (Recommended)
Call getImageMetadata first to understand the base image dimensions for accurate positioning.
Step 2: Perform Editing
Use the appropriate tool based on the task.
Step 3: Return Results
Return the output image URL to the user.
Common Use Cases
Case 1: Add QR Code to Poster (Bottom-Right Corner)
Case 2: Add Logo Watermark (Absolute Position)
Case 3: Resize for Social Media
Case 4: Create Thumbnail
Positioning Modes (Mutually Exclusive)
IMPORTANT: gravity and top/left are mutually exclusive. Do NOT mix them.
Mode A: Gravity Anchor Positioning
Use gravity alone to place layer at predefined anchor points:
Example: { "gravity": "southeast" } → bottom-right corner
Mode B: Absolute Coordinates
Use top + left together for precise pixel positioning:
Example: { "top": 100, "left": 200 } → exact pixel position
Layer Resize Options
resize.width/resize.height: Target dimensions in pixelsresize.scale: Scale factor (e.g., 0.5 = half size, 2 = double size)resize.fit: Resize mode (contain, cover, fill, inside, outside)
Fit Modes for Resize
| Mode | Behavior | |
|---|---|---|
| cover | Crop to fill exact dimensions (default) | |
| contain | Fit within bounds, may add padding | |
| fill | Stretch to exact size (may distort) | |
| inside | Fit within bounds, no upscaling | |
| outside | Cover bounds, may exceed dimensions |
Important Notes
- All image inputs must be valid HTTP/HTTPS URLs
- Maximum image size: 50MB
- Output images are PNG format
- For compositing, process layers in order (first layer = bottom)
- Opacity only affects the overlay layer, not the base
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingproject/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/editing-images/SKILL.md
Popularity
- Repository stars
- 21,372
- Repository forks
- 3,199
- 7-day trend score
- 50
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yikart/aitoearn/editing-images)