選項

透過 Trello REST API 管理 Trello 看板、清單和卡片。

...展開全部
67
更新時間 2026-07-01

關於trello

Trello 技能讓使用者能透過Trello REST API,直接從命令列管理其Trello 工作區。藉由整合環境變數進行驗證,此技能提供了一種簡化的方式,讓使用者無需瀏覽Trello 網頁介面,即可與看板、清單和卡片進行互動。 它解決了手動管理Trello 資源的問題,讓使用者能夠自動化重複性任務、快速查詢看板資料,並有效率地維持系統組織。

此技能的主要功能包括列出用戶的所有看板、枚舉看板內的清單,以及從特定清單中擷取卡片。用戶還可建立新卡片、在清單間移動卡片、新增留言,以及將卡片歸檔。 所有操作皆運用簡單的 curl 指令,並結合 jq 進行 JSON 解析,在 API 請求的執行方式上兼具靈活性與透明度。此技能的設定極為簡便,僅需Trello 的 API 金鑰與憑證,並仰賴 jq 來處理 JSON 回應。

此技能非常適合將Trello 作為核心任務管理工具,並希望自動化工作流程或將Trello 資料整合至腳本及其他系統的專案經理、開發人員及團隊。 應用案例包括生成看板狀態的快速報告、批量建立或更新卡片,以及自動化任務狀態轉換。對於熟悉命令列操作且希望優化Trello 管理任務、而不僅僅依賴網頁介面的使用者而言,此技能特別實用。

常見問題

如何設定Trello 技能?

您需要取得您的Trello API 金鑰和令牌,然後將其設定為環境變數TRELLO_API_KEY 和TRELLO_TOKEN。此外,請確保已安裝 jq 以進行 JSON 處理。

我可以使用此技能建立和移動卡片嗎?

可以,此技能支援透過 curl 指令在清單中建立新卡片、將卡片移至不同清單、新增註解,以及將卡片歸檔。

是否有任何我應注意的請求速率限制?

是的,Trello API 設有以下限制:每個 API 金鑰每 10 秒 300 次請求、每個 token 每 10 秒 100 次請求,而 /1/members 端點則限制為每 900 秒 100 次請求。

使用此技能是否需要額外的軟體?

是的,此技能需要 jq 來解析 API 傳回的 JSON 回應。可透過 brew 或其他套件管理工具進行安裝。

這項技能的目標使用者是誰?

本技能專為希望透過命令列自動化管理看板、清單和卡片(board, list, and card)的Trello 使用者設計,例如專案經理、開發人員和團隊負責人。

在 GitHub 上查看

Trello Skill

Manage Trello boards, lists, and cards directly from OpenClaw.

Setup

  1. Get your API key: https://trello.com/app-key
  2. Generate a token (click "Token" link on that page)
  3. Set environment variables:
    export TRELLO_API_KEY="your-api-key"export TRELLO_TOKEN="your-token"

Usage

All commands use curl to hit the Trello REST API.

List boards

curl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id}'

List lists in a board

curl -s "https://api.trello.com/1/boards/{boardId}/lists?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id}'

List cards in a list

curl -s "https://api.trello.com/1/lists/{listId}/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, id, desc}'

Create a card

curl -s -X POST "https://api.trello.com/1/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \  -d "idList={listId}" \  -d "name=Card Title" \  -d "desc=Card description"

Move a card to another list

curl -s -X PUT "https://api.trello.com/1/cards/{cardId}?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \  -d "idList={newListId}"

Add a comment to a card

curl -s -X POST "https://api.trello.com/1/cards/{cardId}/actions/comments?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \  -d "text=Your comment here"

Archive a card

curl -s -X PUT "https://api.trello.com/1/cards/{cardId}?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" \  -d "closed=true"

Notes

  • Board/List/Card IDs can be found in the Trello URL or via the list commands
  • The API key and token provide full access to your Trello account - keep them secret!
  • Rate limits: 300 requests per 10 seconds per API key; 100 requests per 10 seconds per token; /1/members endpoints are limited to 100 requests per 900 seconds

Examples

# Get all boardscurl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN&fields=name,id" | jq# Find a specific board by namecurl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | select(.name | contains("Work"))'# Get all cards on a boardcurl -s "https://api.trello.com/1/boards/{boardId}/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, list: .idList}'

所有檔案

1 個檔案

安裝 trello

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/openclaw/openclaw/blob/main/skills/trello/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/,Claude 會自動偵測並使用該技能
儲存庫 steipete/clawdis

相關技能

agentwallet
更新時間 2026-07-07
brightdata-cli
更新時間 2026-06-29
humanize
更新時間 2026-07-07
korean-stock-search
更新時間 2026-07-08
OR