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>
This commit is contained in:
75
docs/plans/2026-01-05-gtasks-skill-design.md
Normal file
75
docs/plans/2026-01-05-gtasks-skill-design.md
Normal file
@@ -0,0 +1,75 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user