google-drive
Ce qu’il fait
La compétence gère les fichiers dans Google Drive, y compris les dossiers, les commentaires et les exports. Elle s'adresse aux personnes qui organisent leur travail partagé dans Google Drive.
Quand l’utiliser
- ✓Quand vous devez créer un fichier dans un dossier Drive précis.
- ✓Quand vous voulez déplacer, renommer ou partager des fichiers Drive.
- ✓Quand vous voulez convertir du contenu Markdown ou CSV en Google Doc ou Sheet.
Lien du skill
https://github.com/cursor/plugins/blob/main/third_party/google-drive/skills/google-drive/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mets ce CSV dans une feuille Google Sheets à l'intérieur de mon dossier Rapports T3.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent cherche dans Drive le bon fichier ou dossier, puis crée, déplace ou partage des fichiers à cet emplacement. Il relance une recherche lorsqu'il ne peut pas confirmer un identifiant.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Google Drive files
Ids come from search, never guesses
Every tool takes Drive file ids. Get them from search (or
list_folder for a known folder,
list_recent_files for "what was I just working on"), or from
the id in a URL the user pasted. exact_name beats query for a known
filename; add mime_type_filter to cut noise. Never invent an id or reuse
one from a stale conversation - re-search first.
Folder targeting
create_foldertakesparent_folder_id; 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.create_filealso takesparent_folder_id, 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
create_file(Markdown to Doc, CSV to Sheet), or create it and thenmove_or_renamewithdestination_folder_id. move_or_renamedoes either or both in one call; renaming does not change the id.update_fileis the same rename/move with the hosted Drive tool's argument names (fileId;titlerenames,parentIdmoves 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
create_file with target_mime_type: 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.
update_file_content converts in place the same way.
Copying, metadata, and sharing
copy_fileduplicates a file (optionally into a folder) - the right way to instantiate a template without touching the original.get_file_metadatareturns the full record (mime type, parents, size, owners, modified time); use it to confirm a move landed.get_file_permissionslists who has access;share_filegrants a role to an email. Share only when the user asked; report the link rather than widening access speculatively.download_filereturns the raw bytes base64-encoded for non-Google files (images, PDFs, plain text).
Reading and exporting
read_filereturns text: Docs as Markdown, Sheets as CSV per tab, Slides as plain text. Use it to verify content after writes.export_filereturns rendered bytes base64-encoded:pdffor Docs/Sheets/Slides (Sheets PDF renders every tab, charts included),png/svgfor Drawings, plus office formats (docx/xlsx/pptx). Use PDF when the user wants to see the final look; exports cap at 10 MB.- For one slide as PNG use the google-slides
get_slide_thumbnailtool, not Drive export.
Comments
Comments live on the Drive file, so one tool set covers Docs, Sheets, and Slides alike:
list_commentsreturns each comment's text, quoted document text, resolved state, and replies; it pages, so follownextPageTokenbefore concluding a thread does not exist.add_commentadds a file-level comment (no text anchor).reply_to_commentreplies by comment id, and itsaction: "resolve"(content optional) is the ONLY way to resolve a thread; editing document text near a comment never resolves it. Leave already-resolved threads alone.
Deleting
trash_file is recoverable (~30 days) and works on files and
folders (a trashed folder takes its contents). Permanent deletion is
deliberately not available; never promise it.
Verify your work
After creates and moves, confirm placement with list_folder
on the destination or get_file_metadata (check parents).
After content writes, read_file is the ground truth for text
and export_file (pdf) for the rendered result.
Questions fréquentes
Le fichier finira-t-il dans le bon dossier ?
La compétence transmet le dossier de destination lorsque vous le nommez, pour que les fichiers ne restent pas à la racine de Mon Drive.
Peut-elle exporter un PDF ?
Oui. La compétence couvre l'export d'un PDF rendu.
Comment trouve-t-elle un fichier ?
Elle cherche par nom ou type, ou liste les fichiers récents, et n'invente jamais d'identifiants de fichier.
Détails
Description originale de l’auteur
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.
repo: cursor/plugins
Popularité
- Étoiles GitHub
- 15k
- Position au classement
- #11016
- Licence
- —
- Mis à jour
- 31/10/2026
Commentaires
- …
Autres skills de ce dépôt
advisor
15kPermet à votre agent de consulter un second modèle plus puissant à des moments clés, par exemple avant une grande décision ou face à une erreur bloquante, si vous l'activez.
check-agent-compatibility
15kVérifie si des agents de code IA peuvent démarrer, valider et documenter un dépôt, puis renvoie un score de compatibilité unique avec les principaux problèmes.
cli-for-agents
15kApprend à votre agent à concevoir ou revoir des outils en ligne de commande pour que les agents IA puissent les exécuter sans invites, avec une aide claire et des exemples.
continual-learning
15kMaintient vos notes AGENTS.md à jour en confiant la revue des anciennes conversations à un agent de mise à jour de mémoire dédié.
Skills similaires
feishu-doc
394kAide votre agent à lire, créer et modifier des documents cloud Feishu, y compris du texte, des images et des tableaux, grâce à l'outil de document.
feishu-drive
394kPermet à votre agent de parcourir, organiser et commenter des fichiers d'un dossier cloud Feishu partagé avec le bot.
feishu-perm
394kAide votre agent à vérifier et modifier qui peut accéder à un fichier Feishu, en choisissant la plus petite autorisation qui répond à votre demande.