Skip to content

Organize Google Drive Folders

Create Google Drive folder structures and move files into them using the gws CLI

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

This skill gives an AI agent a step-by-step recipe for tidying up Google Drive. The agent can create a project folder, add sub-folders inside it, move existing files into the right place, and then list the folder contents to check the result. It works by issuing commands with the gws command-line tool and depends on the gws-drive skill for the underlying Drive operations.

Great for

  • People who want an agent to set up a consistent folder layout in Google Drive for a new project or quarter
  • Teams that regularly file documents into shared Drive folders and want the sorting done by an agent
  • Users already comfortable running the gws command-line tool with a configured Google account

Skip it if

  • Anyone who has not set up gws and Google authentication, since the recipe cannot run without them
  • Bulk reorganisation of large Drive libraries without review, because moving files with wrong IDs can put them in unexpected places and the skill gives no undo or dry-run step

Try asking

  • “Create a folder called Q3 Marketing in my Drive with Documents, Images and Reports sub-folders”
  • “Move the files listed in this spreadsheet into the Client Contracts folder”
  • “Set up a project folder structure in Drive and then show me what is inside it”
Step-by-step guide: how to use Organize Google Drive FoldersInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    recipe-organize-drive-folder.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip recipe-organize-drive-folder.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip recipe-organize-drive-folder.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Give the agent the exact folder and file names, and ask it to confirm the file IDs before moving anything.
  • Review the verification listing at the end to make sure files landed where you expected.
  • Start with a test folder in a non-critical part of Drive before running it on important content.

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.