google-drive
Skill2 starsChanged 5 months agoMITView on GitHub
Google Drive 总入口。查找、整理、分享、导出、删除 Drive 文件,统一调度 Docs/Sheets/Slides 子技能。
We split this skill into the rules it gives an agent
15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this as the top-level router for Google file work inside the unified Google Drive plugin.
- Distinctive: line 10
Start with Google Drive for file discovery and file lifecycle tasks, then route to narrower sibling skills only when the task becomes …
- Distinctive: line 15
If the user did not provide an exact file URL or ID, use Google Drive search, recent files, folder listing, or metadata reads to identify …
- Distinctive: line 16
If the request starts as "find X and then update it," do the Drive discovery step first instead of guessing the target.
- Distinctive: line 19
Use the base workflow for search, fetch, recent files, folders, sharing, copying, deleting, exporting, revision history, file moves, and …
- Distinctive: line 32
If the request is ambiguous between Drive and a file-type surface, use the artifact itself as the tie-breaker:
- Distinctive: line 36
If the user wants to find a file and then edit it, do both in one flow: Drive for discovery, then the file-type skill for the edit.
- Distinctive: line 37
If the user wants a Google Workspace outcome but has not named a file type yet, start with Drive discovery instead of asking them to choose …
- Distinctive: line 38
If the user asks to create a new Google Doc, route to the Docs skill and follow its current native-template, basic-native, or polished …
- Very specific: line 39
If the user asks to import a local .docx into Google Docs, route to the Docs skill and use its native conversion workflow.
- Very specific: line 40
If the user asks to create a new Google Sheet, route to the Sheets skill.
- Very specific: line 41
If the user asks to import a local .xlsx, .xls, .ods, .csv, or .tsv into Google Sheets, route to the Sheets skill and use native Google …
- Distinctive: line 42
If the user asks to create a new Google Slides deck, route to the Slides skill for native template/reference adaptation.
- Very specific: line 43
If the user asks to import a local .ppt, .pptx, or .odp into Google Slides, route to the Slides skill and use its native conversion …
- Distinctive: line 49
When a task can be satisfied by a file-level Drive operation alone, do not load heavier Docs, Sheets, or Slides skills.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Drive
Use this as the top-level router for Google file work inside the unified Google Drive plugin. Do not route the user toward separate Google Docs, Google Sheets, or Google Slides plugins.
Start with Google Drive for file discovery and file lifecycle tasks, then route to narrower sibling skills only when the task becomes specific to Docs, Sheets, or Slides.
Workflow
- Ground the target file first.
- If the user did not provide an exact file URL or ID, use Google Drive search, recent files, folder listing, or metadata reads to identify the right file.
- If the request starts as "find X and then update it," do the Drive discovery step first instead of guessing the target.
- Stay in the base Google Drive workflow for Drive-native tasks.
- Use the base workflow for search, fetch, recent files, folders, sharing, copying, deleting, exporting, revision history, file moves, and other file-lifecycle work that is not primarily about editing Docs, Sheets, or Slides content.
- For version-history requests, including "previous version," "revision history," "what changed since the last version," or "compare to the prior revision," ground the file, fetch the current content, use
list_file_revisions, fetch the immediately previous revision or the user-named revision withfetch_file_revision, then compare the fetched revision against the current content. Do not say previous versions are unsupported until you have checked whether revision tools are available for the target file. - For file move requests, ground the source file and target folder, read the file metadata including its current parents, then use
update_filewithaddParentsfor the target folder andremoveParentsfor only the verified source parent or parents that should no longer contain it. Preserve unrelated parents, and verify the move by reading metadata or listing the target folder before the final response. - Before any export or raw-file fetch, read or reuse Drive metadata so the MIME type and Google Drive URL are known. Use
export_fileonly to convert a native Google Doc, Sheet, or Slide into an explicitly requested format; it returns an authenticated file reference, not inline bytes or base64. Google limitsfiles.exportresponses to 10 MB; oversized exports fail rather than returning truncated content. For a larger native PDF, usedownload_file(id=file_id, mime_type="application/pdf")when the streaming action is available. It calls Google'sfiles.downloadAPI and returns a top-level materializablefile_uri. Oncedownload_fileis unavailable and canonicalfetchuses that streamed download path, usefetch(url=google_drive_url, download_raw_file=True, raw_export_mime_type="application/pdf")instead. A native-filefetchthat still usesfiles.exportcannot bypass the 10 MB limit. For PDFs, images, ZIPs, Office files, recordings, and other stored, non-native files, usefetch(url=google_drive_url, download_raw_file=True). Use only the authenticated top-levelfile_urior materializedworkspace_path; never request inline base64 unless an existing caller explicitly opts into bounded legacy compatibility. Usefetchwithoutdownload_raw_filefor bounded, best-effort readable text. Do not retryexport_fileafter metadata shows a non-native MIME type.
- Route to the narrowest sibling skill that matches the file type and job.
- Drive, Docs, Sheets, or Slides comment creation, comment replies, comment resolution, or review-by-comments: use google-drive-comments.
- Google Docs net-new creation, content summary, revision planning, prose rewriting, or section edits: use google-docs.
- Google Sheets creation, local spreadsheet import, range inspection, table cleanup, data restructuring, formula design or repair, chart creation or repair, or batch updates: use google-sheets.
- Google Slides deck summary, content edits, new deck creation, local presentation import, visual cleanup, structural repair, or template migration: use google-slides.
Routing Rules
- If the request is ambiguous between Drive and a file-type surface, use the artifact itself as the tie-breaker:
- Doc -> Docs skill
- Sheet -> Sheets skill
- Deck -> Slides skill
- If the user wants to find a file and then edit it, do both in one flow: Drive for discovery, then the file-type skill for the edit.
- If the user wants a Google Workspace outcome but has not named a file type yet, start with Drive discovery instead of asking them to choose among separate Google plugins.
- If the user asks to create a new Google Doc, route to the Docs skill and follow its current native-template, basic-native, or polished DOCX-import decision. Do not impose a construction route from this router.
- If the user asks to import a local
.docxinto Google Docs, route to the Docs skill and use its native conversion workflow. Preserve the source file type only when the user explicitly asks for that. - If the user asks to create a new Google Sheet, route to the Sheets skill. The Sheets skill should prefer the
[@spreadsheets](plugin://spreadsheets@openai-primary-runtime)plugin or$Excelskill to create a local.xlsx, then import it as native Google Sheets. - If the user asks to import a local
.xlsx,.xls,.ods,.csv, or.tsvinto Google Sheets, route to the Sheets skill and use native Google Sheets conversion by default. Preserve the source file type only when the user explicitly asks for that. - If the user asks to create a new Google Slides deck, route to the Slides skill for native template/reference adaptation; use the Presentations skill for net-new authoring without a native reference. Follow the selected skill's current creation and import contract.
- If the user asks to import a local
.ppt,.pptx, or.odpinto Google Slides, route to the Slides skill and use its native conversion workflow. Preserve the source file type only when the user explicitly asks for that. - If the user asks to export or download an existing Drive file, choose the action from metadata: native Google Docs, Sheets, and Slides files use
export_filefor explicit conversions within Google's 10 MB limit. For a larger native PDF, prefer the currently available streamingdownload_file(id=file_id, mime_type="application/pdf"); after canonicalfetchadopts the same streamed download path anddownload_fileis removed, usefetch(url=google_drive_url, download_raw_file=True, raw_export_mime_type="application/pdf"). Stored, non-native PDFs, images, ZIPs, CSVs, Office files, audio, and video usefetch(url=google_drive_url, download_raw_file=True). Use the returned top-levelfile_urior its authenticated, materializedworkspace_path; do not expose inline binary, base64, or a bearer URL. Base64 is available only when an existing compatibility caller explicitly requests the bounded legacy behavior.
Write Safety
- Preserve the user's existing file organization, sharing state, and target artifact unless the request clearly asks to change them.
- When a task can be satisfied by a file-level Drive operation alone, do not load heavier Docs, Sheets, or Slides skills.
- For write-heavy Sheets or Slides work, read the specialized skill before the first large update so request shapes stay grounded.
- For any file import or explicit direct create that returns a user-facing Google Workspace link, wait for the write action to complete and verify the created file with connector readback or Drive metadata readback before returning the URL. Use only a URL or id observed from the completed connector result or readback; never synthesize or predict the URL.
Related Skills
- Comments: google-drive-comments
- Docs: google-docs
- Sheets: google-sheets
- Slides: google-slides
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- openai/plugins★ 7.4k92% same
Wrote their own version · 17
- Lilac-Labs/gini-agent★ 1.9ksame name
- Open-Curiosity/gini-agent★ 1.9ksame name
- sanjay3290/ai-skills★ 424same name
- refly-ai/refly-skills★ 203same name
- AceDataCloud/Skills★ 17same name
- pbc-os/smb-starter-kit★ 10same name
- apideck-libraries/api-skills★ 4same name
- razbakov/skills★ 4same name
- ZoolCoder/scoutjobs★ 4same name
- flopperj/dotfiles-core★ 3same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use google-gmail, google-calendar and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
leolionartSkillgoogle-gmail
Operate Gmail via the Google Workspace CLI (gws) — send emails, reply with threading, triage inbox, and stream new messages as NDJSON. Use when users ask to send/forward/reply emails, check inbox summary, or automate email workflows.
Also in 3 projects that use this
younghaiSkillgoogle-calendar
Google Calendar 일정 조회, 검색, 등록. "일정", "스케줄", "캘린더" 등을 언급하면 자동 실행. Daily Note 작성, Weekly Review에 사용.
Also in 6 projects that use this
refly-aiSkillgmail
Integrate with Gmail for email management and automation. Use when you need to: (1) send and compose emails with attachments, (2) read and search emails by criteria, (3) manage drafts and email labels, or (4) reply to email threads and conversations.
Also in 4 projects that use this
VercelSkillslack
Emulated Slack API for local development and testing. Use when the user needs to interact with Slack API endpoints locally, test Slack integrations, emulate channels/messages/users/views, set up Slack OAuth flows, test incoming webhooks, or work with the Slack Web API without hitting the real Slack API. Triggers include "Slack API", "emulate Slack", "mock Slack", "test Slack OAuth", "Slack bot", "Slack views", "incoming webhook", "local Slack", or any task requiring a local Slack API.
Also in 4 projects that use this
GoogleSkillgoogle-workspace
Read/write Google Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks, Slides via the `gws` CLI. Needs an OAuth client or service account configured first. Use for any Google Workspace task.
Also in 3 projects that use this
OpenAISkilllinear
Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.
Also in 4 projects that use this
In this repository57 other files it gives its agents.
- codex-skills-pack/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- automateSkill
- autopilotSkill
- create-hookSkill
- create-subagentSkill
- goalSkill
- loopSkill
- onboardSkill
- subscribeSkill
- review-agentSkill
- review-bugbotSkill
- review-securitySkill
- reviewSkill
- split-to-prsSkill
- canvasSkill
- migrate-to-buildsSkill
- migrate-to-skillsSkill
- new-repoSkill
- originSkill
- rename-chatSkill
- sdkSkill
- shareSkill
- shellSkill
- statuslineSkill
- update-cli-configSkill
- update-cursor-settingsSkill
- computer-useSkill
- documentsSkill
- excel-live-controlSkill
- google-docsSkill
- google-drive-commentsSkill
- google-sheetsSkill
- google-slidesSkill
- pdfSkill
- PresentationsSkill
- sites-buildingSkill
- sites-hostingSkill
- sites-preview-troubleshootingSkill
- SpreadsheetsSkill
- template-creatorSkill
- create-ruleSkill
- create-skillSkill
- imagegenSkill
- openai-docsSkill
- plugin-creatorSkill
- plugin-managementSkill
- skill-creatorSkill
- skill-installerSkill
- humanizer-zh-academicSkill
- natural-fictionSkill
- natural-writingSkill
- precise-proseSkill
- prose-auditSkill
- qu-ai-weiSkill
- research-paper-writingSkill
- voice-profileSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

