# 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 ```yaml --- 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:** ```json "gtasks": { "description": "Google Tasks read access - list pending tasks", "triggers": ["tasks", "todo", "to do", "to-do", "pending"] } ``` **commands:** ```json "/tasks": { "description": "List Google Tasks", "aliases": ["/todo", "/todos"], "invokes": "skill:gtasks" } ``` ## Future Expansion - Complete task by ID - Filter by task list - Show due dates