Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

recipe-organize-drive-folder — Claude Code skill: folders, install

Creates a Google Drive folder structure and moves existing files into the right locations. Useful for organizing project files.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-organize-drive-folder -a claude-code
Open on GitHub

What recipe-organize-drive-folder does

This skill creates a project folder in Google Drive, adds subfolders, and moves existing files into the selected locations. It then checks the contents of a folder and displays the structure in table format.

The recipe uses gws drive files create, gws drive files update, and gws drive files list. It requires the gws binary and the gws-drive skill loaded beforehand. Folder and file IDs are passed through command parameters.

Install it when an agent needs to sort project files into a defined Google Drive structure. It is a poor fit for manual sorting without gws-drive.

What it helps with

  • create a project folder in Google Drive
  • add subfolders for project documents
  • move files out of an old parent folder
  • verify the contents of a project folder

Example prompts for the agent

  • Create a Google Drive project folder named Q2 Project with a Documents subfolder.
  • Move the selected files into the right folders and verify the result with `gws drive files list`.
  • Organize the project files in Google Drive using `gws`.

How to install recipe-organize-drive-folder

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/recipe-organize-drive-folder/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-organize-drive-folder/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about recipe-organize-drive-folder

How do I install recipe-organize-drive-folder in Claude Code?

Run npx skills add googleworkspace/cli --skill recipe-organize-drive-folder -a claude-code. The skill file will be placed at ~/.claude/skills/recipe-organize-drive-folder/SKILL.md.

What does recipe-organize-drive-folder do?

It creates a project folder and subfolders in Google Drive, moves existing files into them, and verifies the resulting structure.

What does recipe-organize-drive-folder require?

It requires the gws binary and the gws-drive skill loaded in advance. Folder and file IDs are needed for the move and listing commands.

Source text

SKILL.md · Apache-2.0
---
name: recipe-organize-drive-folder
description: "Create a Google Drive folder structure and move files into the right locations."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-drive
---

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

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor