agentleFS
CorentinLumineauCorentinLumineau/tidy/.claude/skills/prj-drive/SKILL.md

prj-drive

Skill2 starsChanged 3 months agoMITView on GitHub

Quick Google Drive status check

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask if user wants to run /prj-drive-cleanup for organization.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Drive Status

Quick Google Drive status check.

Workflow

1. Storage Usage

gog drive about --plain

Display used/total storage with percentage.

2. File Counts by Type

# Documents
gog drive ls --query="mimeType contains 'document'" --max=1000 --plain | wc -l

# Spreadsheets
gog drive ls --query="mimeType contains 'spreadsheet'" --max=1000 --plain | wc -l

# Presentations
gog drive ls --query="mimeType contains 'presentation'" --max=1000 --plain | wc -l

# PDFs
gog drive ls --query="mimeType='application/pdf'" --max=1000 --plain | wc -l

# Images
gog drive ls --query="mimeType contains 'image'" --max=1000 --plain | wc -l

# Videos
gog drive ls --query="mimeType contains 'video'" --max=1000 --plain | wc -l

3. Recent Files (10 most recently modified)

gog drive ls --order-by="modifiedTime desc" --max=10 --plain

4. Largest Files (10 largest)

gog drive ls --order-by="quotaBytesUsed desc" --max=10 --plain

5. Files in Root (should be organized into folders)

gog drive ls --query="'root' in parents and mimeType!='application/vnd.google-apps.folder'" --max=50 --plain

6. Sharing Summary

# Shared with me
gog drive ls --query="sharedWithMe=true" --max=100 --plain | wc -l

# Shared by me
gog drive ls --query="'me' in owners and visibility!='limited'" --max=100 --plain | wc -l

7. Display Results

Present in table format:

Google Drive Status

Storage:
| Metric     | Value       |
|------------|-------------|
| Used       | X.XX GB     |
| Total      | XX GB       |
| Percentage | XX%         |

Files in Root (need organizing): XX

Top 10 Largest Files:
| Name                 | Size     | Modified     |
|----------------------|----------|--------------|
| file1.zip            | 500 MB   | 2024-01-15   |
| ...                  | ...      | ...          |

8. Next Steps

Ask if user wants to run /prj-drive-cleanup for organization.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.