mcpbeat

Recipe Organize Drive Folder

googleworkspace/recipe-organize-drive-folder

Create a Google Drive folder structure and move files into the right locations.

268 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
30175
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/googleworkspace/cli --skill recipe-organize-drive-folder

The instruction itself

2 sections, as written by the author

Organize Files into Google Drive Folders

> PREREQUISITE: Load the following skills to execute this recipe: gws-drive

Create a Google Drive folder structure and move files into the right locations.

Steps

  • Create a project folder: gws drive files create --json '{"name": "Q2 Project", "mimeType": "application/vnd.google-apps.folder"}'
  • Create sub-folders: gws drive files create --json '{"name": "Documents", "mimeType": "application/vnd.google-apps.folder", "parents": ["PARENT_FOLDER_ID"]}'
  • Move existing files into folder: gws drive files update --params '{"fileId": "FILE_ID", "addParents": "FOLDER_ID", "removeParents": "OLD_PARENT_ID"}'
  • Verify structure: gws drive files list --params '{"q": "FOLDER_ID in parents"}' --format table

How to use it

Copy the folder

Take googleworkspace/recipe-organize-drive-folder from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.