google-drive

google-drive is a skill for Codex from fanfan-de/anybox. It costs 66 tokens per session (1,451 once invoked), scanned A, original, MIT.

A guide for using Google Drive as one entry point for Drive files, Google Docs, Sheets, and Slides. It covers finding, reading, organizing, sharing, exporting, and editing files.

In plain words
What is it for?
Use it to search for files, inspect metadata or revisions, move or copy items, manage sharing, export files, and work with Google documents.
Why use it?
It helps the agent identify the correct file before acting and route document-specific work to the appropriate workflow.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to search for files, inspect metadata or revisions, move or copy items, manage sharing, export files, and work with Google documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fanfan-de/anybox/google-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 fanfan-de/anybox --skill google-drive
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

Made for: Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/google-drive/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/google-drive)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/google-drive"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/google-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 google-drive

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanfan-de/anybox/google-drive"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/google-drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00066 $0.01451
Opus 5 $0.00033 $0.00726
Sonnet 5 $0.00013 $0.00290
Haiku 4.5 $0.00007 $0.00145

Measured 9d ago against content hash 4766e7fe25e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

google-drive scanned grade A with 1 finding 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 9d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Before any export or download, read or reuse Drive metadata so the MIME type is known. Use `export_file` only for native Google Docs, Sheets, and Slides files. For PDFs, images, ZIPs, Office files, recordings, and othe
plugins/Anybox-Plugins/google-drive/skills/google-drive/SKILL.md · 59 lines

How it starts

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

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

  1. 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.
  1. 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 with fetch_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_file with addParents for the target folder and removeParents for 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 download, read or reuse Drive metadata so the MIME type is known. Use export_file only for native Google Docs, Sheets, and Slides files. For PDFs, images, ZIPs, Office files, recordings, and other non-native Drive files, use fetch(download_raw_file=True) when raw bytes are needed or normal fetch for best-effort text extraction. Do not retry export_file after metadata shows a non-native MIME type.

Read the full file on GitHub · 59 lines

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. 9d ago First seen · 59 lines · 66 tokens per session scan A 4766e7fe25e6

Subscribe to this mod's changes

google-drive is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 1,451 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.