PlugWiki

recipe-share-folder-with-team: a Google Workspace CLI skill for Claude

Makes Claude share a Google Drive folder with named people as editors or viewers.

Installs
30.3K
on skills.sh
Stars
32K
on GitHub
Updated
Oct 2026
last repo commit

recipe-share-folder-with-team is a 4-step recipe for Claude. It finds a folder by name, gives one person editor access and another viewer access, and then lists the folder's permissions to check. The example looks for a folder called "Project X" and uses placeholder email addresses, so give Claude your folder and people.

It needs the gws command-line tool installed and signed in to your Google account, plus these skills, which the install box adds: gws-shared, gws-drive. Claude runs the gws commands in your terminal, so it works in an agent that can run shell commands. Ask for the job in plain words and give your own names, dates and addresses.

Good for

  • People who hand out access to project folders one by one
  • Team leads onboarding a new group to shared files
  • Claude Code or Codex users who already run the gws command-line tool

Install recipe-share-folder-with-team

Claude Code

  1. 1

    Copy this prompt.

    Install the recipe-share-folder-with-team skill in Claude Code. Run this command:
    
    npm install -g @googleworkspace/cli
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js 18 or newer.

Read-only mode: Add --dry-run to a gws command to check the request without calling the API.

Run all three steps in order. The skills only drive the gws program, so it must be installed and signed in first. The skills CLI adds 3 skills: gws-shared, gws-drive, recipe-share-folder-with-team. At sign-in, choose only the Google services this skill needs, for example gws auth login -s drive,gmail,sheets. The README warns that the full recommended scope list fails for unverified apps, and gives a manual OAuth route if gcloud is not available. The Claude app is not covered: the README does not document it, and gws has to run on your own computer.

From the project README. Source.

What's in the skill

When it loads

Share a Google Drive folder and all its contents with a list of collaborators.

Sections in SKILL.md

  1. Steps

Key facts

License
Apache-2.0
Skill version
0.22.5
Installs on skills.sh
30,330 as of 2026-11-02
Last repo commit
2026-10-30

What it includes

  • Claude loads the listed skills before it starts

    SKILL.md opens with a note to load gws-drive to run this recipe.

    Prerequisite: load gws-drive

  • Looks up the folder by name

    Searches Drive for a folder whose name matches the one you give.

    Runs code · Step 1: Find the folder

  • Gives a person editor access

    The example sets the role to writer for one email address.

    Runs code · Step 2: Share as editor

  • Gives a person viewer access

    The example sets the role to reader for one email address.

    Runs code · Step 3: Share as viewer

  • Lists who now has access

    Shows the folder's permissions as a table.

    Runs code · Step 4: Verify permissions

From the official docs

Permissions

Medium risk

It gives other people access to your files. Sign in with only the Google service this skill needs, and ask Claude to confirm each change before it runs.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It gives other people access to your files

    Each share call adds a named person to the folder. Check the folder match and the email addresses before Claude runs it, and review the permissions list in step 4. github.com

  • Sign in with only the Google service you need

    gws signs in with OAuth through a Google Cloud project, and your choice at gws auth login decides what it can reach. The README says the full recommended preset has 85+ scopes and fails for unverified apps. github.com

  • gws is not an official Google product

    The README says so, and warns to expect breaking changes before v1.0. Its npm route downloads the gws binary from GitHub Releases. github.com

Technical details
Turning on read-onlygws has a --dry-run flag that validates a request locally without calling the API.
Talks toGoogle Workspace APIs, called by the gws program. Google Discovery Service, which gws reads at runtime
Sign-in and keysgws signs in with Google OAuth. The README says credentials are encrypted at rest (AES-256-GCM), with the key in your OS keyring, or in ~/.config/gws/.encryption_key when the file backend is chosen.
Scopes
  • Google services you choose at gws auth login: drive

Questions

What do I get from recipe-share-folder-with-team?

The people you name get editor or viewer access to the folder, and you get a list of the folder's permissions. The folder name and the two addresses in SKILL.md are examples.

How do I install recipe-share-folder-with-team?

Use the install box at the top of this page. It adds recipe-share-folder-with-team, gws-shared and gws-drive with the skills CLI. You also need the gws program installed and signed in to Google, which the first two steps in the box cover. The README lists Node.js 18+ for the npm install and a Google Cloud project for sign-in.

Do I need a Google Cloud project or an API key?

You need a Google Cloud project for sign-in. The README describes OAuth sign-in with a Google account, and it also supports a service account file or a pre-obtained access token. gws auth setup creates the project for you but needs the gcloud CLI. Without gcloud, the README has a manual OAuth route. In testing mode Google limits an unverified app to about 25 scopes, so pick individual services at sign-in.

Is recipe-share-folder-with-team safe to run?

Use it with care. It gives other people access to your files. The gws-shared skill tells the agent to confirm write and delete commands with you and to prefer --dry-run for destructive operations. The README says gws is not an officially supported Google product and that breaking changes are expected before v1.0. Watch the first run yourself.

Does recipe-share-folder-with-team work in the Claude app or Codex?

The install box has Claude Code and Codex tabs that use the skills CLI. The README does not document the Claude app, and the skill only drives a gws program installed on your own computer. The README also documents OpenClaw and a Gemini CLI extension for the repo's skills.

Can I preview it before it shares anything?

The gws-shared skill says to confirm write commands with you first. It also lists a --dry-run flag that checks a request locally without calling the API. Ask Claude to use it first.

Information

updated Nov 2, 2026

Folder
skills/recipe-share-folder-with-team

googleworkspace/cliskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 4
  1. googleworkspace/cli README · github.com
  2. gws-shared SKILL.md · github.com
  3. recipe-share-folder-with-team SKILL.md · github.com
  4. gws-drive SKILL.md · github.com

Updated Nov 2, 2026.