Detect image generation requests and route them to the artist agent. Use when user asks to draw, generate, create,...
Detect image generation requests and route them to the artist agent. Use when user asks to draw, generate, create, sketch, render, or visualize an image.
Detect image generation requests and route them to the artist agent. Use when user asks to draw, generate, create, sketch, render, or visualize an image.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: image-handoff
description: Detect image generation requests and route them to the artist agent. Use when user asks to draw, generate, create, sketch, render, or visualize an image.
---
# Image Handoff Skill
## Purpose
Detect image generation requests and route them to the artist agent.
## Detection Patterns
**Explicit trigger:**
- `!img <prompt>` — immediate handoff, no confirmation
**Auto-detection (ask for confirmation):**
- "draw me...", "generate an image of...", "make a picture of..."
- "can you create an image...", "I want an image of..."
- "sketch...", "render...", "visualize..."
## Handoff Protocol
When explicit trigger or confirmed auto-detect:
1. Extract the prompt (everything after trigger word, or the full request)
2. Send to artist agent via `sessions_send` with context:
- Original prompt
- Any style preferences from memory
- Request ID for tracking
3. Wait for artist agent response
4. Deliver image/result back to user
## Response Format to Artist
```
Image generation request from Deepak (明达):
Prompt: "a cat in space"
Preferences: sci-fi aesthetic, high contrast (from memory)
Request ID: img-2026-05-21-001
```
## Memory Tracking
Log to `memory/image-requests.md`:
- Request ID
- Prompt
- Model used
- Result (success/fail)
- User feedback
## Refusal
If request is ethically problematic, decline before handoff and explain why.
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。