google-drive

Search Google Drive files and list directory contents programmatically.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/uriva/p2b-skills --skill google-drive-uriva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-drive
Source: https://github.com/uriva/p2b-skills/tree/main/google-drive
Command: npx skills add https://github.com/uriva/p2b-skills --skill google-drive-uriva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the friction of manually navigating and searching through Google Drive by allowing AI agents to programmatically locate and list files directly within their workflow.

Core Features & Use Cases

  • Intelligent Search: Perform complex queries to find specific files based on names, types, or content patterns.
  • Folder Navigation: Retrieve lists of files from specific directories like the root or shared folders.
  • Use Case: An agent can automatically find the latest project status spreadsheet in a specific folder and extract its contents for a summary report without the user needing to provide a direct link.

Quick Start

Ask the agent to search your Google Drive for files containing the term project proposal and list the results.

Frequently Asked Questions about google-drive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Google Drive files programmatically without manual navigation?

To search Google Drive files programmatically, this skill uses advanced search queries to locate specific files based on names, types, or content patterns directly within automated workflows.

Can an AI agent list files from specific Google Drive directories automatically?

Yes, an AI agent can list files from specific Google Drive directories automatically, retrieving files from root or shared folders to support automated document management workflows.

Do I need a Google Workspace API token to automate Google Drive file discovery?

Yes, Google Drive file discovery requires a valid Google Workspace API token mapped to the agent's environment secrets to ensure secure authentication for your automated workflows.

What's the best way to find a project status spreadsheet in Google Drive for a summary report?

The best way to find a project status spreadsheet is using intelligent search queries to locate the file in a specific folder, allowing an agent to extract its contents automatically for a summary report.

Are there limitations when using Google Drive API for folder-based file retrieval?

Folder-based file retrieval is limited to file discovery and directory listing. It does not modify files, focusing solely on locating and listing documents within specified Google Drive folders.