
This recipe automates the tedious process of setting up Google Shared Drives with proper member permissions. Instead of clicking through the web interface to create a drive, manually add each team member, and assign roles one by one, you get three clean commands that handle drive creation, member addition with specific roles like writer or editor, and permission listing for verification. It's especially handy when onboarding new project teams or setting up departmental drives where you need consistent permission structures. The workflow saves time on bulk operations, though you'll still need the actual drive IDs and email addresses of members you want to add.
$ npx -y skills add googleworkspace/cli --skill recipe-create-shared-drive --agent claude-codeInstalls into .claude/skills of the current project.
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Create a Google Shared Drive and add members with appropriate roles.
gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}'gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "member@company.com"}'gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'Sponsors