Trello

openclaw/openclaw/skills/trello

作者 openclawb0c330d27df4a528f65185cc3e509284d1b218d9无许可证394K 个星标收录于 2026年11月20日更新于 2026年11月20日仓库今天更新

Manage Trello boards, lists, and cards via the Trello REST API.

仅含说明效率与工作流
AI 生成的概览

通过 Trello REST API,用 curl 和 jq 命令管理 Trello 看板、列表和卡片。

功能
提供可直接运行的 curl 命令来调用 Trello REST API:列出看板、列出看板中的列表、列出列表中的卡片、创建卡片、在列表间移动卡片、为卡片添加评论以及归档卡片。返回结果通过 jq 过滤,只显示名称、ID、描述等字段。文档还说明如何配置 API key 与 token,并列出速率限制注意事项。
适用场景
当需要读取或更新 Trello 看板、列表或卡片时使用,例如查看看板中的卡片、新建卡片、把卡片移到其他列表、添加评论或归档卡片。
运行要求
需要安装 curl 和 jq(jq 可通过 brew 安装),并设置 TRELLO_API_KEY 与 TRELLO_TOKEN 环境变量;需要访问 api.trello.com 的网络连接。仅为说明文档,不附带脚本。

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:
    bash
    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

bash
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

bash
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

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

Create a card

bash
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

bash
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

bash
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

bash
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

bash
# 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}'

来源与署名

来源:openclaw/openclaw位于skills/trello提交b0c330d

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

在 README 中添加徽章

向读者展示该技能已收录于 SourceWeft,徽章链接到本页。

“Listed on SourceWeft”徽章预览
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-openclaw-openclaw-trello-skills-trello-03ccdeb6384dd2c9.svg)](https://sourceweft.com/skills/gh-openclaw-openclaw-trello-skills-trello-03ccdeb6384dd2c9?utm_source=readme&utm_medium=badge)

举报或申请下架