How-to · Productivity · By Google Workspace

How to use Google Drive Manager in your AI agent

Install and use the Google Drive Manager skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill lets you ask your AI assistant to manage your Google Drive — upload files, create folders, share documents, search for content, and organize shared drives. Instead of switching to your browser, just describe what you need in plain English and the assistant handles the Drive operations for you. Perfect for keeping your workspace tidy without manual file shuffling.

Step 1 — Get the skill source URL

The Google Drive Manager skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-drive to my project.

Cursor

Install this agent skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-drive

Codex

Add this skill to .codex/skills/: https://github.com/googleworkspace/cli/tree/main/skills/gws-drive

Gemini CLI

Add the skill at https://github.com/googleworkspace/cli/tree/main/skills/gws-drive to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://github.com/googleworkspace/cli/tree/main/skills/gws-drive

Windsurf

Add this skill: https://github.com/googleworkspace/cli/tree/main/skills/gws-drive

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Bulk-organize files or folders without clicking through the Drive interface
  • Searching for a document and want the AI to find it based on your description
  • Share a file with specific people or manage who has access
  • Export a Google Doc or Sheet in a different format for a client or partner

What this skill does

  • Upload, copy, move, and organize files across your personal Drive and shared drives
  • Search for documents, presentations, and spreadsheets using natural language
  • Create and manage folders, set sharing permissions, and handle access requests
  • Export Google Docs, Sheets, and Slides to formats like PDF, Word, or Excel
  • Track changes to files and folders, and manage comments on documents
Made byGoogle Workspace
CategoryProductivity