Skip to content
Skillpedia
Writing32k · #6330

recipe-organize-drive-folder

Lets your agent organize folders in Google Drive. It creates a folder structure and moves files to the right places.

What it does

This tool organizes your files in Google Drive. It creates folders and automatically moves your documents into them, following a structure you define.

When to use it

  • ✓When you receive many files and need to organize them.
  • ✓When starting a new project and wanting an organized place for everything.
  • ✓To tidy up your downloads or documents folder.

Example of what to ask your AI

“Organize my recipe files into 'Appetizers', 'Main Courses', and 'Desserts' folders in my Google Drive.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/recipe-organize-drive-folder/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-organize-drive-folder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first creates a main folder for your project. Then, it creates subfolders within it and moves the files you specify into these new folders.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add googleworkspace/cli --skill recipe-organize-drive-folder

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-organize-drive-folder/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

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

Do I need Google Drive installed?

No, you just need a Google account and to grant the tool permission to access your Drive.

How does the tool know which files to move?

You need to specify which files you want to move and to which folder they should go. The tool uses the names and IDs of the files and folders.

Can I create any type of folder?

Yes, you can create folders with any names you like and organize your files however you prefer.

Details

Original description by the author

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

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6330
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills