gws-docs-to-markdown

Installation
SKILL.md

Google Docs to Markdown

Given a Google Docs URL, generate a lightweight Markdown file and image files.

Usage

${SKILL_DIR}/scripts/read_gdoc.sh "GOOGLE_DOCS_URL_OR_DOC_ID" "OUTPUT_DIR"
  • GOOGLE_DOCS_URL_OR_DOC_ID (required): Google Docs URL (e.g. https://docs.google.com/document/d/DOC_ID/edit) or DOC_ID
  • OUTPUT_DIR (required): Output directory (e.g. tmp/)

Workflow

  1. Run the script.
  2. The path to the generated Markdown file is printed to stdout.
  3. Read that path with the Read tool.
  4. To inspect images, use the Read tool on files under {OUTPUT_DIR}/images_{DOC_ID_FIRST_8_CHARS}/ (Claude is multimodal, so it can render images).
Installs
13
GitHub Stars
6
First Seen
Apr 17, 2026