PluginBench
Skill
Pass
Audit score 90

recipe-create-shared-drive

googleworkspace/cli

Create a Google Shared Drive and manage member access with specific roles.

What is recipe-create-shared-drive?

This recipe automates the setup of a Google Shared Drive and adds team members with appropriate permissions. Use it when you need to quickly provision a shared workspace for collaborative projects.

  • Create a new Google Shared Drive with a unique identifier
  • Add members to the drive with specified roles (e.g., writer, reader)
  • List all members and their permissions on the drive
  • Support for multiple member types and role assignments

How to install recipe-create-shared-drive

npx skills add null --skill recipe-create-shared-drive
Prerequisites
  • gws-drive skill must be installed
  • gws CLI tool must be available
Claude Code
Cursor
Windsurf
Cline

How to use recipe-create-shared-drive

  1. 1.Create a shared drive using gws drive drives create with a unique requestId and desired drive name
  2. 2.Add members by calling gws drive permissions create with the drive ID, member email, and desired role
  3. 3.Verify members were added by listing permissions with gws drive permissions list

Use cases

Good for
  • Set up a shared drive for a new project and immediately add team members
  • Automate onboarding workflows that require shared drive creation and permission assignment
  • Provision collaborative workspaces for cross-functional teams with predefined access levels
Who it's for
  • Google Workspace administrators
  • Project managers setting up team collaboration spaces
  • DevOps engineers automating workspace provisioning

recipe-create-shared-drive FAQ

What roles can I assign to members?

The recipe supports standard Google Drive roles such as writer and reader. Refer to Google Workspace documentation for the complete list of available roles.

Do I need to generate a unique requestId each time?

Yes, the requestId should be unique for each drive creation request to ensure idempotency.

Can I add multiple members at once?

The recipe shows adding members one at a time. To add multiple members, repeat the permissions create command for each member.

What happens if I try to add a member who is already on the drive?

Google Workspace will handle the request according to its API behavior; check the gws-drive skill documentation for specific error handling.

Full instructions (SKILL.md)

Source of truth, from googleworkspace/cli.


name: recipe-create-shared-drive description: "Create a Google Shared Drive and add members with appropriate roles." metadata: version: 0.22.5 openclaw: category: "recipe" domain: "productivity" requires: bins: - gws skills: - gws-drive

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

  1. Create shared drive: gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}'
  2. Add a member: gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "member@company.com"}'
  3. List members: gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'