360 Secure SkillHub
360 安全技能中心

Manus

该技能通过 Manus API(api.manus.ai/v1)创建和管理自主 AI 任务:提交 prompt、选择 agentProfile/taskMode、轮询任务状态,并从响应的 output 中提取 output_file 下载到本地交付用户;需要 MANUS_API_KEY,配套 scripts/manus.sh 封装 create/status/wait/files/downloa…

mvanhorn
mvanhorn
热度 92.45
最近更新 2026-05-11 15:50:48
分类:自动化依赖:第三方 API / 代码执行 / 读写文件应用场景:API 集成 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add manus
Metadata
name
manus
version
1.1.0
description
Create and manage AI agent tasks via Manus API. Manus 1.5 autonomously browses the web, uses tools, and delivers complete work products. Cost-efficient Manus-1.5-Lite available.
author
mvanhorn
license
MIT
repository
https://github.com/mvanhorn/clawdbot-skill-manus
homepage
https://manus.im
metadata
{"openclaw":{"emoji":"🤖","requires":{"env":["MANUS_API_KEY"]},"primaryEnv":"MANUS_API_KEY","tags":["agent","automation","manus","web-browsing"]}}

Manus AI Agent

Use the Manus API to create autonomous AI tasks. Manus can browse the web, use tools, and deliver complete results (reports, code, presentations, etc.).

API Base

https://api.manus.ai/v1

Authentication

Header: API_KEY: <your-key>

Set via:

  • MANUS_API_KEY env var
  • Or skills.manus.apiKey in openclaw config

Recommended Workflow

When using Manus for tasks that produce files (slides, reports, etc.):

  1. Create the task with createShareableLink: true
  2. Poll for completion using the task_id
  3. Extract output files from the response and download them locally
  4. Deliver to user via direct file attachment (don't rely on manus.im share links)

Create a Task

curl -X POST "https://api.manus.ai/v1/tasks" \
  -H "API_KEY: $MANUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Your task description here",
    "agentProfile": "manus-1.6",
    "taskMode": "agent",
    "createShareableLink": true
  }'

Response:

{
  "task_id": "abc123",
  "task_title": "Task Title",
  "task_url": "https://manus.im/app/abc123"
}

Agent Profiles

Profile Description Use for
manus-1.6 Standard (default) Most tasks
manus-1.6-lite Faster, lighter Quick/simple stuff
manus-1.6-max Complex, thorough Deep research/analysis

Default: Always use manus-1.6 unless user specifies otherwise.

Task Modes

Mode Description
chat Conversational mode
adaptive Auto-selects best approach
agent Full autonomous agent mode (recommended for file creation)

Get Task Status & Output

curl "https://api.manus.ai/v1/tasks/{task_id}" \
  -H "API_KEY: $MANUS_API_KEY"

Status values: pending, running, completed, failed

Important: When status is completed, check the output array for files:

  • Look for type: "output_file" entries
  • Download files from fileUrl directly
  • Save locally and send to user as attachments

Extracting Output Files

The task response includes output like:

{
  "output": [
    {
      "content": [
        {
          "type": "output_file",
          "fileUrl": "https://private-us-east-1.manuscdn.com/...",
          "fileName": "presentation.pdf"
        }
      ]
    }
  ]
}

Download these files with curl and deliver directly to the user rather than relying on share URLs.

List Tasks

curl "https://api.manus.ai/v1/tasks" \
  -H "API_KEY: $MANUS_API_KEY"

Best Practices

  1. Always poll for completion before telling user the task is done
  2. Download output files locally instead of giving manus.im links (they can be unreliable)
  3. Use agent mode for tasks that create files/documents
  4. Set reasonable expectations — Manus tasks can take 2-10+ minutes for complex work

Docs