360 Secure SkillHub
360 安全技能中心

Recipe Find Large Files

核心功能:借助gws工具调用Google Drive接口,按占用空间排序列出前20个大文件,展示文件ID、名称、大小等关键信息。典型场景:当Google Drive存储配额不足时,定位可归档或转移的大文件。需依赖gws工具与gws-drive技能,输出为表格格式的文件列表,支持后续清理操作。

googleworkspace-bot
googleworkspace-bot
热度 72.10
最近更新 2026-05-11 17:31:20
分类:自动化依赖:MCP 服务应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-find-large-files
Metadata
name
recipe-find-large-files
description
Identify large Google Drive files consuming storage quota.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-drive"]}}}

Find Largest Files in Drive

PREREQUISITE: Load the following skills to execute this recipe: gws-drive

Identify large Google Drive files consuming storage quota.

Steps

  1. List files sorted by size: gws drive files list --params '{"orderBy": "quotaBytesUsed desc", "pageSize": 20, "fields": "files(id,name,size,mimeType,owners)"}' --format table
  2. Review the output and identify files to archive or move