Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

google-driveGoogle Drive 文件管理

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

282

周安装

12

GitHub Stars

2

下载量

99
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-drive(Google Drive 文件管理)
来源仓库:https://github.com/abdullahbeam/nexus-design-abdullah
仓库路径:skills/google-drive
安装命令:
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill google-drive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill google-drive

简介

google-drive 用于上传、下载和管理 Google Drive 中的文件和文件夹,支持按条件搜索。

  • 适合团队协作中同步文档、备份资料或批量处理云端文件等场景,依赖 OAuth 登录。
  • 操作前需先运行认证检查脚本,确保凭据有效;可通过命令行工具直接调用具体功能。
  • 使用前请确认已授权访问目标文件夹,注意文件权限设置,避免误删或覆盖重要内容。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Google Drive

Upload, download, and manage files and folders in Google Drive via OAuth authentication.


Pre-Flight Check (ALWAYS RUN FIRST)

python3 00-system/skills/google/google-master/scripts/google_auth.py --check --service drive

Exit codes:

  • 0: Ready to use - proceed with user request
  • 1: Need to login - run python3 00-system/skills/google/google-master/scripts/google_auth.py --login
  • 2: Missing credentials or dependencies - see ../google-master/references/setup-guide.md

Quick Reference

List Files (Root)

python3 00-system/skills/google/google-drive/scripts/drive_operations.py list

List Files in Folder

python3 00-system/skills/google/google-drive/scripts/drive_operations.py list --folder <folder_id>

Search Files

python3 00-system/skills/google/google-drive/scripts/drive_operations.py search "report"

Get File Info

python3 00-system/skills/google/google-drive/scripts/drive_operations.py info <file_id>

Download File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <file_id> --output ./local_file.pdf

Download Google Doc as PDF

python3 00-system/skills/google/google-drive/scripts/drive_operations.py download <doc_id> --format pdf

Upload File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py upload ./local_file.pdf --folder <folder_id>

Create Folder

python3 00-system/skills/google/google-drive/scripts/drive_operations.py create-folder "New Folder" --parent <parent_id>

Move File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py move <file_id> <destination_folder_id>

Copy File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py copy <file_id> --name "Copy of File"

Rename File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py rename <file_id> "New Name"

Delete File (Trash)

python3 00-system/skills/google/google-drive/scripts/drive_operations.py delete <file_id>

Share File

python3 00-system/skills/google/google-drive/scripts/drive_operations.py share <file_id> user@example.com --role writer

Get Sharing Info

python3 00-system/skills/google/google-drive/scripts/drive_operations.py sharing <file_id>

File/Folder ID

The ID is in the URL:

https://drive.google.com/file/d/[FILE_ID]/view
https://drive.google.com/drive/folders/[FOLDER_ID]

Export Formats

For Google Docs files, use --format when downloading:

File TypeAvailable Formats
Google Docspdf, docx, txt, html
Google Sheetspdf, xlsx, csv
Google Slidespdf, pptx

Available Operations

OperationFunctionDescription
Listlist_files()List files in a folder
Searchsearch_files()Search by name
Infoget_file_info()Get file metadata
Downloaddownload_file()Download to local
Uploadupload_file()Upload from local
Create Foldercreate_folder()Create new folder
Movemove_file()Move to different folder
Copycopy_file()Duplicate a file
Renamerename_file()Change name
Deletedelete_file()Move to trash
Shareshare_file()Share with user
Sharingget_sharing_info()Get permissions

Sharing Roles

RolePermissions
readerView only
commenterView and comment
writerView, comment, and edit

Error Handling

See ../google-master/references/error-handling.md for common errors and solutions.


Setup

First-time setup: ../google-master/references/setup-guide.md

Quick start:

  1. pip install google-auth google-auth-oauthlib google-api-python-client
  2. Create OAuth credentials in Google Cloud Console (enable Google Drive API, choose "Desktop app")
  3. Add to .env file at Nexus root: GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=your-client-secret GOOGLE_PROJECT_ID=your-project-id
  4. Run python3 00-system/skills/google/google-master/scripts/google_auth.py --login

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.43%
按下载量换算27

Antigravity

23.47%
按下载量换算23

Codex

17.91%
按下载量换算18

Gemini CLI

12.08%
按下载量换算12

windsurf

6.94%
按下载量换算7

OpenCode

3.62%
按下载量换算4

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills