Agent Skillsopenclaw/gogcli › gog-drive

gog-drive

GitHub

提供通过gog工具操作Google Drive的能力,涵盖文件管理、权限控制、搜索同步及审计等场景。强调安全启动、只读模式与自动化规范,支持批量操作和结构化数据输出。

.agents/skills/gog-drive/SKILL.md openclaw/gogcli

Trigger Scenarios

用户需要上传或下载Google Drive文件 用户请求列出、搜索或移动Drive中的文件 用户需要管理文件或文件夹的共享权限 用户需要查看Drive活动日志或审计记录

Install

npx skills add openclaw/gogcli --skill gog-drive -g -y
More Options

Non-standard path

npx skills add https://github.com/openclaw/gogcli/tree/main/.agents/skills/gog-drive -g -y

Use without installing

npx skills use openclaw/gogcli@gog-drive

指定 Agent (Claude Code)

npx skills add openclaw/gogcli --skill gog-drive -a claude-code -g -y

安装 repo 全部 skill

npx skills add openclaw/gogcli --all -g -y

预览 repo 内 skill

npx skills add openclaw/gogcli --list

SKILL.md

Frontmatter
{
    "name": "gog-drive",
    "description": "Google Drive operations through gog."
}

Google Drive

Use gog for Google Drive operations. Read ../gog/SKILL.md first for shared auth, output, safety, and live-write rules.

Safe start

gog auth list --check --json --no-input
gog schema drive --json
gog --readonly --account user@example.com drive ls --max 20 --json --wrap-untrusted
  • Select the account explicitly with --account.
  • Use --json --wrap-untrusted for agent-readable Google content.
  • Use --readonly when the task must not mutate Google data.
  • Use --no-input in automation and --dry-run before supported writes.
  • Confirm the exact account, object, and mutation before any write or delete.

Commands

Command Purpose
activity Query Drive Activity audit events
audit Audit Drive sharing without mutation
bulk Bulk Drive permission operations
changes Track Drive changes for sync and automation
comments Manage comments on files
copy Copy a file
delete Move a file to trash (use --permanent to delete forever)
download Download a file (exports Google Docs formats)
drives List shared drives (Team Drives)
du Summarize Drive folder sizes
get Get file metadata
inventory Export a read-only Drive inventory
labels Read and modify Drive labels
ls List files in a folder (default: root)
mkdir Create a folder
move Move a file to a different folder
permissions List permissions on a file
raw Dump raw Google Drive API response as JSON (Files.Get; lossless; for scripting and LLM consumption)
rename Rename a file or folder
revisions List and inspect file revisions
search Full-text search across Drive
share Share a file or folder
shortcut Manage shortcuts to Drive files and folders
sync Reconcile local files with Drive
tree Print a read-only folder tree
unshare Remove a permission from a file
upload Upload a file
url Print web URLs for files

Run gog drive <command> --help for flags and gog schema drive <command> --json for the machine-readable contract. Do not guess command syntax.

Version History

  • eb85a99 Current 2026-08-20 12:40

Same Skill Collection

.agents/skills/crabbox/SKILL.md
.agents/skills/gog-contacts-cleanup/SKILL.md
.agents/skills/gog-drive-audit/SKILL.md
.agents/skills/gog-inbox-triage/SKILL.md
.agents/skills/gog-meeting-prep/SKILL.md
.agents/skills/gog-save-attachments/SKILL.md
.agents/skills/gog-weekly-digest/SKILL.md
.agents/skills/gog/SKILL.md
.agents/skills/gog-admin/SKILL.md
.agents/skills/gog-analytics/SKILL.md
.agents/skills/gog-appscript/SKILL.md
.agents/skills/gog-calendar/SKILL.md
.agents/skills/gog-chat/SKILL.md
.agents/skills/gog-classroom/SKILL.md
.agents/skills/gog-contacts/SKILL.md
.agents/skills/gog-docs/SKILL.md
.agents/skills/gog-forms/SKILL.md
.agents/skills/gog-gmail/SKILL.md
.agents/skills/gog-groups/SKILL.md
.agents/skills/gog-keep/SKILL.md
.agents/skills/gog-maps/SKILL.md
.agents/skills/gog-meet/SKILL.md
.agents/skills/gog-people/SKILL.md
.agents/skills/gog-photos/SKILL.md
.agents/skills/gog-searchconsole/SKILL.md
.agents/skills/gog-sheets/SKILL.md
.agents/skills/gog-sites/SKILL.md
.agents/skills/gog-slides/SKILL.md
.agents/skills/gog-tasks/SKILL.md
.agents/skills/gog-youtube/SKILL.md

Metadata

Files
0
Version
be4037f
Hash
8323c894
Indexed
2026-08-20 12:40

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 19:12
浙ICP备14020137号-1 $Carte des visiteurs$