recipe-find-large-files
googleworkspace/cli
Find and list the largest files in Google Drive consuming your storage quota.
What is recipe-find-large-files?
This recipe identifies large Google Drive files that are consuming your storage quota. Use it to discover which files are taking up the most space and decide what to archive or move.
- Lists files sorted by size in descending order
- Displays file metadata including name, size, MIME type, and owners
- Shows up to 20 largest files by default
- Helps identify storage quota bottlenecks
- Formats results as a readable table
How to install recipe-find-large-files
npx skills add null --skill recipe-find-large-files- gws CLI tool installed
- gws-drive skill installed and loaded
How to use recipe-find-large-files
- 1.Load the gws-drive skill if not already loaded
- 2.Run: gws drive files list --params '{"orderBy": "quotaBytesUsed desc", "pageSize": 20, "fields": "files(id,name,size,mimeType,owners)"}' --format table
- 3.Review the table output to identify large files
- 4.Decide which files to archive, move, or delete based on the results
Use cases
- Audit storage usage before purchasing additional Google Workspace storage
- Find and archive large video or media files taking up quota
- Identify duplicate or outdated large files for deletion
- Prepare for storage migration or cleanup
- Monitor team storage consumption
- Google Workspace administrators
- Individual users managing personal Drive storage
- Teams optimizing shared storage usage
- IT managers auditing organizational storage
recipe-find-large-files FAQ
quotaBytesUsed represents the storage space a file consumes in your Google Drive quota, accounting for file size and any storage overhead.
Yes, modify the pageSize parameter in the command (e.g., change 20 to 50 for more results).
Add a query parameter to filter by parent folder ID in the --params argument.
Common large file types include video (video/*), archives (application/zip), and large documents (application/pdf).
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
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
- List files sorted by size:
gws drive files list --params '{"orderBy": "quotaBytesUsed desc", "pageSize": 20, "fields": "files(id,name,size,mimeType,owners)"}' --format table - Review the output and identify files to archive or move
Related skills
More from googleworkspace/cli and the wider catalog.
gws-gmail
Send, read, and manage Gmail emails via Google Workspace CLI.
gws-drive
Manage Google Drive files, folders, and shared drives via CLI.
gws-docs
Read and write Google Docs via command line.
gws-calendar
Manage Google Calendar events, calendars, and access control via CLI.
gws-sheets
Read and write Google Sheets spreadsheets via CLI.
gws-gmail-send
Send emails via Gmail with attachments, CC/BCC, HTML support, and draft options.