# Recipe Share Folder With Team

Share a Google Drive folder and all its contents with a list of collaborators.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill recipe-share-folder-with-team -g -a gemini-cli -y`

## Description

Share a Google Drive folder and all its contents with a list of collaborators.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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": "colleague@company.com"}'`
3. Share as viewer: `gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "stakeholder@company.com"}'`
4. Verify permissions: `gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table`


