gdoc-to-markdown

Download Google Docs as Markdown files with YAML frontmatter.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/csackrider/AI-DLC --skill gdoc-to-markdown-csackrider
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gdoc-to-markdown
Source: https://github.com/csackrider/AI-DLC/tree/main/plugins/ai-dlc-skills/skills/gdoc-to-markdown
Command: npx skills add https://github.com/csackrider/AI-DLC --skill gdoc-to-markdown-csackrider

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables you to convert Google Docs into portable Markdown files saved to a local external-brain folder, simplifying archiving and knowledge import.

Core Features & Use Cases

  • Convert Google Docs to Markdown for offline storage and knowledge base integration.
  • Archive project documentation, meeting notes, or documentation from Google Docs into a local repository.
  • Use cases include importing docs into personal wikis or team knowledge bases.

Quick Start

Run the download-gdoc.py script with your Google Docs URL to save a Markdown file in ~/GitHub/external-brain.

Frequently Asked Questions about gdoc-to-markdown

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

FAQPage Schema
How do I convert Google Docs to Markdown for a local knowledge base?

To convert Google Docs to Markdown, this Skill uses a Python script to fetch documents via the gcloud CLI and saves them locally. It outputs Markdown files with YAML frontmatter containing doc_id, source_url, and owner for traceability.

Do I need gcloud CLI authentication to download Google Docs as Markdown?

Yes, gcloud CLI authentication configured with Google Drive scopes is required to download Google Docs as Markdown. The Skill relies on the gcloud CLI to access Drive data before running the download script.

What is the best way to archive Google Docs into an external brain directory?

The best way to archive Google Docs into an external-brain directory is using this Skill's download script. Passing a Google Docs URL fetches the document and stores it directly under your local external-brain folder for offline access.

Does the converted Markdown from Google Docs include source traceability metadata?

Yes, the converted Markdown from Google Docs includes source traceability metadata. The Skill generates YAML frontmatter for each file, embedding the original doc_id, source_url, and owner to ensure traceability back to the source document.

Can I use a Google Docs URL directly to trigger the Markdown conversion process?

Yes, you can use a Google Docs URL directly to trigger the Markdown conversion process. The Skill accepts Google Docs URLs as input for the download script, which fetches the content and saves it locally as a Markdown file.