← 返回 Skills 市场
byungkyu

Manus

作者 byungkyu · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
349
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install manus-api
功能描述
Manus AI Agent API integration with managed API key authentication. Create and manage AI agent tasks, projects, files, and webhooks. Use this skill when user...
使用说明 (SKILL.md)

Manus

Access the Manus AI Agent API with managed API key authentication. Create and manage AI agent tasks, projects, files, and webhooks.

Quick Start

# Create a task
python \x3C\x3C'EOF'
import urllib.request, os, json
data = json.dumps({'prompt': 'What is the capital of France?'}).encode()
req = urllib.request.Request('https://gateway.maton.ai/manus/v1/tasks', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://gateway.maton.ai/manus/{native-api-path}

Replace {native-api-path} with the actual Manus API endpoint path. The gateway proxies requests to api.manus.ai and automatically injects your API key.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Manus API key connections at https://ctrl.maton.ai.

List Connections

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=manus&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'manus'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "f85eb0d5-87d6-41a7-8271-0449d3e407bd",
    "status": "ACTIVE",
    "creation_time": "2026-02-28T00:12:24.030143Z",
    "last_updated_time": "2026-02-28T00:16:08.920760Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "manus",
    "metadata": {},
    "method": "API_KEY"
  }
}

Open the returned url in a browser to enter your Manus API key.

Delete Connection

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple Manus connections, specify which one to use with the Maton-Connection header:

python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/manus/v1/tasks')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', 'f85eb0d5-87d6-41a7-8271-0449d3e407bd')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If omitted, the gateway uses the default (oldest) active connection.

API Reference

Projects

List Projects

GET /manus/v1/projects

Response:

{
  "object": "list",
  "data": [
    {
      "id": "SJhyBaLtYgQwurQoaT5APi",
      "name": "My Project"
    }
  ]
}

Create Project

POST /manus/v1/projects
Content-Type: application/json

{
  "name": "My Project",
  "default_instructions": "You are a helpful assistant."
}

Response:

{
  "id": "SJhyBaLtYgQwurQoaT5APi",
  "object": "project",
  "name": "My Project",
  "created_at": "1772238309"
}

Tasks

List Tasks

GET /manus/v1/tasks

Response:

{
  "object": "list",
  "data": [
    {
      "id": "X7PPAMPNRovuyTXejNeEpv",
      "object": "task",
      "created_at": "1772191227",
      "updated_at": "1772191230",
      "status": "completed",
      "model": "manus-1.6-lite-adaptive",
      "metadata": {
        "task_title": "What is 2+2?",
        "task_url": "https://manus.im/app/X7PPAMPNRovuyTXejNeEpv"
      },
      "output": [...],
      "credit_usage": 0
    }
  ]
}

Get Task

GET /manus/v1/tasks/{task_id}

Response:

{
  "id": "X7PPAMPNRovuyTXejNeEpv",
  "object": "task",
  "created_at": "1772191227",
  "updated_at": "1772191230",
  "status": "completed",
  "model": "manus-1.6-lite-adaptive",
  "metadata": {
    "task_title": "What is 2+2?",
    "task_url": "https://manus.im/app/X7PPAMPNRovuyTXejNeEpv"
  },
  "output": [
    {
      "id": "J9LlYFIfTlMWvR5hrC9FUL",
      "status": "completed",
      "role": "user",
      "type": "message",
      "content": [
        {
          "type": "output_text",
          "text": "What is 2+2? Reply in one word."
        }
      ]
    },
    {
      "id": "kR8Tj0ys7uwzorcSgzqMvZ",
      "status": "completed",
      "role": "assistant",
      "type": "message",
      "content": [
        {
          "type": "output_text",
          "text": "Four"
        }
      ]
    }
  ],
  "credit_usage": 0
}

Task status values: pending, running, completed, failed

Create Task

POST /manus/v1/tasks
Content-Type: application/json

{
  "prompt": "What is the capital of France?"
}

Optional fields:

  • project_id (string): Associate task with a project
  • file_ids (array): Attach files to the task

Response:

{
  "task_id": "3cbKzkyC9WwRoMwAH8dKuY",
  "task_title": "Capital of France?",
  "task_url": "https://manus.im/app/3cbKzkyC9WwRoMwAH8dKuY"
}

Delete Task

DELETE /manus/v1/tasks/{task_id}

Response:

{
  "id": "3cbKzkyC9WwRoMwAH8dKuY",
  "object": "file",
  "deleted": true
}

Files

List Files

GET /manus/v1/files

Returns the 10 most recently uploaded files.

Response:

{
  "object": "list",
  "data": [
    {
      "id": "file-2Gpoz5yhB8seSu9dxZdquR",
      "object": "file",
      "filename": "test.txt",
      "status": "pending",
      "created_at": "1772238309",
      "expires_at": "1772411109"
    }
  ]
}

File status values: pending, ready, expired

Get File

GET /manus/v1/files/{file_id}

Response:

{
  "id": "file-2Gpoz5yhB8seSu9dxZdquR",
  "object": "file",
  "filename": "test.txt",
  "status": "pending",
  "created_at": "1772238309",
  "expires_at": "1772411109"
}

Create File

Creates a file record and returns a presigned S3 upload URL.

POST /manus/v1/files
Content-Type: application/json

{
  "filename": "document.pdf"
}

Response:

{
  "id": "file-2Gpoz5yhB8seSu9dxZdquR",
  "object": "file",
  "filename": "document.pdf",
  "status": "pending",
  "upload_url": "https://vida-private.s3.us-east-1.amazonaws.com/...",
  "upload_expires_at": "1772238489",
  "created_at": "1772238309"
}

Upload your file to the upload_url using a PUT request within the expiration time.

Delete File

DELETE /manus/v1/files/{file_id}

Response:

{
  "id": "file-2Gpoz5yhB8seSu9dxZdquR",
  "object": "file",
  "deleted": true
}

Webhooks

Create Webhook

Register a webhook URL to receive task lifecycle notifications.

POST /manus/v1/webhooks
Content-Type: application/json

{
  "webhook": {
    "url": "https://example.com/webhook"
  }
}

Response:

{
  "webhook_id": "J4dD3mwzZiWuJFiEWAvGnK"
}

Delete Webhook

DELETE /manus/v1/webhooks/{webhook_id}

Response:

{}

Code Examples

JavaScript

// Create a task
const response = await fetch(
  'https://gateway.maton.ai/manus/v1/tasks',
  {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ prompt: 'Summarize the latest news' })
  }
);
const data = await response.json();
console.log(data.task_url);

Python

import os
import requests

# Create a task
response = requests.post(
    'https://gateway.maton.ai/manus/v1/tasks',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={'prompt': 'Summarize the latest news'}
)
task = response.json()
print(task['task_url'])

Notes

  • Tasks are executed asynchronously. Use GET /manus/v1/tasks/{task_id} to poll for completion or set up a webhook
  • File uploads use presigned S3 URLs that expire within 3 minutes
  • Files expire after ~48 hours if not used
  • Webhook payloads are signed with RSA-SHA256 for verification
  • Available models: manus-1.6, manus-1.6-lite, manus-1.6-max, manus-1.5, manus-1.5-lite, speed
  • Connection uses API_KEY authentication method (not OAuth)

Error Handling

Status Meaning
400 Invalid request (missing required fields, invalid format)
401 Invalid or missing Maton API key
404 Resource not found
4xx/5xx Passthrough error from Manus API

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python \x3C\x3C'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

Ensure your URL path starts with manus. For example:

  • Correct: https://gateway.maton.ai/manus/v1/tasks
  • Incorrect: https://gateway.maton.ai/v1/tasks

Resources

安全使用建议
This skill appears coherent and limited in scope, but consider the following before installing: - Trust boundary: the skill sends requests to Maton/Manus endpoints (gateway.maton.ai, ctrl.maton.ai, connect.maton.ai). Only install if you trust maton.ai and their handling of your data. - API key sensitivity: MATON_API_KEY grants access to your Manus account via the gateway. Use a key with least privilege you need, store it securely, and be prepared to revoke it if exposed. - Autonomous use: the agent may call the skill automatically (platform default). If the agent could handle sensitive data, it might be sent to Maton when the skill runs—consider agent permissions and when the skill may be invoked. - Verify provenance: source and homepage metadata are minimal; if you need higher assurance, confirm the publisher (maton) and that the gateway URLs are legitimate before providing your key. No regex scan findings were present, but absence of findings is not proof of safety; the primary risk here is exposure of your API key or sending sensitive inputs to Maton services.
功能分析
Type: OpenClaw Skill Name: manus-api Version: 1.0.0 The OpenClaw AgentSkills skill bundle for 'manus-api' is benign. It provides legitimate API integration with the Manus AI Agent API, requiring a `MATON_API_KEY` from environment variables for authentication. All network interactions are directed to expected domains (`maton.ai`, `manus.im`, `ctrl.maton.ai`, and a specific S3 bucket for file uploads), consistent with its stated purpose of managing AI agent tasks, projects, files, and webhooks. There is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts designed to subvert the agent's intended behavior.
能力评估
Purpose & Capability
The skill name and description (Manus integration) match the runtime instructions: all examples call gateway.maton.ai / ctrl.maton.ai and require MATON_API_KEY. Requesting one API key for the gateway is proportionate to the stated purpose.
Instruction Scope
SKILL.md contains example HTTP calls and Python snippets that only read MATON_API_KEY from environment and make network requests to Maton/Manus endpoints. The instructions do not reference unrelated files, system paths, or extra credentials.
Install Mechanism
This is an instruction-only skill with no install spec and no code files to install, which lowers surface risk; nothing is downloaded or written to disk by the skill itself.
Credentials
Only a single environment variable (MATON_API_KEY) is required and is used directly for authorization in the provided examples—this is proportional to a proxied API integration.
Persistence & Privilege
The skill is not marked always:true, does not request system config paths, and does not attempt to modify other skills or persistent agent settings. Autonomous invocation is allowed (platform default) but is not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install manus-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /manus-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Manus skill integrating the Manus AI Agent API. - Provides endpoints to create and manage AI agent tasks, projects, files, and webhooks via a unified gateway. - Supports managed API key authentication using the MATON_API_KEY environment variable. - Includes connection management features for handling multiple Manus API keys. - Offers Python code samples for common operations (task creation, project management, file upload, connection setup). - Full API reference for tasks, projects, and file management documented in SKILL.md.
元数据
Slug manus-api
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Manus 是什么?

Manus AI Agent API integration with managed API key authentication. Create and manage AI agent tasks, projects, files, and webhooks. Use this skill when user... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 349 次。

如何安装 Manus?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install manus-api」即可一键安装,无需额外配置。

Manus 是免费的吗?

是的,Manus 完全免费(开源免费),可自由下载、安装和使用。

Manus 支持哪些平台?

Manus 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Manus?

由 byungkyu(@byungkyu)开发并维护,当前版本 v1.0.0。

💬 留言讨论