Methodologygeneric
recipe-create-shared-drive
Create a Google Shared Drive and add members with appropriate roles.
googleworkspace/cli
Install
Use with your agent
Install the recipe-create-shared-drive skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-create-shared-drive. Then read the installed skill.md and follow its guidance to build or refactor my project.
Create and Configure a Shared Drive
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Create a Google Shared Drive and add members with appropriate roles.
Steps
- Create shared drive:
gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}' - Add a member:
gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - List members:
gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'