Files
claude-code/docs/plans/2026-01-05-gtasks-skill-design.md
OpenCode Test 7e563bd334 Add /tasks skill for Google Tasks
- New gtasks skill with thin wrapper around morning-report collector
- Register /tasks command with /todo, /todos aliases
- Design doc at docs/plans/2026-01-05-gtasks-skill-design.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:15:15 -08:00

1.4 KiB

Design: Google Tasks Skill

Summary

Minimal /tasks skill to list Google Tasks. Thin wrapper around existing morning-report collector.

Scope

  • In scope: List pending tasks
  • Out of scope (for now): Complete, add, delete, filter by list

Structure

skills/gtasks/
├── SKILL.md
└── scripts/
    └── list.py

SKILL.md

---
name: gtasks
description: Google Tasks read access — list pending tasks. Use when asked about tasks, todos, or what needs to be done.
allowed-tools:
  - Bash
  - Read
---

Quick command: $GMAIL_PY ~/.claude/skills/gtasks/scripts/list.py

Request routing:

User Request Action
"What are my tasks?" list.py
"Show my todos" list.py
"/tasks" list.py

Policy: Read-only, summarize results.

list.py Script

Thin wrapper that imports from morning-report/scripts/collectors/gtasks.py.

  • Default shows up to 10 tasks
  • Optional arg for more: list.py 20
  • Reuses existing auth and fetch logic

Registry Updates

skills:

"gtasks": {
  "description": "Google Tasks read access - list pending tasks",
  "triggers": ["tasks", "todo", "to do", "to-do", "pending"]
}

commands:

"/tasks": {
  "description": "List Google Tasks",
  "aliases": ["/todo", "/todos"],
  "invokes": "skill:gtasks"
}

Future Expansion

  • Complete task by ID
  • Filter by task list
  • Show due dates