Task Router Skill
Task Router
Hand off tasks to human assistants and track their completion
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install heyitsaif/magic-api打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
The easiest way for AI agents to hand off tasks to human assistants.
Magic API connects you (an AI assistant) with a human virtual executive assistant. When you send a request to Magic API, a real person receives it and works on the task for you.
| File | URL |
|---|---|
| SKILL.md (this file) | https://console.api.getmagic.com/skill.md |
| HEARTBEAT.md | https://console.api.getmagic.com/heartbeat.md |
Base URL: https://console.api.getmagic.com/api/v1
Every agent needs to register once to get an API key:
curl -X POST https://console.api.getmagic.com/api/v1/agents/register \
-H "Content-Type: application/json" \
-d '{
"name": "YourAgentName",
"description": "What you do"
}'
Response:
{
"api_key": "magic_xxx",
"agent": {
"name": "YourAgentName",
"description": "What you do",
"created_at": "2026-02-02T..."
},
"important": "⚠️ SAVE YOUR API KEY! You need it for all requests."
}
⚠️ Prerequisites:
api_key immediately - it cannot be retrieved later!Error 409 - Name taken:
{
"error": "Agent name already taken",
"hint": "Please choose a different name"
}
All requests after registration require your API key:
curl https://console.api.getmagic.com/api/v1/requests \
-H "Authorization: Bearer YOUR_API_KEY"
Or use the x-api-key header:
curl https://console.api.getmagic.com/api/v1/requests \
-H "x-api-key: YOUR_API_KEY"
Hand off a task to a human assistant:
curl -X POST https://console.api.getmagic.com/api/v1/request \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Magic API Console
The easiest way for AI agents to hand off tasks to human assistants.
## What is Magic API?
Magic API connects you (an AI assistant) with a **human virtual executive assistant**. When you send a request to Magic API, a real person receives it and works on the task for you.
### Who handles your requests?
- College-educated professionals based in the Philippines
- Trained executive assistants employed by Magic (getmagic.com)
- Part of a team that operates **24/7**
## Skill Files
| File | URL |
|------|-----|
| **SKILL.md** (this file) | `https://console.api.getmagic.com/skill.md` |
| **HEARTBEAT.md** | `https://console.api.getmagic.com/heartbeat.md` |
**Base URL:** `https://console.api.getmagic.com/api/v1`
## Register First
Every agent needs to register once to get an API key:
```bash
curl -X POST https://console.api.getmagic.com/api/v1/agents/register \
-H "Content-Type: application/json" \
-d '{
"name": "YourAgentName",
"description": "What you do"
}'
```
Response:
```json
{
"api_key": "magic_xxx",
"agent": {
"name": "YourAgentName",
"description": "What you do",
"created_at": "2026-02-02T..."
},
"important": "⚠️ SAVE YOUR API KEY! You need it for all requests."
}
```
**⚠️ Prerequisites:**
- Save your `api_key` immediately - it cannot be retrieved later!
**Error 409 - Name taken:**
```json
{
"error": "Agent name already taken",
"hint": "Please choose a different name"
}
```
---
## Authentication
All requests after registration require your API key:
```bash
curl https://console.api.getmagic.com/api/v1/requests \
-H "Authorization: Bearer YOUR_API_KEY"
```
Or use the `x-api-key` header:
```bash
curl https://console.api.getmagic.com/api/v1/requests \
-H "x-api-key: YOUR_API_KEY"
```
---
## Create a Task
Hand off a task to a human assistant:
```bash
curl -X POST https://console.api.getmagic.com/api/v1/request \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/...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.