360 Secure SkillHub
360 安全技能中心

plutio

该 Skill 通过 Python 3 命令行脚本调用 Plutio REST API,用于列出项目、任务和工作区成员,并创建任务、更新状态、负责人和截止日期,或关闭任务。所有写入操作必须先用 dry-run 取得确认码,经用户同意后再执行;凭据只从环境变量、标准输入或隐藏提示读取,短期 OAuth 令牌缓存在本地文件。

分类:协作
grewingm
grewingm
热度 43.92
最近更新 2026-11-30 20:32:31

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add grewingm/plutio
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
plutio
description
Manage Plutio projects and tasks. Use when you need to list projects or tasks, create a task, or update or close a task in Plutio (task/project management platform). Also lists workspace members (names, emails, IDs) so a task can be assigned. Task creation reliably sets title, board and group; other fields depend on what the Plutio API accepts.
allowed-tools
["exec"]
permissions
["shell","env","network","file_read","file_write"]
metadata
{"openclaw":{"homepage":"https://github.com/GrewingM/openclaw-skill-plutio","requires":{"bins":["python3"]},"config":[{"id":"PLUTIO_SUBDOMAIN","label":"Plutio subdomain","type":"string"},{"id":"PLUTIO_APP_KEY","label":"Plutio app key (client ID)","type":"secret"},{"id":"PLUTIO_SECRET","label":"Plutio secret","type":"secret"}]}}

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-key and --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_SECRET and PLUTIO_SUBDOMAIN in 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_SECRET or ~/.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-people returns 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:

  1. Run the command with --dry-run. It sends nothing and needs no credentials; it prints the exact change (method, task path, fields) and a confirm code.
  2. Show the user that change and ask for their OK.
  3. 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):

  1. Get credentials from Plutio (Settings > API > Create Application)
  2. Enter them in the skill's settings in OpenClaw: PLUTIO_SUBDOMAIN, PLUTIO_APP_KEY, PLUTIO_SECRET
  3. 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)
  4. 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 taskBoardId and taskGroupId to 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-task has no --label-ids), so change labels in the Plutio UI.
  • update-task works 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-id and --group-id.