跳到正文
Skillpedia
自动化32k · #9221

recipe-create-shared-drive

它能做什么

这个工具可以在 Google Drive 中为你和同事创建一个共享空间,也就是 Shared Drive(共享云端硬盘)。你可以邀请成员加入,并设置他们只能查看、编辑还是管理文件。

适用场景

  • ✓组织团队项目时。
  • ✓和一个小组共享重要文档时。
  • ✓为活动相关文件创建一个统一的存放位置时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/recipe-create-shared-drive/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“创建一个名为“月度报告”的 Shared Drive,并把 maria@company.com 添加为编辑者。”

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

工作原理

这个工具会使用特定的命令,让 Google Drive 创建这个共享空间,然后添加你指定的成员,并为每个人设置对应的访问权限。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Create and Configure a Shared Drive

PREREQUISITE: Load the following skills to execute this recipe: gws-drive

Create a Google Shared Drive and add members with appropriate roles.

Steps

  1. Create shared drive: gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}'
  2. Add a member: gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "member@company.com"}'
  3. List members: gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'
常见问题

什么是 Shared Drive?

它是 Google Drive 中的一种特殊文件夹,所有成员都可以访问其中的同一批文件,并一起协作。文件归整个小组所有,而不是某一个人。

我可以给别人设置哪些访问权限?

你可以把成员设为“查看者”(viewer,只能查看)、“内容管理者”(content manager,可以添加、编辑和移动文件)、“参与者”(contributor,可以添加、编辑和移动文件,但不能删除或移动其他成员的文件),或“管理者”(manager,拥有完全控制权限)。

使用这个工具需要安装什么吗?

不需要,你只需要一个 Google 账号并使用这个工具即可。它会直接连接到你的 Google Drive。

详情

作者的原始描述

Create a Google Shared Drive and add members with appropriate roles.

repo: googleworkspace/cli

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能