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
Ready-to-paste message
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-folderOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-organize-drive-folder/SKILL.md -o SKILL.mdTechnical 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
- 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
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
Comments
- …
More skills from this repository
gws-admin-reports
Helps your agent get activity reports from Google Workspace. It collects audit and usage data.
googleworkspace/cli
gws-calendar-agenda
Helps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
googleworkspace/cli
gws-calendar-insert
Lets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
googleworkspace/cli
gws-calendar
Allows your agent to manage calendars and events. It's useful for organizing your life and work.
googleworkspace/cli
Similar skills
intent-driven-development
Helps your agent turn ideas into clear, testable plans. Defines criteria to ensure changes are made correctly and safely.
affaan-m/ECC
product-capability
Guides your agent in turning product ideas into clear plans. It defines what needs to be done, the limits, and decisions before development.
affaan-m/ECC
article-writing
Writes long-form content like articles, guides, and blog posts with a unique style. It's useful when you need well-written texts with a consistent voice and credibility.
affaan-m/ECC