Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

recipe-create-shared-drive — Claude skill: Google Shared Drive

Creates a Google Shared Drive and assigns member roles through gws commands, no browser needed.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-create-shared-drive -a claude-code
Open on GitHub

What recipe-create-shared-drive does

The skill walks an agent through three steps: create the drive, add a member with a role, list the current members. Everything runs through gws drive, with supportsAllDrives in the params and a JSON body carrying role, type and email address. Name the drive and the people, and the agent fills the rest.

What's inside is the instruction and the command sequence. You need the gws binary on PATH and the gws-drive skill loaded first — the recipe declares it as a prerequisite. Install is one line of npx skills add, landing at ~/.claude/skills/recipe-create-shared-drive/SKILL.md.

Worth installing if you spin up drives for projects and teams often and are tired of clicking through the UI. For a one-off drive, doing it by hand is faster.

What it helps with

  • create a shared drive for a new project
  • grant a member the writer role in one command
  • check who already has access to a drive
  • repeat the same access setup across several drives
  • hand the permissions routine to an agent

Example prompts for the agent

  • create a shared drive called Project X and add [email protected] as writer
  • list the members of drive DRIVE_ID
  • set up a drive for the team and show me each person's role

How to install recipe-create-shared-drive

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill recipe-create-shared-drive -a claude-code

2Manually: put the files in place

~/.claude/skills/recipe-create-shared-drive/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-create-shared-drive/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about recipe-create-shared-drive

How do I install recipe-create-shared-drive in Claude?

Run npx skills add googleworkspace/cli --skill recipe-create-shared-drive -a claude-code. The skill lands in ~/.claude/skills/recipe-create-shared-drive/SKILL.md.

What does recipe-create-shared-drive do?

It guides the agent through creating a Google Shared Drive, adding a member with a role, and listing the members.

What do I need before using it?

The gws binary on PATH and the gws-drive skill loaded — the recipe metadata lists it as a prerequisite.

Source text

SKILL.md · Apache-2.0
---
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": "[email protected]"}'`
3. List members: `gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'`

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor