Task Router Skill
Task Router
电商服装详情页一站式生成工作流。自动生成模特图、服装搭配图和完整详情页。
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hexiaochun/fashion-studio电商服装详情页一站式生成,从模特选角到完整详情页输出。
用户提供的本地图片需先上传到 Catbox 图床获取公开 URL:
curl -s -F "reqtype=fileupload" -F "fileToUpload=@/path/to/image.png" https://catbox.moe/user/api.php
https://files.catbox.moe/xxxxx.png)所有图像通过 MCP 调用 Nano Banana Pro 模型生成:
MCP 调用:user-速推AI.submit_task
参数:
- model_id: "fal-ai/nano-banana-pro"
- parameters:
- prompt: 英文提示词
- image_url: 参考图片 URL(图生图时必填)
- aspect_ratio: "3:4"(所有生图统一比例)
首次使用前调用 get_model_info 确认参数要求。
当需要用户做出选择时,必须使用 AskQuestion 工具提供结构化选项,而非让用户自由输入。
AskQuestion 工具调用格式:
{
"title": "选择标题",
"questions": [
{
"id": "unique_question_id",
"prompt": "问题描述",
"options": [
{ "id": "option1", "label": "选项 1 描述" },
{ "id": "option2", "label": "选项 2 描述" }
],
"allow_multiple": false
}
]
}
需要使用 AskQuestion 的场景:
文本生成任务(模特选角、提示词翻译、搭配方案、设计分析、详情页提示词)必须使用 Task 工具委派子代理执行。
Task 工具调用格式:
Task 参数:
- subagent_type: "generalPurpose"
- model: "fast"
- readonly: true
- prompt: 包含以下内容:
1. 用户需求描述
2. 图片 URL(如有)
3. 最佳实践模板路径(让子代理读取)
4. 要求返回的提示词格式
需要委派子代理的步骤:
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.