
Share a Google Drive Folder
Share a Google Drive folder with teammates as editors or viewers via the gws CLI
- Repository
- googleworkspace/cli
- Stars
- 32,059
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill gives an AI agent a step-by-step recipe for sharing a Google Drive folder with a team. Once installed, when you ask the agent to share a folder, it searches Drive for the folder by name, grants edit access to one collaborator and view access to another, then lists the folder's permissions so you can confirm the result. It works by issuing commands through the gws command-line tool and depends on the gws-drive skill for the underlying Drive operations.
Great for
- Team leads or project managers who regularly share Drive folders with colleagues
- Operations staff who want an agent to handle routine folder sharing
- Developers already using the gws CLI who want a repeatable sharing workflow
Skip it if
- People who do not use Google Drive or the gws tool, since the skill cannot run without them
- Sharing with many people or public links, because the recipe only shows single-user editor and viewer grants and does not cover link sharing or bulk changes
- Sensitive folders where a name search could match the wrong folder; the recipe does not ask you to confirm the folder ID before sharing
Try asking
- “Share the 'Project X' Drive folder with alex@company.com as an editor”
- “Give stakeholder@company.com view access to my Q3 planning folder and then check who has access”
- “List the current permissions on the Marketing Assets folder”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
recipe-share-folder-with-team.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip recipe-share-folder-with-team.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip recipe-share-folder-with-team.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Check that the folder search returns exactly one folder before running the share commands, since names are not unique
- Replace the placeholder email addresses and FOLDER_ID with real values, and confirm them before the agent executes the grants
- Run the verify step afterwards to confirm the collaborators and roles are correct
What's inside
- SKILL.md
Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.