recipe-share-folder-with-team — Claude Code skill: setup & usage
A step-by-step recipe to share a Google Drive folder and its contents with teammates using gws. Useful for granting reader or writer access directly from the CLI.
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a claude-codeWhat recipe-share-folder-with-team does
This skill provides instructions for managing Google Drive folder permissions with the gws command-line tool. It searches for a directory by name and MIME type, then sets user permissions using collaborator email addresses.
The workflow uses gws drive permissions create to assign writer or reader roles, followed by gws drive permissions list to output the results as a table. To execute the steps, you must have the gws binary installed and load the gws-drive skill beforehand.
Install this recipe if you manage workspace permissions via coding agents. If your workflow does not rely on the gws CLI tool, skip it.
What it helps with
- find a Google Drive folder by name and folder MIME type
- assign writer permissions on a folder to a collaborator email
- grant reader access to stakeholders
- list and verify folder permissions in table format
Example prompts for the agent
- Find the Google Drive folder named Project X and share it with [email protected] as an editor
- Grant viewer permissions for FOLDER_ID to [email protected]
- Check existing permissions for FOLDER_ID in table format
How to install recipe-share-folder-with-team
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a claude-code2Manually: put the files in place
~/.claude/skills/recipe-share-folder-with-team/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recipe-share-folder-with-team/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a codex2Manually: put the files in place
.agents/skills/recipe-share-folder-with-team/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a cursor2Manually: put the files in place
.cursor/skills/recipe-share-folder-with-team/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install googleworkspace/cli recipe-share-folder-with-team2Manually: put the files in place
.github/skills/recipe-share-folder-with-team/SKILL.md1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a gemini-cli2Platform CLI
gemini skills install https://github.com/googleworkspace/cli --path skills/recipe-share-folder-with-teamManually: put the files in place
.devin/skills/recipe-share-folder-with-team/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set95
The whole set →Similar
Questions about recipe-share-folder-with-team
How to install recipe-share-folder-with-team in Claude Code?
Run npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -a claude-code or save it to ~/.claude/skills/recipe-share-folder-with-team/SKILL.md.
What does recipe-share-folder-with-team do?
It provides a routine to find a Google Drive folder, grant writer or reader roles to users, and verify permissions.
What are the prerequisites for this recipe?
You need the gws binary installed and the gws-drive skill loaded.
Source text
SKILL.md · Apache-2.0
---
name: recipe-share-folder-with-team
description: "Share a Google Drive folder and all its contents with a list of collaborators."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-drive
---
# Share a Google Drive Folder with a Team
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`
Share a Google Drive folder and all its contents with a list of collaborators.
## Steps
1. Find the folder: `gws drive files list --params '{"q": "name = '\''Project X'\'' and mimeType = '\''application/vnd.google-apps.folder'\''"}'`
2. Share as editor: `gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'`
3. Share as viewer: `gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'`
4. Verify permissions: `gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table`
© googleworkspace · Apache-2.0 · googleworkspace/cli