跳到正文
Skillpedia
任务与项目394k · #87

trello

它能做什么

它指导 AI 智能体通过 Trello REST API 处理看板、列表和卡片。它适合在 Trello 看板上规划工作、希望智能体帮忙保持其更新的人。

适用场景

  • ✓你想查看某个 Trello 看板上的列表或卡片的时候。
  • ✓你想在某个列表中添加一张新卡片的时候。
  • ✓你想把卡片移到另一个列表,或为卡片添加评论的时候。

技能链接

https://github.com/openclaw/openclaw/blob/main/skills/trello/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/skills/trello/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在我的 Work 看板的 To Do 列表中创建一张名为“审阅第三季度预算”的卡片。”

每周 5 个新技能,1 分钟读完。

工作原理

技能使用你的 Trello 密钥和令牌,通过简单的请求调用 Trello API。它先找到看板、列表或卡片的 ID,然后按你的要求创建、移动或添加评论。

技术内容(原始 SKILL.md)

作者在 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 boards
curl -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 name
curl -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 board
curl -s "https://api.trello.com/1/boards/{boardId}/cards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN" | jq '.[] | {name, list: .idList}'
常见问题

如何获取 API 密钥?

你可以从 Trello 应用密钥页面获取,然后在同一页面生成令牌。

密钥和令牌保存在哪里?

它们保存为环境变量,因此不需要出现在聊天中。

它能删除卡片吗?

本指南记录的操作包括列出、创建、移动和评论,因此删除不在其中。

详情

作者的原始描述

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

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#87
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能