Plutio Skill
Integrate with Plutio for project and task management via its REST API.
Platforms: Linux/macOS (bash) and Windows (PowerShell 7). See references/powershell-workflows.md for PowerShell versions of the examples.
Secrets: rules for the agent
- Never ask the user to type, paste or send the Plutio app key or secret in chat, and never put them in a command line or a file you write. The CLI refuses
--app-keyand--secret. - If credentials are missing (the CLI exits with code 2 and says so), tell the user to do one of these themselves: set
PLUTIO_APP_KEY,PLUTIO_SECRETandPLUTIO_SUBDOMAINin the skill's OpenClaw config (the first two are declared as secrets), or run the CLI in their own terminal, where it asks with a hidden prompt. - Never print
PLUTIO_APP_KEY,PLUTIO_SECRETor~/.config/plutio/token.json, not even to check that they are set. - If the user pastes credentials into chat anyway: don't repeat them, don't use them in a command, and suggest they delete that API application in Plutio and create a new one (see the setup guide).
What the skill accesses
- Plutio workspace (the subdomain you configure): projects, tasks, and people.
list-peoplereturns workspace members' names, email addresses and IDs; use it only to find the person a task should be assigned to, and don't repeat email addresses unless the user asks for them. - Network: only
https://api.plutio.com/v1.11(redirects are refused, so the token never goes anywhere else). - Environment:
PLUTIO_SUBDOMAIN,PLUTIO_APP_KEY,PLUTIO_SECRET. - Local file:
~/.config/plutio/token.json. On Linux and macOS it is created with mode 0600 (readable only by your user) and an existing looser file is tightened first; on Windows file modes don't apply, so it gets the permissions of your user profile folder, which other standard users can't read by default. It holds the short-lived OAuth token (about one hour), its expiry and a SHA-256 hash of the credentials (to notice when they change). The app key and secret themselves are never written to disk. - It sends nothing anywhere else: no messages, notifications or uploads.
Changes need the user's go-ahead
create-task and update-task change the workspace, and Plutio has no undo through this CLI (it has no delete command either). For every change:
- Run the command with
--dry-run. It sends nothing and needs no credentials; it prints the exact change (method, task path, fields) and aconfirmcode. - Show the user that change and ask for their OK.
- Only after they agree, run the same command with
--confirm <code>instead of--dry-run. If anything differs from what the user approved, the code no longer matches and the CLI refuses without sending; run the dry run again and ask again.
For several tasks (closing or editing a list), show the dry run of every task together, get one OK for that exact list, then run each with its own code. The CLI enforces this: create-task or update-task without --dry-run or --confirm is refused (exit 2) before anything is read or sent.
Setup
Complete setup guide: references/setup-guide.md covers getting API credentials from Plutio, configuring them in OpenClaw's skill settings (recommended), command-line use on Linux, macOS and Windows (hidden prompts, password managers), and troubleshooting.
Quick summary (the user does this; the agent only explains it):
- Get credentials from Plutio (Settings > API > Create Application)
- Enter them in the skill's settings in OpenClaw:
PLUTIO_SUBDOMAIN,PLUTIO_APP_KEY,PLUTIO_SECRET - Or, in a terminal, let the CLI ask for them with a hidden prompt, or pipe them in with
--credentials-stdin(two lines: app key, then secret) - Python 3 must be installed; no packages are needed
Credentials are read in this order: environment variables, --credentials-stdin, hidden prompt. Without any of them the CLI stops with exit code 2. The subdomain comes from --subdomain or PLUTIO_SUBDOMAIN.
Commands
Run the CLI as python3 {baseDir}/scripts/plutio-cli.py [--subdomain NAME] [--json] <command> [options]. --subdomain, --json and --credentials-stdin work before or after the command.
| Command | Options | Notes |
|---|---|---|
list-projects |
[--active-only] [--skip N] [--limit N] |
All projects |
list-tasks |
--project-id ID [--status S] [--skip N] [--limit N] |
Tasks of one project |
create-task |
--title T --board-id ID --group-id ID [--status S] [--priority P] [--assignee-id ID] [--due-date YYYY-MM-DD] [--label-ids A,B] [--custom-fields JSON] (--dry-run | --confirm CODE) |
Needs the go-ahead. The CLI accepts a task without board and group, but Plutio then hides it from the UI: always pass both |
update-task |
--task-id ID [--title T] [--description D] [--status S] [--priority P] [--assignee-id ID] [--due-date YYYY-MM-DD] [--custom-fields JSON] (--dry-run | --confirm CODE) |
Needs the go-ahead; --status closed closes a task |
list-people |
[--skip N] [--limit N] |
Names, emails and IDs of workspace members |
The list commands return one page: 50 items unless you pass --limit (up to 1000), starting at --skip. For a summary or a "how many" answer, page through with --skip until a page comes back shorter than the limit, or say that the answer covers only the first page. list-projects --active-only filters each page after fetching it, so its pages can be short or empty while later pages still hold active projects: to cover every active project, page through list-projects without --active-only and keep the "In progress" ones yourself.
Values are checked before any request (IDs, dates, status and priority, JSON for custom fields); those local argument and validation errors never repeat what was typed. Errors returned by the Plutio API are printed as Plutio sends them (HTTP status and error text), which may quote submitted values: check them before sharing.
Quick Start
CLI={baseDir}/scripts/plutio-cli.py
python3 $CLI list-projects
python3 $CLI list-tasks --project-id PROJECT_ID --status open --json
python3 $CLI create-task --title "My Task Title" --board-id BOARD_ID --group-id GROUP_ID --dry-run
# ...show the change to the user; after their OK:
python3 $CLI create-task --title "My Task Title" --board-id BOARD_ID --group-id GROUP_ID --confirm CODE
python3 $CLI update-task --task-id TASK_ID --status closed --dry-run
python3 $CLI list-people
Add --subdomain your-subdomain when PLUTIO_SUBDOMAIN is not set.
Note: To make a new task appear in the Plutio UI you must give both --board-id (Task List board) and --group-id (column, such as Backlog or Done).
Plutio v1.11 API notes
- Tasks need both
taskBoardIdandtaskGroupIdto appear in the Plutio UI; tasks without them are created but stay hidden. - On create, Plutio reliably stores the title, board and group. The CLI also sends status, priority, assignee, due date, labels and custom fields, but the create endpoint may ignore them. Status, priority, assignee, due date and custom fields can be set afterwards with
update-task; labels cannot (update-taskhas no--label-ids), so change labels in the Plutio UI. update-taskworks within what the API application is allowed to change; a 403 means the change has to be made in the Plutio UI.- Rate limit: about 1000 calls per hour.
More: references/api-endpoints.md (the endpoints the CLI calls) and references/examples.md (workflows).
Troubleshooting
- "Unauthorized": check that the client ID and secret were copied exactly from Plutio Settings > API, and that the API application still exists.
- "Invalid arguments (...)": the option named is not one that command takes; see the table above.
- "Project not found": get the ID from
list-projects. - "Rate limited": wait before retrying.
- Task missing from the UI: it was created without
--board-idand--group-id.
