360 Secure SkillHub
360 安全技能中心

Image Handoff

该 Skill 识别显式 !img 触发或常见绘图/生成图像请求,提取提示词与记忆中的风格偏好,通过 sessions_send 转交给 artist agent,并把请求 ID、提示词、模型、结果和反馈记录到 memory/image-requests.md;对伦理问题会先拒绝。它自身不生成图像,实际生成由 artist agent 完成。

space-cadet
space-cadet
热度 15.29
最近更新 2026-07-23 14:18:05
分类:创作依赖:MCP 服务 / 读写文件应用场景:图像生成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add image-handoff
Metadata
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.