Token导航 LogoToken导航

Agent Skill · 研究检索

magic-api(magic API 搜索)

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

magic-api 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 3,805。

总安装 39,514周安装 1,680GitHub Stars 公开资料未说明下载 13,843核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install magic-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

magic-api 怎么安装?

在终端执行 openclaw skills install magic-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

magic-api 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

magic-api 需要什么权限?

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

magic-api 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

magic-api 用的人多吗?

公开数据是累计安装 39,514 次,近一周安装 1,680 次,下载 13,843 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

magic-api 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
magic-api

magic API 搜索 · 本页

39,514—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

OpenClaw

85.56%
按下载量换算11,844

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills