gws-drive

gws-drive is a skill for Claude Code, Codex from CHENyiru3/AI-Skills-Collections. It costs 50 tokens per session (518 once invoked), scanned A, original, MIT.

A guide for managing Google Drive files, folders, and shared-drive resources through the gws command-line tool. It covers listing, downloading, exporting, creating, and updating items.

In plain words
What is it for?
Use it to search Drive, inspect metadata, retrieve files, export Docs/Sheets/Slides, create folders or files, and update an existing item by its ID.
Why use it?
It helps choose the correct Drive operation and avoid duplicate files, ambiguous destinations, incomplete listings, or incorrect handling of Google-native documents.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the platforms plugin — 10 skills shipped together

Good fit Use it to search Drive, inspect metadata, retrieve files, export Docs/Sheets/Slides, create folders or files, and update an existing item by its ID.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/gws-drive
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CHENyiru3/AI-Skills-Collections --skill gws-drive
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Claude Code, Codex.

Or install platforms, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gws-drive

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/gws-drive/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/gws-drive)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/gws-drive"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/gws-drive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gws-drive

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/gws-drive"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/gws-drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00518
Opus 5.5 $0.00020 $0.00207
Sonnet 5.5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured yesterday against content hash f13ac17d6e5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gws-drive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-market/platforms/google-workspace/gws-drive/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Drive with gws

Read gws-shared when authentication, CLI syntax, pagination, or output handling needs attention. Reuse existing access and the user's authorized operation; do not regenerate or install skills automatically.

Select the operation

Use Drive IDs from supplied URLs or resolved listings. Preserve resource keys when required; resolve ambiguous names or destinations before dependent writes. Inspect the relevant method rather than relying on a copied API catalog:

gws drive --help
gws schema drive.files.list
gws drive files list --params '{"q":"trashed = false","fields":"nextPageToken,files(id,name,mimeType)"}'
  • List/search with files list; follow every nextPageToken needed for the requested scope. Include explicit fields and trashed = false when appropriate.
  • Inspect metadata or retrieve binary content with files get; alt=media applies to binary files. Export native Docs/Sheets/Slides to a supported format.
  • Create folders/files with files create; upload a new binary file with gws-drive-upload.
  • Update an existing item by its ID with files update; a repeated create call can produce duplicates. Inspect the destination after an uncertain write before retrying.
  • Change permissions or remove content only within that explicitly authorized scope. A transfer request does not imply either operation.

For shared drives, inspect supportsAllDrives, includeItemsFromAllDrives, corpora, and driveId for the selected method. For complete folder-tree transfers, use the configured transfer workflow.

Check exit status, returned IDs, destination, and listing completeness. Report failures without claiming that dry-run success or a partial page proves the remote operation completed. Consult the Drive API guides for version-sensitive behavior outside these common operations.

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 47 lines · 50 tokens per session scan A f13ac17d6e5b

Subscribe to this mod's changes

gws-drive is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (2 stars, last pushed 3d ago), licensed MIT. It adds 50 tokens to every session and 518 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

gws-drive compared with skills from other repositories

gws-drive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gws-driveCHENyiru3/AI-Skills-CollectionsSkill23d agoMITA50Claude Code, Codex
orbit-notionnexu-io/open-designSkill108ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill36kyesterdayApache-2.0A123Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill50ktodayMITA48Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10ktodayApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A54Claude Code, Codex