What problem does it solve?
This Skill enables you to export and access Google Drive content (docs, sheets, meeting notes) directly from the command line, turning cloud assets into portable, readable formats and enabling automation in your workflows.
Core Features & Use Cases
- Export Docs as Markdown: Convert Google Docs to Markdown for processing, archiving, or documentation pipelines.
- Export Sheets as CSV: Output each sheet as separate CSV files for data analysis and reporting.
- File Discovery & Inspection: List files, search by query, and view detailed metadata and permissions to inform downstream decisions.
- Workflow Automation: Integrate exports and metadata lookups into batch jobs, notes repositories, or knowledge bases.
Quick Start
Use the gcmd skill to quickly export a Google Doc to Markdown and a Sheet to CSV, then inspect results:
- Export a Google Doc as Markdown:
uvx --from "git+https://github.com/shanemcd/gcmd" gcmd export "https://docs.google.com/document/d/FILE_ID/edit" -o /tmp/
- Export a Google Sheet as CSV (one file per sheet):
uvx --from "git+https://github.com/shanemcd/gcmd" gcmd export "https://docs.google.com/spreadsheets/d/FILE_ID/edit" -o /tmp/
- List recent files:
uvx --from "git+https://github.com/shanemcd/gcmd" gcmd list
- View details for a file:
uvx --from "git+https://github.com/shanemcd/gcmd" gcmd info -v "https://docs.google.com/document/d/FILE_ID/edit"