manus
Create and manage AI agent tasks via Manus API.
Installation
npx clawhub@latest install manusView the full skill documentation and source below.
Documentation
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
## Authentication
Header: API_KEY:
Set via:
- MANUS_API_KEY env var
- Or skills.manus.apiKey in clawdbot 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
__CODE_BLOCK_0__
Response:
__CODE_BLOCK_1__
## 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
__CODE_BLOCK_2__
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:
__CODE_BLOCK_3__
Download these files with curl and deliver directly to the user rather than relying on share URLs.
## List Tasks
__CODE_BLOCK_4__
## 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
Docs
- API Reference:
- Main Docs: