name: organize-drive description: Scan and reorganize the user's entire Google Drive with a proposed new directory structure and standardized filenames. triggers: - organize my drive - organize drive - reorganize my drive - reorganize drive - clean up my drive - clean up drive - sort my drive - sort drive fastPattern: "organiz(?:e|ing)\s+(?:my\s+)?drive|clean\s+up\s+(?:my\s+)?drive|sort\s+(?:my\s+)?drive|reorganiz(?:e|ing)\s+(?:my\s+)?drive" subjectOnly: false
Organize Drive
When to use
- User explicitly asks to have their entire Google Drive reorganized
- Subject contains phrases like "organize my drive", "clean up drive", "sort my drive"
Execution
- Verify user has OAuth with full
drivescope (not justdrive.file) - If not, send auth-upgrade email with link to full-scope OAuth
- Scan all files and folders in user's Drive
- Send file listing to LLM to propose new directory structure
- Calculate per-file cost for reorganization
- Send proposal email showing before/after structure and cost
- Handle approval reply and execute reorganization