Agent skill · cursor

google-drive

Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown/CSV into Docs/Sheets, managing comments, or exporting a rendered PDF.

What it needs

About 3k tokens when loaded.

What this skill does

Google Drive files Ids come from search, never guesses Every tool takes Drive file ids. Get them from search (or listfolder for a known folder, listrecentfiles for "what was I just working on"), or from the id in a URL the user pasted. exactname beats query for a known filename; add mimetypefilter to cut noise. Never invent an id or reuse one from a stale conversation - re-search first. Folder targeting createfolder takes parentfolderid; without it the folder lands in My Drive root. When the user names a destination folder, resolve its id and pass it - a file created in root when a folder was specified is a wrong result even if the content is perfect. createfile also takes parentfolderid, so create files directly where they belong instead of creating then moving. The Docs/Sheets/Slides providers' own create tools CANNOT target a folder (their APIs have no parent parameter). When placement matters, either create the artifact there with createfile (Markdown to Doc, CSV to Sheet), or create it and then moveorrename with destinationfolderid. moveorrename does either or both in one call; renaming does not change the id. updatefile is the same rename/move with the hosted Drive tool's argument names (fileId; title renames, parentId moves by replacing the current parent); it exists on both the translator and hosted surfaces, so prefer it in guidance that must work on either. Grant limits: this app's grant is drive.file, so moving into or writing files/folders this app never created (and the user never picked) can 403. That 403 is a permission fact, not a transient error; do not retry it. Markdown and CSV conversion createfile with targetmimetype: application/vnd.google-apps.document converts Markdown (headings, lists, tables) into a real Google Doc in one call; ...spreadsheet converts CSV into a Sheet. This is the fastest correct way to produce a formatted Doc: prefer it over create-then-insert when the content is known up front. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills cursor/google-drive

View the source on GitHub

Browse the @skills marketplace