googleworkspace avatar

Gws Drive

A command-line wrapper around Google Drive's v3 API that maps every resource and method to simple bash commands. You get direct access to files, folders, shared drives, comments, and access proposals without wrestling with REST endpoints or authentication flows. The `gws drive files list` and `gws drive files get` commands handle most daily tasks, while specialized resources like `accessproposals` and `drives` cover team management scenarios. It includes a helper upload command for common file operations. Best for automating Drive workflows or building scripts that need programmatic access to your organization's shared drives and file permissions.

skills.sh installs
76.5K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-drive --agent claude-code

Installs into .claude/skills of the current project.

Files

drive (v3)

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

gws drive <resource> <method> [flags]

Helper Commands

CommandDescription
+uploadUpload 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. Required: The fields parameter must be set. To return the exact fields you need, see Return specific fields.

accessproposals

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1googleworkspace avatargws-sharedgoogleworkspace/cligws CLI: Shared patterns for authentication, global flags, and output formatting.68Kskills.sh installs
2googleworkspace avatargws-keepgoogleworkspace/cliManage Google Keep notes.39.9Kskills.sh installs
3rudrankriyam avatarasc-workflowrudrankriyam/app-store-connect-cli-skillsasc workflow2Kskills.sh installs
4xixu-me avatarxdropxixu-me/skillsUse this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, prov516.8Kskills.sh installs
5larksuite avatarlark-baselarksuite/cli飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、workflow、角色权限;遇到 Base/多维表格/bitable 或 /base/ 链接时使用。文件导入/导出转 lark-drive,认证/授权转 lark-shared。488Kskills.sh installs
6larksuite avatarlark-vc-agentlarksuite/cli飞书视频会议会中能力:用于让应用机器人真实加入或离开正在进行的会议,并读取当前身份可见的会中事件、发送会中文本消息或会中表情。适用于用户询问正在开的会议发生了什么、谁在发言、是否共享内容,或需要发现当前可读的进行中会议 ID。不负责已结束会议搜索、参会人快照、纪要、逐字稿或录制查询,这些使用 lark-vc 技能。366.6Kskills.sh installs