← ClaudeAtlas

gdrive-bulk-downloadlisted

Bulk and mass download Google Docs, Google Slides decks, and Drive-hosted PDF, DOCX, or PPTX files from a list of links. Use whenever the user pastes several Google Docs, Slides, or Drive URLs, or points at a file of links with one URL per line, and wants them saved locally. Especially useful for restricted or managed Google Workspace accounts that cannot install Claude's Drive connector, browser extensions, or a Drive MCP. Exports Docs and Slides to PDF, downloads already-PDF/DOCX/PPTX Drive files as-is, and writes a manifest.json tracking every URL and its status. Reach for this any time the request is to download these docs, slides, or files, or to grab everything in a list, even if the user does not name the skill directly. Google Sheets links are reported as unsupported, not downloaded.
MattModeCode/claude-skills · ★ 1 · Data & Documents · score 74
Install: claude install-skill MattModeCode/claude-skills
# gdrive-bulk-download Bulk-download Google Docs, Google Slides decks, and existing PDF/DOCX/PPTX files stored in Google Drive, using gstack's headless browser (`$B`) so it works with restricted/managed accounts that can't install Claude's Drive connector or browser extensions. ## Inputs - A list of URLs, either pasted directly in the prompt (one per line, in any order, surrounding text ignored) or referenced as a file path (one URL per line; blank lines and `#`-comments ignored). - Optional output directory argument. Defaults to `~/Downloads`. ## Procedure ### 1. Collect URLs Parse every `https://docs.google.com/...` or `https://drive.google.com/...` URL out of the prompt text, or read them from the referenced file (one per line, skip blank lines and lines starting with `#`). ### 2. Verify authentication ```bash B=~/.claude/skills/gstack/browse/dist/browse $B goto https://drive.google.com $B text ``` Check the page text/title for signs of a logged-in session (account name, "My Drive", etc.) rather than a Google sign-in form. If not authenticated: - Run `$B connect` then `$B goto https://drive.google.com` and `$B handoff "log into the restricted Google account"` so the user can complete login/MFA manually, then `$B resume`. - `/setup-browser-cookies` is generally **unreliable** for restricted/managed accounts — observed failure mode: Google auth cookies (`SID`, `HSID`, `SAPISID`, etc.) get scoped to a country-TLD domain (e.g. `.google.ca`) that doesn't