list-google-taskslisted
Install: claude install-skill gitt510/agent-skills
# List Google Tasks
Goal: fetch tasks from the **default account's default task list** via
`gog tasks list`, filter by what the conversation asks for, and present them. The
skill ends at presentation — what happens next (planning a flow, prioritizing,
completing tasks) is ordinary conversation, not this skill.
This skill is **read-only, enforced by mechanism**: every call carries `--readonly`,
which makes gog reject mutating API requests at runtime. Adding is `add-google-task`;
completing, editing, and deleting are out of scope — use `gog tasks` subcommands
directly (with the user's explicit go-ahead) when that need arises.
## Identity stays out of the repo
- The task list argument is always `@default`, and `-a` / `--account` is never passed.
- "Whose tasks" is resolved by the machine-local gog state (Keychain). Never hardcode
an email address, list name, or list ID.
## Workflow
### 0) Preconditions
`command -v gog` and `gog auth status` must both succeed. If gog is missing or
unauthenticated, point the user to the setup path and stop:
```bash
gog auth credentials # one-time client setup
gog auth add # add an account
```
### 1) Derive the filter from context (don't interrogate)
The trigger is typically terse — "今日の task なに?". Map the utterance to flags
instead of asking:
- **Due window** — resolve relative expressions (今日, this week, 明日まで) against
the system clock. Google Tasks stores due dates as **date-only, midnight UTC**
(`YYYY-MM-DDT00:00:00.