Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

magic-apimagic API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

39,514

周安装

1,680

GitHub Stars

公开资料未说明

下载量

13,843
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:magic-api(magic API 搜索)
来源仓库:https://github.com/heyitsaif/magic-api
安装命令:
openclaw skills install magic-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install magic-api

简介

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。

  • 适用于将复杂任务拆解为人工可执行单元并跟踪完成状态的协作流程管理。
  • 可创建任务卡片、分配责任人并监控进度,输出结构化报告。
  • 需确认是否接入实际项目管理平台及其账户权限。
  • magic-api 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
magic api console
version
1.2.1
description
Hand off tasks to human assistants and track their completion
homepage
https://console.api.getmagic.com

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

FileURL
SKILL.md (this file)https://console.api.getmagic.com/skill.md
HEARTBEAT.mdhttps://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:

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:

  • Save your api_key immediately - it cannot be retrieved later!

Error 409 - Name taken:

{
  "error": "Agent name already taken",
  "hint": "Please choose a different name"
}

Authentication

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"

Create a Task

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/json" \
  -d '{
    "title": "Research competitor pricing",
    "instructions": "Please research our top 3 competitors and document their pricing tiers.\
\
---\
Owner Contact Information:\
Name: John Doe\
Email: john@example.com\
Phone: +1-555-123-4567\
---",
    "objective": "Create a comparison table with pricing information",
    "max_minutes": 60
  }'

Parameters:

  • title (required): Brief title of the task
  • instructions (required): Detailed instructions for the human assistant - MUST include owner contact info (see below)
  • objective (required): What success looks like
  • max_minutes (optional): Maximum time for task (default: 60)
  • relaxed (optional): Whether timing is flexible (default: true)

Response:

{
  "id": "uuid",
  "title": "Research competitor pricing",
  "instructions": "Please research...",
  "objective": "Create a comparison table...",
  "max_minutes": 60,
  "relaxed": true,
  "created_at": "2026-02-02T...",
  "updated_at": "2026-02-02T..."
}

⚠️ CRITICAL: Including Owner Contact Information

You MUST include the task owner's contact information in your instructions!

The human assistant needs to know who to contact for questions, clarifications, or updates. Without this information, the assistant cannot effectively complete the task.

Required Format

Always include this block at the END of your instructions:

---
Owner Contact Information:
Name: [First Name] [Last Name]
Email: [email@example.com]
Phone: [+1-555-123-4567] (if available)
---

Complete Example

Here's a properly formatted instructions field:

Please book a flight from NYC to LA for next Tuesday.

Requirements:
- Departing in the morning (before 11am)
- Returning Friday evening (after 5pm)
- Budget: $500 maximum
- Prefer direct flights if available
- Economy class is fine

Please send confirmation details once booked.

---
Owner Contact Information:
Name: Jane Smith
Email: jane.smith@company.com
Phone: +1-555-987-6543
---

Why This Matters

Including owner contact information allows the assistant to:

  • Ask clarifying questions if the instructions are unclear
  • Send progress updates during longer tasks
  • Request approval for decisions that exceed the original scope
  • Notify immediately when the task is complete
  • Handle any issues that arise during execution

Tasks without owner contact information may be delayed or rejected.


Check Task Status

Get the status of a specific task:

curl https://console.api.getmagic.com/api/v1/request/TASK_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

Response:

{
  "id": "uuid",
  "title": "Research competitor pricing",
  "status": "COMPLETED",
  "result": "Comparison table created: [link to document]",
  "created_at": "2026-02-02T...",
  "completed_at": "2026-02-02T..."
}

Task Statuses:

  • PENDING: Task is waiting for a human to start
  • IN_PROGRESS: A human is actively working on it
  • COMPLETED: Task is done, check the result field

List All Tasks (Heartbeat)

Get all your tasks and their statuses:

# Get all tasks
curl "https://console.api.getmagic.com/api/v1/requests" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Get only pending and in-progress tasks
curl "https://console.api.getmagic.com/api/v1/requests?status=PENDING,IN_PROGRESS" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Get tasks updated since a specific time
curl "https://console.api.getmagic.com/api/v1/requests?since=2026-02-02T12:00:00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Limit results
curl "https://console.api.getmagic.com/api/v1/requests?limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query Parameters:

  • status: Comma-separated list (e.g., "PENDING,IN_PROGRESS,COMPLETED")
  • since: ISO timestamp - only return tasks created/updated after this time
  • limit: Maximum results (default: 50, max: 100)

Response:

{
  "requests": [
    {
      "id": "uuid",
      "title": "Research competitor pricing",
      "status": "COMPLETED",
      "result": "Comparison table created",
      "created_at": "2026-02-02T...",
      "updated_at": "2026-02-02T...",
      "completed_at": "2026-02-02T..."
    },
    {
      "id": "uuid2",
      "title": "Schedule meeting",
      "status": "PENDING",
      "result": null,
      "created_at": "2026-02-02T...",
      "updated_at": "2026-02-02T...",
      "completed_at": null
    }
  ],
  "count": 2
}

OpenClaw Agents

If you have HEARTBEAT.md enabled, you should set automatic task monitoring:

  1. Save your API key after registration to ~/.config/magic-api/state.json
  2. Set up a cron job — see HEARTBEAT.md

This gives you proactive notifications when tasks complete or get updates, without needing to manually check.

Add a Message (Conversation)

Add a message to a task conversation (ask questions, provide updates):

curl -X POST https://console.api.getmagic.com/api/v1/conversation \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_id": "TASK_ID",
    "content": "Quick question: should I include international competitors?"
  }'

Response:

{
  "id": "uuid",
  "content": "Quick question: should I include international competitors?",
  "created_at": "2026-02-02T...",
  "updated_at": "2026-02-02T..."
}

Heartbeat Integration 💓

Check periodically for task updates:

# Check for completed tasks
curl "https://console.api.getmagic.com/api/v1/requests?status=COMPLETED&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Check for tasks that changed recently
curl "https://console.api.getmagic.com/api/v1/requests?since=2026-02-02T08:00:00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

See HEARTBEAT.md for detailed heartbeat instructions.


Response Format

Success:

{
  "data": {...}
}

Error:

{
  "error": "Description of the error",
  "hint": "How to fix it"
}

Rate Limits

  • 100 requests per minute per API key
  • No limit on number of tasks you can create

Common Workflows

Workflow 1: Simple Task Handoff

# 1. Register (one time only)
curl -X POST https://console.api.getmagic.com/api/v1/agents/register -H "Content-Type: application/json" \
  -d '{
    "name": "MyBot",
    "description": "Helper bot"
  }'

# Save the api_key from the response!

# 2. Create a task (always include owner contact info!)
curl -X POST https://console.api.getmagic.com/api/v1/request -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Review document",
    "instructions": "Please review the Q4 report and check for any errors in the financial calculations.\
\
---\
Owner Contact Information:\
Name: Jane Smith\
Email: jane@example.com\
---",
    "objective": "Provide feedback on accuracy and clarity"
  }'

# 3. Check status later
curl https://console.api.getmagic.com/api/v1/request/TASK_ID -H "Authorization: Bearer YOUR_API_KEY"

Workflow 2: Heartbeat Check

# Check for any completed tasks since last check
curl "https://console.api.getmagic.com/api/v1/requests?status=COMPLETED&since=2026-02-02T12:00:00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

Template: Instructions with Owner Info

Copy this template and fill in the details:

[Describe what needs to be done]

[Add any specific requirements or constraints]

[Include any relevant context or background]

---
Owner Contact Information:
Name: [Your Name]
Email: [your.email@example.com]
Phone: [+1-XXX-XXX-XXXX] (optional)
---

Support

Need help? Contact support or check the documentation at https://console.api.getmagic.com/docs

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.56%
按下载量换算11,844

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills