ワンクリックで
trello-control
Command Line Tool for retrieving and updating trello cards using the Trello API.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Command Line Tool for retrieving and updating trello cards using the Trello API.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | trello-control |
| description | Command Line Tool for retrieving and updating trello cards using the Trello API. |
A command-line tool for reading and writing Trello cards. Invoke it as a subprocess; all output is a single JSON object on stdout.
Two environment variables must be set before any command runs:
| Variable | Value |
|---|---|
TRELLO_API_KEY | Trello Power-Up API key |
TRELLO_TOKEN | Trello user token |
Every invocation returns exactly one JSON object. Always check success before using data.
{ "success": true, "data": <result> }
{ "success": false, "error": "<message>" }
Exit code is 0 on success, 1 on error.
All card-returning commands produce this shape:
{
"id": "abc123",
"name": "Card title",
"description": "Markdown body or null",
"idList": "list-id",
"idBoard": "board-id",
"shortUrl": "https://trello.com/c/...",
"due": "2025-06-01T00:00:00+00:00",
"closed": false,
"labels": [
{ "id": "label-id", "name": "Bug", "color": "red" }
],
"comments": null
}
description, shortUrl, due, and color may be null.
comments is null for all commands except cards get, which populates it with the full comment history:
"comments": [
{
"id": "action-id",
"text": "Comment body",
"authorName": "Alice Smith",
"date": "2025-05-01T10:30:00+00:00"
}
]
authorName may be null. Comments are ordered oldest-first as returned by Trello.
trello-control boards lists --id <boardId>
data: [{ "id": "...", "name": "..." }, ...]
trello-control boards labels --id <boardId>
data: [{ "id": "...", "name": "...", "color": "..." }, ...]
trello-control cards search --query <text> [--board-id <boardId>]
--board-id narrows results client-side (does not restrict the API call).data: array of card objects (max 50).
trello-control cards get --id <cardId>
data: single card object with comments populated (full history, oldest-first).
trello-control cards create --list-id <listId> --name <text> [--description <text>] [--label-ids <id,id,...>]
--label-ids is a comma-separated list of label IDs from boards labels.data: the created card object.
trello-control cards update --id <cardId> [--name <text>] [--description <text>]
--name or --description is required."" to clear the description.data: the updated card object.
trello-control cards comment --id <cardId> --text <text>
Comments cannot be edited after creation. Supports Markdown.
data: the card object (after comment is added).
trello-control cards label --id <cardId> [--add <id,id,...>] [--remove <id,id,...>]
--add or --remove is required.boards labels, not label names.data: the updated card object.
trello-control cards move --id <cardId> --list-id <listId>
Use boards lists to find valid list IDs. Moving to a list on a different board is not supported by this command.
data: the updated card object.
# 1. Find the target list and label IDs
trello-control boards lists --id <boardId>
trello-control boards labels --id <boardId>
# 2. Create the card
trello-control cards create --list-id <listId> --name "Fix login bug" --label-ids <bugLabelId>
# 1. Find the "In Progress" list ID
trello-control boards lists --id <boardId>
# 2. Move the card
trello-control cards move --id <cardId> --list-id <inProgressListId>
trello-control cards update --id <cardId> --description "Updated spec: ..."
trello-control cards comment --id <cardId> --text "Description updated with latest requirements."
# Search (returns array)
trello-control cards search --query "login bug"
# Fetch full detail by ID from the search results
trello-control cards get --id <idFromSearchResults>
{ "success": false, "error": "Missing TRELLO_API_KEY environment variable" }
{ "success": false, "error": "Specify at least one field to update (--name or --description)." }
{ "success": false, "error": "Specify at least --add or --remove." }
{ "success": false, "error": "Invalid value. The card was not found." }
| Format | Example | Where to find it |
|---|---|---|
| Full hex ID | 6062dfe3cf949c84a4e791ae | Returned as idBoard in card responses |
| Short link | 8KmgOdPu | Segment after /b/ in the board URL: trello.com/b/8KmgOdPu/board-title |
Always 24-character hex strings. Returned by boards lists.
Both formats are accepted by every command that takes --id:
| Format | Example | Where to find it |
|---|---|---|
| Full hex ID | 60631de10025813c5ff41640 | Returned as id in all card responses |
| Short link | yc8fqQZK | Segment after /c/ in the card URL: trello.com/c/yc8fqQZK/card-title |
Prefer the short link when working from a URL a user has pasted. Prefer the full hex ID when chaining commands (e.g. use the id field from a cards search result as input to cards get).
Use boards lists and boards labels at the start of a session to build a local map of name → ID for the board(s) you are working with.