/gws:gws-tasksfrom gws
Manages Google Tasks via the gws CLI: list/create/update/delete task lists and tasks, complete/reopen tasks, move tasks, and clear completed items.
Ships in gws. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
gws tasks provides CLI access to Google Tasks with structured JSON output.
Disclaimer:
gwsis not the official Google CLI. This is an independent, open-source project not endorsed by or affiliated with Google.
Before executing any gws command, verify the CLI is installed:
gws version
If not found, install: go install github.com/omriariav/workspace-cli/cmd/gws@latest
Requires OAuth2 credentials. Run gws auth status to check.
If not authenticated: gws auth login (opens browser for OAuth consent).
For initial setup, see the gws-auth skill.
| Task | Command |
|---|---|
| List task lists | gws tasks lists |
| Get task list details | gws tasks list-info <tasklist-id> |
| Create a task list | gws tasks create-list --title "My List" |
| Update a task list | gws tasks update-list <tasklist-id> --title "New Name" |
| Delete a task list | gws tasks delete-list <tasklist-id> |
| List tasks | gws tasks list <tasklist-id> |
| List with completed | gws tasks list <tasklist-id> --show-completed |
| Get a task | gws tasks get <tasklist-id> <task-id> |
| Create a task | gws tasks create --title "Buy groceries" |
| Create with due date | gws tasks create --title "Report" --due "2024-02-01" |
| Update a task | gws tasks update <tasklist-id> <task-id> --title "New title" |
| Delete a task | gws tasks delete <tasklist-id> <task-id> |
| Complete a task | gws tasks complete <tasklist-id> <task-id> |
| Reopen a task | gws tasks reopen <tasklist-id> <task-id> |
| Move a task | gws tasks move <tasklist-id> <task-id> --previous <sibling-id> |
| Clear completed | gws tasks clear <tasklist-id> |
gws tasks lists
Lists all your task lists. The default list is @default.
gws tasks list-info <tasklist-id>
Gets details for a specific task list including id, title, updated time, and self link.
Examples:
gws tasks list-info @default
gws tasks list-info MTIzNDU2
gws tasks create-list --title <title>
Flags:
--title string — Task list title (required)Examples:
gws tasks create-list --title "Work Tasks"
gws tasks create-list --title "Shopping"
gws tasks update-list <tasklist-id> --title <title>
Flags:
--title string — New task list title (required)Examples:
gws tasks update-list MTIzNDU2 --title "Renamed List"
gws tasks delete-list <tasklist-id>
Deletes a task list and all its tasks.
Examples:
gws tasks delete-list MTIzNDU2
gws tasks list <tasklist-id> [flags]
Flags:
--max int — Maximum number of tasks (default 100)--show-completed — Include completed tasksExamples:
gws tasks list @default
gws tasks list @default --show-completed
gws tasks list @default --max 10
gws tasks create --title <title> [flags]
Flags:
--title string — Task title (required)--tasklist string — Task list ID (default: "@default")--notes string — Task notes/description--due string — Due date in RFC3339 or YYYY-MM-DD formatExamples:
gws tasks create --title "Buy groceries"
gws tasks create --title "Finish report" --due "2024-02-01" --notes "Include Q4 data"
gws tasks create --title "Team task" --tasklist MTIzNDU2
gws tasks update <tasklist-id> <task-id> [flags]
Updates an existing task's title, notes, or due date while preserving its current completion status. At least one of --title, --notes, or --due is required.
Flags:
--title string — New task title--notes string — New task notes/description--due string — New due date in RFC3339 or YYYY-MM-DD formatExamples:
gws tasks update @default dGFzay0x --title "Updated title"
gws tasks update @default dGFzay0x --notes "Added notes" --due "2024-03-01"
gws tasks get <tasklist-id> <task-id>
Gets full details for a specific task including title, notes, status, due date, parent, and completion time.
Examples:
gws tasks get @default dGFzay0xMjM0
gws tasks delete <tasklist-id> <task-id>
Deletes a specific task.
Examples:
gws tasks delete @default dGFzay0xMjM0
gws tasks complete <tasklist-id> <task-id>
Marks a specific task as completed.
Examples:
gws tasks complete @default dGFzay0xMjM0
gws tasks reopen <tasklist-id> <task-id>
Sets a task's status to needsAction while preserving its other fields.
Examples:
gws tasks reopen @default dGFzay0xMjM0
gws tasks move <tasklist-id> <task-id> [flags]
Moves a task to a different position, parent, or task list.
Flags:
--parent string — Parent task ID (makes this a subtask)--previous string — Previous sibling task ID (positions after this task)--destination-list string — Destination task list ID (moves to another list)Examples:
gws tasks move @default task-1 --previous task-2
gws tasks move @default task-1 --parent parent-task
gws tasks move @default task-1 --destination-list other-list-id
gws tasks clear <tasklist-id>
Clears all completed tasks from a task list. Completed tasks are marked as hidden and no longer returned by default.
Examples:
gws tasks clear @default
gws tasks list @default --format json # Structured JSON (default)
gws tasks list @default --format yaml # YAML format
gws tasks list @default --format text # Human-readable text
--format json (the default) for programmatic parsinggws tasks lists first to get task list IDsgws tasks list <tasklist-id> to get individual task IDs for get, update, delete, complete, and move commandsgws tasks get to fetch full task details (notes, due date, parent, completion time)@default — use this when users don't specify a list2024-02-01T00:00:00Z) and simple date (2024-02-01) formats--show-completed to include them, or clear to permanently hide themmove --destination-list to transfer tasks between lists, --parent to make subtasks, --previous to reorder--quiet on create/update/delete/complete operations to suppress JSON output in scriptsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
16 skills in this plugin
/gws-authGoogle Workspace CLI authentication setup and management. Use when users need to set up OAuth credentials, authenticate with Google APIs, or troubleshoot authentication issues. Triggers: gws auth, google workspace setup, oauth, credentials, client id, api setup./gws-calendarGoogle Calendar CLI operations via gws. Use when users need to list calendars, view events, create/update/delete events, RSVP to invitations, manage calendar CRUD, subscriptions, ACL, free/busy queries, colors, and settings. Triggers: calendar, events, meetings, schedule, rsvp, invite, share, freebusy./gws-chatGoogle Chat CLI operations via gws. Use when users need to list/create/manage chat spaces, read/send messages, manage members, track read state, handle attachments, or monitor space events. Triggers: google chat, gchat, chat spaces, chat messages.Other plugins' skills for the same job
npx claudepluginhub omriariav/workspace-cli --plugin gws