google-drive-organizer
Installation
SKILL.md
Google Drive Organizer
Reorganize a chaotic Google Drive into a clean, kebab-case folder hierarchy using the gws CLI and a Python automation script. Two-phase approach: broad structure first, deep sub-folders and renames second. AI classifies untitled/ambiguous documents by reading their content.
Requirements
gwsCLI — Google Workspace CLI:brew install gwsgcloudCLI — GCP project setup:brew install --cask google-cloud-sdk- Python 3.9+ with
pip install google-api-python-client google-auth google-auth-oauthlib google-auth-httplib2 client_secret.jsonfrom GCP (OAuth Desktop app); rundrive-auth.pyonce for~/.config/drive-personal/token.json- OpenAI or Anthropic API key (optional — only needed for untitled doc classification)
- Google account authenticated:
gws auth login
Estimated time: 15–45 min depending on file count
Estimated cost: ~$0.01–0.10 in AI API calls (gpt-4o-mini) for untitled doc analysis. gws/gcloud are free.