Index of every page on this site: llms.txt
All skills
googleworkspace avatar

/recipe-find-large-files

@cd3697e
by Google Workspacegoogleworkspace/cli32k stars
1,997
Run it yourself

Identify large Google Drive files consuming storage quota.

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-find-large-files

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈21 tokens for metadata: the name and description. ≈106 when used: this file.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈84 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a recipe that provides instructions for identifying large Google Drive files using the 'gws' command-line tool. It does not contain executable code or malicious patterns.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    1 file scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at cd3697e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 8 months ago
Other metadata
metadata
{
  "version": "0.22.5",
  "openclaw": {
    "category": "recipe",
    "domain": "productivity",
    "requires": {
      "bins": [
        "gws"
      ],
      "skills": [
        "gws-drive"
      ]
    }
  }
}
  • google-drive
  • storage
  • gws-cli
  • quota
  • file-management
  • google-workspace

README badge

README badge for googleworkspace/cli/recipe-find-large-files

Identifies large files in Google Drive by listing files sorted by storage usage, helping diagnose quota consumption. Uses the gws CLI and gws-drive skill to query and display files consuming the most storage space.

Generated from the current SKILL.md.

What skill does this recipe require?
The gws-drive skill must be loaded before running this recipe.
What command lists the largest files?
Run `gws drive files list --params '{"orderBy": "quotaBytesUsed desc", "pageSize": 20, "fields": "files(id,name,size,mimeType,owners)"}' --format table` to list the 20 largest files by storage quota used.
Does this work with Google Workspace only?
Yes. This recipe uses the Google Workspace CLI (gws) and targets Google Drive files in a Workspace account.

Generated from the current SKILL.md. These answers refresh after source changes.