Productivity & TasksDocumentedScanned

trello

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

Share:

Installation

npx clawhub@latest install trello

View the full skill documentation and source below.

Documentation

Trello Skill

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

Setup

  • Get your API key:

  • Generate a token (click "Token" link on that page)

  • 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 "" | jq '.[] | {name, id}'

    List lists in a board

    curl -s "" | jq '.[] | {name, id}'

    List cards in a list

    curl -s "" | jq '.[] | {name, id, desc}'

    Create a card

    curl -s -X POST "" \
      -d "idList={listId}" \
      -d "name=Card Title" \
      -d "desc=Card description"

    Move a card to another list

    curl -s -X PUT "" \
      -d "idList={newListId}"

    Add a comment to a card

    curl -s -X POST "" \
      -d "text=Your comment here"

    Archive a card

    curl -s -X PUT "" \
      -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 "" | jq
    
    # Find a specific board by name
    curl -s "" | jq '.[] | select(.name | contains("Work"))'
    
    # Get all cards on a board
    curl -s "" | jq '.[] | {name, list: .idList}'