بنقرة واحدة
gws-drive
Google Drive 文件:搜索/上传/下载/共享。不用于:本地文件操作、其他云盘
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Google Drive 文件:搜索/上传/下载/共享。不用于:本地文件操作、其他云盘
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user asks to create, edit, improve, redesign, beautify, inspect, or export PowerPoint decks, PPT files, slide decks, keynotes, or .pptx deliverables. Prefer this skill for presentation work that must produce a real PPTX file, especially when visual quality, editable text, brand assets, charts, or export verification matter. Do not use for Word documents or PDFs.
Markdown 转微信公众号排版并发布草稿。Use this whenever the user asks to convert Markdown to WeChat Official Account HTML, inspect publish readiness, preview local WeChat layout, or create a WeChat draft. 不用于:写文章内容、其他平台发布。
视频字幕提取、翻译、双语合并、烧录。不用于:纯音频转文字、翻译文本文件、视频剪辑
下载视频/音频(YouTube、B站、Twitter等)。不用于:网页抓取(用 web_fetch)、直播录制
AI图片生成(文生图、图生图、去背景、放大),需本地 ComfyUI。不用于:截图、网页抓图、非AI图片处理
创建自定义技能(SKILL.md)。不用于:执行已有技能、修改代码、一次性脚本
| name | gws-drive |
| description | Google Drive 文件:搜索/上传/下载/共享。不用于:本地文件操作、其他云盘 |
Requires: gws CLI installed and authenticated (gws auth login).
gws drive <resource> <method> --params '{"key":"val"}' --json '{"key":"val"}'
--upload <PATH> for file upload--output <PATH> for file download{"command": "gws drive files list --params '{\"q\":\"name contains '\\''report'\\'' and mimeType != '\\''application/vnd.google-apps.folder'\\'''\",\"fields\":\"files(id,name,mimeType,modifiedTime,size)\",\"pageSize\":20}'", "timeout": 30000}
Common query operators: name contains 'x', mimeType = 'application/pdf', trashed = false, 'FOLDER_ID' in parents, modifiedTime > '2026-03-01T00:00:00'.
{"command": "gws drive files list --params '{\"q\":\"'\\''FOLDER_ID'\\'' in parents and trashed = false\",\"fields\":\"files(id,name,mimeType,modifiedTime,size)\"}'", "timeout": 30000}
{"command": "gws drive files get --params '{\"fileId\":\"FILE_ID\",\"alt\":\"media\"}' --output 'data/tmp/filename.pdf'", "timeout": 60000}
{"command": "gws drive files create --json '{\"name\":\"report.pdf\",\"parents\":[\"FOLDER_ID\"]}' --upload 'data/tmp/report.pdf'", "timeout": 60000}
{"command": "gws drive files create --json '{\"name\":\"New Folder\",\"mimeType\":\"application/vnd.google-apps.folder\",\"parents\":[\"PARENT_FOLDER_ID\"]}'", "timeout": 30000}
{"command": "gws drive permissions create --params '{\"fileId\":\"FILE_ID\"}' --json '{\"role\":\"reader\",\"type\":\"user\",\"emailAddress\":\"alice@example.com\"}'", "timeout": 30000}
Roles: reader, writer, commenter, owner.
{"command": "gws drive files update --params '{\"fileId\":\"FILE_ID\"}' --json '{\"trashed\":true}'", "timeout": 30000}
{"command": "gws drive files get --params '{\"fileId\":\"FILE_ID\",\"fields\":\"id,name,mimeType,size,modifiedTime,webViewLink\"}'", "timeout": 30000}
fields parameter to limit response size (saves tokens).data/tmp/ directory, then use send_file to deliver to user.files.export with mimeType param (e.g., application/pdf).trashed = false in queries to exclude trashed files.application/vnd.google-apps.folder.