Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

recipe-find-large-files — Claude Code skill: find large files

This skill lists large Google Drive files by quota usage and shows their size. Use it to decide which files to archive or move.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-find-large-files -a claude-code
Open on GitHub

What recipe-find-large-files does

The skill runs gws drive files list, sorts files by quota usage, and displays the first 20 with their names, sizes, MIME types, and owners. Review the list to pick files to archive or move.

It requires the gws CLI and the gws-drive skill. Install it when you need to inspect storage use in Google Drive; it does not search for files outside Drive.

What it helps with

  • find the Google Drive files using the most storage
  • sort Drive files by quota usage
  • review large files by size, type, and owner
  • pick files to archive or move

Example prompts for the agent

  • Find the largest files in Google Drive and show their sizes and owners.
  • Sort my Google Drive files by quota usage so I can choose what to archive.
  • List large Drive files in a table.

How to install recipe-find-large-files

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill recipe-find-large-files -a claude-code

2Manually: put the files in place

~/.claude/skills/recipe-find-large-files/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-find-large-files/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about recipe-find-large-files

How do I install recipe-find-large-files in Claude Code?

Run npx skills add googleworkspace/cli --skill recipe-find-large-files -a claude-code. The gws CLI and gws-drive skill are also required.

What does recipe-find-large-files do?

It sorts Google Drive files by quota usage and lists the first 20 with their names, sizes, MIME types, and owners.

What does recipe-find-large-files need to run?

It requires the gws CLI and the gws-drive skill. Its results help you identify files to archive or move.

Source text

SKILL.md · Apache-2.0
---
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

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor