跳到正文
Skillpedia
PDF、Word 与幻灯片32k · #9189

gws-tasks

它能做什么

这个工具可以帮你管理任务列表和单个任务。你可以创建、查看、更新和删除列表及任务。

适用场景

  • ✓当你需要整理每天的待办事项时。
  • ✓当你想创建购物清单或项目清单时。
  • ✓当你想记录哪些事项已经完成时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/gws-tasks/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-tasks/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个名为“Home Project”的任务列表,并添加任务“Buy paint”。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会连接 Google Tasks,让你直接控制自己的列表和任务。它通过命令告诉 Google Tasks 该做什么,比如新建列表,或者把任务标记为已完成。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

tasks (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws tasks <resource> <method> [flags]

API Resources

tasklists

  • delete — Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
  • get — Returns the authenticated user's specified task list.
  • insert — Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.
  • list — Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.
  • patch — Updates the authenticated user's specified task list. This method supports patch semantics.
  • update — Updates the authenticated user's specified task list.

tasks

  • clear — Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.
  • delete — Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.
  • get — Returns the specified task.
  • insert — Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
  • list — Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
  • move — Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.
  • patch — Updates the specified task. This method supports patch semantics.
  • update — Updates the specified task.

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws tasks --help

# Inspect a method's required params, types, and defaults
gws schema tasks.<resource>.<method>

Use gws schema output to build your --params and --json flags.

常见问题

我可以创建很多列表和任务吗?

可以。你最多可以拥有 2000 个列表,每个列表最多 20,000 个任务(总计最多 100,000 个)。

如果删除一个包含任务的列表会怎样?

列表中已分配的任务也会一并被删除。

怎么查看我的列表?

你可以使用相应命令列出所有任务列表。

详情

作者的原始描述

Google Tasks: Manage task lists and tasks.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9189
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能