agentleFS
flopperjflopperj/dotfiles-core/.claude/skills/google-drive/SKILL.md

google-drive

Skill3 starsChanged 10 days agoMITView on GitHub

Search, list, download, upload, and copy files from Google Drive. Set sharing permissions. Supports Google Docs, Sheets, Slides, PDFs, images, and folders. Use when the user mentions Google Drive, asks to find a file, needs to download a document for context, wants to upload images, set sharing, list folder contents, asks to create a document from a template, or references a drive.google.com URL.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use google-gmail, google-calendar and 5 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.
  • leolionartSkill

    google-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

  • younghaiSkill

    google-calendar

    Google Calendar 일정 조회, 검색, 등록. "일정", "스케줄", "캘린더" 등을 언급하면 자동 실행. Daily Note 작성, Weekly Review에 사용.

    Also in 6 projects that use this

  • refly-aiSkill

    gmail

    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

  • AnthropicSkill

    slack

    Also in 4 projects that use this

  • GoogleSkill

    google-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

  • OpenAISkill

    linear

    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

The file

Files
SKILL.md

Google Drive

Prerequisites

Quota project: <your-gcp-project> — the Google Cloud project your org enabled the Docs and Drive APIs on (see google-cloud-setup.md).

gcloud auth application-default login \
  --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/documents,https://www.googleapis.com/auth/drive" \
  --client-id-file=/workspace/google-cloud-sdk/<your-org>_client_secrets.json \
  --set-quota-project=<your-gcp-project>

Scripts

Scripts location: scripts/ subdirectory of this skill (resolves via ~/.claude/skills/google-drive/scripts/ or ~/.cursor/skills/google-drive/scripts/)

File IDs are extracted automatically from URLs:

  • Docs: docs.google.com/document/d/FILE_ID/edit
  • Sheets: docs.google.com/spreadsheets/d/FILE_ID/edit
  • Drive: drive.google.com/file/d/FILE_ID/view

Operations

OperationCommand
Searchscripts/search_files.sh --name "report" --type doc
Downloadscripts/download_file.sh FILE_ID [--stdout] [--format md]
Uploadscripts/upload_file.sh image.png [--folder FOLDER_ID]
Sharescripts/share_file.sh FILE_ID --anyone
Copyscripts/copy_file.sh FILE_ID --name "New Name"
Infoscripts/file_info.sh FILE_ID
List folderscripts/list_folder.sh [FOLDER_ID] [--tree]

Search types: doc, sheet, slide, pdf, image, folder, all

Export formats:

  • Docs: text, md, pdf, docx, html
  • Sheets: csv, xlsx, pdf
  • Slides: pdf, pptx

Share Files

scripts/share_file.sh FILE_ID --anyone                    # Anyone with link
scripts/share_file.sh FILE_ID --email user@example.com   # Specific user
scripts/share_file.sh FILE_ID --domain example.com       # Domain-wide

Note: Corporate policies may block --anyone. See workflows.md for workarounds.

Additional Resources

  • Common workflows and examples: workflows.md
  • Advanced query syntax: query-syntax.md
  • API reference: api-reference.md
  • Google Cloud project setup: google-cloud-setup.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.