gws-drive-backup

Export Google Drive Docs, Sheets, and Slides to Markdown, CSV, XLSX, and PPTX locally.

8|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-drive-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-drive-backup
Source: https://github.com/haberlah/dotfiles-claude/tree/main/skills/gws-drive-backup
Command: npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-drive-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, openpyxl, pandoc, and includes scripts (resource) components.

What problem does it solve?

Download and back up Google Drive files locally with deterministic exports and AI-friendly formats, enabling offline access and AI consumption of Drive content.

Core Features & Use Cases

  • Export Google Docs to Markdown (with images extracted) and Google Sheets to per-tab CSV plus XLSX, plus Google Slides to PPTX.
  • Convert downloaded .docx to Markdown and .xlsx to CSV per tab for AI readability.
  • Supports personal Drive, shared drives, and nested folder structures; ideal for offline access, archival backups, and knowledge-base creation.

Quick Start

Run the gws-drive-backup workflow to export and convert Drive content to AI-friendly formats in a local directory.

Frequently Asked Questions about gws-drive-backup

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

FAQPage Schema
How do I export Google Drive files to Markdown and CSV for offline AI knowledge bases?

Export Google Drive files to Markdown and CSV for AI knowledge bases by converting Docs to Markdown with images, Sheets to per-tab CSV and XLSX, and Slides to PPTX. This creates deterministic, AI-friendly formats stored locally for offline access.

Does the Google Drive backup process support shared drives and nested folder hierarchies?

Yes, the Google Drive backup process supports shared drives and nested folder hierarchies. It traverses personal drives and shared drives to download content while preserving the folder structure during local export and conversion.

Do I need jq and gws CLI to convert Google Docs to Markdown locally?

Yes, you need the gws CLI and jq to convert Google Docs to Markdown locally. The process also relies on Python scripts with pyyaml, openpyxl, and pandoc dependencies to handle frontmatter injection and content conversions.

What is the best way to convert local .docx and .xlsx files into AI-readable formats?

The best way to convert local .docx and .xlsx files into AI-readable formats is using pandoc and openpyxl to transform .docx into Markdown and .xlsx into per-tab CSV, injecting metadata frontmatter to support AI consumption.

Can I extract images from Google Docs when exporting to Markdown?

Yes, you can extract images from Google Docs when exporting to Markdown. The conversion process handles image extraction during the Markdown transformation, ensuring visual content is preserved for offline knowledge-base creation.