Back to Skills

searching-documents-with-google-drive

verified

Search and download documents from Google Drive using rclone. Exports Google Docs as Markdown by default. Use when users ask to find files in Google Drive, download documents from Drive, export Google Docs, or sync Drive content locally. Triggers on requests mentioning Google Drive, gdrive, or document downloads from cloud storage.

View on GitHub

Marketplace

marketplace-claude

kjgarza/marketplace-claude

Plugin

kjgarza-product

productivity

Repository

kjgarza/marketplace-claude
2stars

plugins/kjgarza-product/skills/searching-documents-with-google-drive/SKILL.md

Last Verified

January 20, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/kjgarza/marketplace-claude/blob/main/plugins/kjgarza-product/skills/searching-documents-with-google-drive/SKILL.md -a claude-code --skill searching-documents-with-google-drive

Installation paths:

Claude
.claude/skills/searching-documents-with-google-drive/
Powered by add-skill CLI

Instructions

# Google Drive Document Access

## Overview

Search for and download documents from Google Drive using rclone. Google Docs are automatically exported as Markdown for easy reading and processing.

Scripts are located at `.claude/searching-documents-with-google-drive/gdrive/scripts/`.

**Reference Documentation:**
- [scripts/](scripts/) — Shell scripts for search, download, and sync operations
- [digital-science-reference.md](digital-science-reference.md) — Digital Science documentation links

**Authentication:** See the Authentication section in [digital-science-reference.md](digital-science-reference.md) for rclone setup. The remote must be named `gdrive`.

## Quick Start

```bash
# Check rclone is configured
./scripts/check_rclone.sh

# Search for files
./scripts/search_gdrive.sh "meeting notes"

# Search shared files
./scripts/search_gdrive.sh "standup" --shared

# Download a file (exports Google Docs as Markdown)
./scripts/download_gdrive.sh "Documents/Report" ./output

# Download by file ID
./scripts/download_gdrive.sh --id "FILE_ID" ./output

# Download matching shared files
./scripts/download_gdrive.sh --shared --include "pattern*" ./output
```

## Common Tasks

| Task | Command |
|------|---------|
| Check setup | `./scripts/check_rclone.sh` |
| Search files | `./scripts/search_gdrive.sh "pattern"` |
| Search shared files | `./scripts/search_gdrive.sh "pattern" --shared` |
| Download file | `./scripts/download_gdrive.sh "path/to/file" ./output` |
| Download by ID | `./scripts/download_gdrive.sh --id "FILE_ID" ./output` |
| Download folder | `./scripts/download_gdrive.sh "Folder" ./output --bulk` |
| Download shared files | `./scripts/download_gdrive.sh --shared --include "pattern*" ./output` |
| Limit downloads | `./scripts/download_gdrive.sh --shared --include "pattern*" ./output --limit 20` |

## Export Formats

Google Docs can be exported in different formats:

| Format | Flag | Use Case |
|--------|------|----------|
| Markdown | `--format md` (default) |

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3327 chars