google-drive
Skill by asgeirtj
Google Drive is a router skill for Google file work in one connected plugin. It handles finding, fetching, moving, sharing, exporting and revision history in Drive, and hands off Docs, Sheets and Slides edits to narrower skills.
Install google-drive
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/OpenAI/Codex/plugins/google-drive/skills/google-drive ~/.claude/skills/google-driveRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/OpenAI/Codex/plugins/google-drive/skills/google-drive ~/.gemini/antigravity-cli/skills/google-driveAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Google Drive is a top-level router skill for Google file work inside a unified Google Drive plugin. It covers finding, fetching, organizing, sharing, copying, deleting and exporting Drive files, along with revision history and file moves between folders. Native Google Docs, Sheets and Slides files are exported with export_file within Google's 10 MB limit, while stored files such as PDFs and images are downloaded as raw files.
When a task becomes specific to comments, Docs, Sheets or Slides content, the skill routes to the matching sibling skill: google-drive-comments, google-docs, google-sheets or google-slides. It tells the assistant to identify the target file before changing anything and to verify imports and moves by reading metadata back. It is aimed at users who work with Google Drive, Docs, Sheets and Slides through one assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- list_file_revisionsLists the revisions of a Drive file for revision history requests.
- fetch_file_revisionFetches a specific or immediately previous revision to compare with current content.
- update_fileAdds and removes parent folders when moving a file, preserving unrelated parents.
- export_fileConverts a native Google Doc, Sheet or Slide into an explicitly requested format.
- download_fileStreams a larger native PDF through Google's files.download API when available.
- fetchReturns readable text, or downloads raw non-native files with download_raw_file.
- Drive discoveryFinds the target file through search, recent files, folder listing or metadata reads.
- Sibling routingHands comments, Docs, Sheets and Slides tasks to the narrower related skills.
What you need
- A connected Google Drive plugin
Try asking
- Compare this doc's current version with its previous revision in Drive.
- Move this file into the Archive folder and confirm its new parent.
- Export this native Google Sheet as a CSV file.
Good to know
- export_file responses are limited to 10 MB; larger exports fail rather than truncate.
- Native-file fetch that uses files.export cannot bypass the 10 MB limit.
- Creating new Google Docs or Slides is handled by the sibling skills, not this router.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: OpenAI/Codex/plugins/google-drive/skills/google-drive/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/slides/chart-refresh-workflows.md5 KB -
references/slides/deck-scope-verification.md2 KB -
references/slides/sheets-chart-replacement.md3 KB -
references/slides/visual-change-loop.md6 KB
Alternatives to google-drive
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
google-drive: common questions
Can this skill move files between Google Drive folders?
Yes. The skill uses update_file with addParents for the target folder and removeParents for the verified source parent, then verifies the move by reading metadata or listing the target folder.
How does it handle large Google Drive exports?
Google limits files.export responses to 10 MB, and oversized exports fail. For larger native PDFs the skill prefers download_file, or fetch with download_raw_file when that path is in use.
Does this skill edit Google Docs, Sheets and Slides content?
It routes edits to the narrower google-docs, google-sheets and google-slides skills. It handles file-level Drive tasks itself.
How do I install google-drive?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-drive free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is google-drive safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-drive?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
