Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

recipe-bulk-download-folder — Claude Code skill: bulk download

This skill lists files in a Google Drive folder and downloads them locally. Use it when an agent needs to export a folder’s contents.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-bulk-download-folder -a claude-code
Open on GitHub

What recipe-bulk-download-folder does

The skill finds files in a Google Drive folder by FOLDER_ID, then downloads each item with gws drive files get. Google Docs use a separate export step with gws drive files export, which saves them as PDF files.

It requires the gws binary and the gws-drive skill. Commands receive JSON parameters and write output to the path passed with -o. Install it when an agent needs to pull a whole Drive folder; for one file, this skill adds little.

What it helps with

  • list files inside a Google Drive folder
  • download every file from a folder
  • export Google Docs as PDF
  • write downloaded files to chosen paths

Example prompts for the agent

  • List every file in the folder with `FOLDER_ID` and download them to the current directory.
  • Run `gws drive files list` for this folder, then download each result with `gws drive files get`.
  • Export the Google Docs from this folder as PDFs with `gws drive files export` and save them locally.

How to install recipe-bulk-download-folder

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill recipe-bulk-download-folder -a claude-code

2Manually: put the files in place

~/.claude/skills/recipe-bulk-download-folder/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-bulk-download-folder/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about recipe-bulk-download-folder

How do I install recipe-bulk-download-folder in Claude Code?

Run npx skills add googleworkspace/cli --skill recipe-bulk-download-folder -a claude-code. The skill file is placed at ~/.claude/skills/recipe-bulk-download-folder/SKILL.md.

What does recipe-bulk-download-folder do?

It lists files in a Google Drive folder and downloads them one by one. Google Docs can be exported as PDF files.

What does the skill require?

You need the gws binary and the gws-drive skill loaded first. The recipe uses gws drive files list, gws drive files get, and gws drive files export.

Source text

SKILL.md · Apache-2.0
---
name: recipe-bulk-download-folder
description: "List and download all files from a Google Drive folder."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-drive
---

# Bulk Download Drive Folder

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`

List and download all files from a Google Drive folder.

## Steps

1. List files in folder: `gws drive files list --params '{"q": "'\''FOLDER_ID'\'' in parents"}' --format json`
2. Download each file: `gws drive files get --params '{"fileId": "FILE_ID", "alt": "media"}' -o filename.ext`
3. Export Google Docs as PDF: `gws drive files export --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' -o document.pdf`

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor