Skip to content
Skillpedia
Writing32k · #9232

recipe-organize-drive-folder

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.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

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

5 new skills a week. 1 minute to read.

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.

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
#9232
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