recipe-share-folder-with-team
googleworkspace/cli
Share Google Drive folders with team members as editors or viewers.
What is recipe-share-folder-with-team?
This recipe shares a Google Drive folder and all its contents with multiple collaborators at once. Use it when you need to grant team members access to project folders with specific permission levels (editor or viewer).
- Find folders by name in Google Drive
- Grant editor (writer) permissions to collaborators
- Grant viewer (reader) permissions to stakeholders
- Verify all permissions on a shared folder
- Manage access for multiple users in one workflow
How to install recipe-share-folder-with-team
npx skills add null --skill recipe-share-folder-with-team- Google Workspace CLI (gws) installed
- gws-drive skill loaded and authenticated
How to use recipe-share-folder-with-team
- 1.Find the target folder using gws drive files list with a name filter
- 2.Copy the folder ID from the results
- 3.Create permissions for each collaborator using gws drive permissions create with role 'writer' for editors or 'reader' for viewers
- 4.Repeat for each team member with their email address
- 5.Run gws drive permissions list to verify all permissions are correctly applied
Use cases
- Grant a project team access to a shared folder with editing rights
- Share read-only access to a folder with external stakeholders
- Quickly add multiple collaborators to an existing folder
- Verify who has access to a sensitive project folder
- Bulk-share folder contents without individual file permissions
- Project managers coordinating team access
- Team leads onboarding new members to shared projects
- Administrators managing Google Workspace folder permissions
- Anyone needing to grant multiple users folder access at once
recipe-share-folder-with-team FAQ
This recipe uses individual email addresses. For group sharing, you would need to add each group member separately or use Google Workspace group email addresses if your organization supports them.
'writer' (editor) allows users to modify, delete, and share the folder contents. 'reader' (viewer) allows only viewing and downloading files without making changes.
No. Sharing the folder grants access to all current and future contents within it, depending on the folder's sharing settings.
Use the verify step with gws drive permissions list to see all users with access and their permission levels.
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
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
- Find the folder:
gws drive files list --params '{"q": "name = '\''Project X'\'' and mimeType = '\''application/vnd.google-apps.folder'\''"}' - Share as editor:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "colleague@company.com"}' - Share as viewer:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "stakeholder@company.com"}' - Verify permissions:
gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table
Related skills
More from googleworkspace/cli and the wider catalog.
recipe-sync-contacts-to-sheet
Export Google Contacts directory to a Google Sheets spreadsheet.
recipe-watch-drive-changes
Subscribe to change notifications on Google Drive files and folders via Pub/Sub.
gws-admin
Google Workspace Admin SDK: Manage users, groups, and devices.
gws-admin-reports
Query Google Workspace audit logs and usage reports via Admin SDK.

wechat-miniprogram-skill
Expert guidelines for native WeChat Mini Program development with focus on performance and code size.

backtesting-trading-strategies
Backtest trading strategies against historical data with performance metrics and parameter optimization.