googleworkspace/cli✦ 精选0°

gws-drive

仓库创建 2026年3月3日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

集中化 Drive 操作,适合文件自动化与运维脚本。

▸ 风险提示

需要 Google OAuth 授权,脚本可读写用户 Drive 数据。

这个 Skill 做什么

管理 Google Drive 上的文件、文件夹和共享驱动。

通过 gws 的 drive 命令管理 Google Drive 上的文件、文件夹和 Shared Drive,能做上传、下载、列目录和权限管理等操作。适合自动化备份、批量整理或在 CI 流程里操作云盘文件时使用。需要先配置好认证(见 gws-shared/SKILL.md),还有像 +upload 的 helper 命令能帮你自动填元数据。

▸ 展开 SKILL.md 英文原文

Google Drive: Manage files, folders, and shared drives.

办公文档Google Drive文件管理共享驱动通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-drive/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-drive/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# drive (v3)

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

```bash
gws drive <resource> <method> [flags]
```

## Helper Commands

| Command | Description |
|---------|-------------|
| [`+upload`](../gws-drive-upload/SKILL.md) | Upload a file with automatic metadata |

## API Resources

### about

  - `get` — Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return spe
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有