Skip to content

Leechael/manus-skills

Repository files navigation

manus-cli

manus-cli is a command-line tool for working with the Manus AI API.


Install

Option A: Download from GitHub Releases

gh release list -R leechael/manus-cli
TAG="vX.Y.Z"
gh release download "$TAG" -R leechael/manus-cli --pattern "manus-cli-*.tar.gz"

Extract the archive for your platform and place manus-cli in your PATH.

Option B: Build from source

git clone [email protected]:leechael/manus-cli.git
cd manus-cli
make build

Required configuration

Set your Manus API key via environment variable:

export MANUS_API_KEY="<your-api-key>"

Validate setup before use:

manus-cli status
manus-cli status --json

Commands

  • status — check credentials and API connectivity
  • task create — create a new task
  • task list (alias: ls) — list tasks with filters
  • task get <id> — get a single task
  • task update <id> — update task metadata
  • task delete <id> — delete a task
  • project create — create a new project
  • project list (alias: ls) — list projects
  • file create — create a file record (returns presigned upload URL)
  • file list (alias: ls) — list recent files
  • file get <id> — get file details
  • file delete <id> — delete a file
  • webhook create — register a webhook URL
  • webhook delete <id> — remove a webhook

Output modes

  • --json for machine-readable JSON output.
  • --plain for tab-separated stable output.
  • --jq with --json for filtered JSON output.
  • Human hints are printed to stderr, data to stdout.

Usage examples

# status
manus-cli status
manus-cli status --json

# tasks
manus-cli task create --prompt "Research quantum computing"
manus-cli task list --json
manus-cli task list --status completed --limit 10
manus-cli task get task_abc123 --json
manus-cli task update task_abc123 --title "New Title"
manus-cli task delete task_abc123

# projects
manus-cli project create --name "My Project" --instruction "Be concise"
manus-cli project list --json

# files
manus-cli file create --filename "data.csv"
manus-cli file list --json
manus-cli file get file_abc123
manus-cli file delete file_abc123

# webhooks
manus-cli webhook create --url "https://example.com/webhook"
manus-cli webhook delete wh_abc123

# filtering with jq
manus-cli task list --json --jq '.[].id'

Development

make build        # build to bin/manus-cli
make test         # unit tests
make bdd-test     # BDD tests
make ci           # full CI check (fmt + vet + test + build)
make fmt          # auto-format Go source
make cross-build  # build all platforms

About

Manus Task as Agent Skills

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors