跳至主要内容
小龙虾小龙虾AI
🤖

Tasktrove

Manage todos via Tasktrove API. Use for listing, creating, completing, or updating tasks. Triggers on task/todo requests like "what's on my todo list", "add a task", "mark X done", "what's due today".

下载1.0k
星标0
版本1.0.0
效率办公
安全通过

技能说明


name: tasktrove description: Manage todos via Tasktrove API. Use for listing, creating, completing, or updating tasks. Triggers on task/todo requests like "what's on my todo list", "add a task", "mark X done", "what's due today".

Tasktrove Todo Management

Manage tasks via a self-hosted Tasktrove instance. (GitHub)

Configuration

Set the following environment variable:

export TASKTROVE_HOST="http://your-server:3333"

Optionally, if your instance requires authentication:

export TASKTROVE_TOKEN="your-api-token"

Quick Reference

Using the CLI script

# List today's tasks
python3 scripts/tasks.py list --today

# List overdue tasks
python3 scripts/tasks.py list --overdue

# List this week's tasks
python3 scripts/tasks.py list --week

# Add a task
python3 scripts/tasks.py add "Task title" --due 2026-02-10 --priority 2

# Complete a task (use ID prefix from list output)
python3 scripts/tasks.py complete abc123

# Search tasks
python3 scripts/tasks.py search "keyword"

Direct API calls

List Tasks

curl -s "$TASKTROVE_HOST/api/v1/tasks"

Create Task

# Note: API requires all fields including id, completed, labels, etc.
curl -X POST "$TASKTROVE_HOST/api/v1/tasks" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "<uuid>",
    "title": "Task title",
    "priority": 4,
    "dueDate": "2026-02-06",
    "completed": false,
    "labels": [],
    "subtasks": [],
    "comments": [],
    "createdAt": "2026-02-06T12:00:00.000Z",
    "recurringMode": "dueDate"
  }'

Complete/Update Task

# Note: PATCH goes to collection endpoint with ID in body (not /tasks/{id})
curl -X PATCH "$TASKTROVE_HOST/api/v1/tasks" \
  -H "Content-Type: application/json" \
  -d '{"id": "<task-id>", "completed": true}'

Delete Task

curl -X DELETE "$TASKTROVE_HOST/api/v1/tasks/<task-id>"

Task Schema

FieldTypeNotes
idstringUUID (required on create)
titlestringRequired
descriptionstringOptional
completedbooleanDefault false
prioritynumber1 (highest) to 4 (lowest)
dueDatestringYYYY-MM-DD format
projectIdstringUUID of project
labelsstring[]Array of label UUIDs
subtasksobject[]Nested subtasks
recurringstringRRULE format

Priority Levels

  • P1: Urgent/critical
  • P2: High priority
  • P3: Medium priority
  • P4: Low priority (default)

Notes

  • The Tasktrove UI supports natural language input, but the API expects structured JSON
  • PATCH operations use the collection endpoint with ID in the request body
  • POST requires all schema fields to be present

如何使用「Tasktrove」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Tasktrove技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能