Agent skill
google-docs-sheets
Export Google Docs and Google Sheets (spreadsheets) to Markdown files or stdout. Use when asked to fetch, download, or ingest Google Docs/Sheets content for summarization, analysis, or context loading. Tries gcloud ADC first with browser OAuth fallback.
Install this agent skill to your Project
npx add-skill https://github.com/mir/maratai/tree/main/claude-maratai-manager/skills/google-docs-sheets
SKILL.md
Google Docs & Sheets
Export Google Docs and Google Sheets content as Markdown. Uses Google APIs with read-only scopes, prefers gcloud ADC, and falls back to browser OAuth when needed.
Quick Start
Auth (preferred: gcloud ADC, run by default)
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/drive.readonly,https://www.googleapis.com/auth/spreadsheets.readonly
Google Docs
# Export to stdout
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py docs export <DOC_ID_OR_URL> --stdout
# Export to files (default ./exports when --stdout is not set)
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py docs export <DOC_ID_OR_URL>
# Write to a specific directory
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py docs export <DOC_ID_OR_URL> --output-dir ./exports
# Write and print
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py docs export <DOC_ID_OR_URL> --output-dir ./exports --stdout
Notes:
- Export uses HTML -> Markdown conversion and strips images.
- Output filename defaults to the Doc title (sanitized) with
.mdextension.
Google Sheets
# Export all tabs to stdout
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py sheets export <SHEET_ID_OR_URL> --stdout
# Export all tabs to files (default ./exports when --stdout is not set)
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py sheets export <SHEET_ID_OR_URL>
# Export specific tabs
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py sheets export <SHEET_ID_OR_URL> --tab "Summary" --tab "Data"
# Header control
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py sheets export <SHEET_ID_OR_URL> --header-row 2
uv run --directory ${CLAUDE_PLUGIN_ROOT}/skills/google-docs-sheets scripts/cli.py sheets export <SHEET_ID_OR_URL> --no-header
Notes:
- Each tab is exported to its own Markdown table.
- Output filenames are
Spreadsheet Title - Tab Title.md. - If the URL includes
gid=..., that tab is selected automatically (unless--tabis used).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
week-report
Prepare weekly management report. Use when asked to create a weekly report, summarize recent changes, or prepare a demo of what was done in the past week.
demo-page
Create a polished, self-contained HTML demo page from any source material — feature descriptions, ticket lists, release notes, or free-form conversation. Use when asked to create a demo page, presentation, or showcase.
jira-confluence
Access Jira issues and Confluence pages via Python scripts with OAuth 2.0 authentication. Use when user asks about Jira tickets, issues, bugs, stories, epics, sprints, or Confluence pages, wiki, documentation.
commit
Auto-commit with smart branching. Use when asked to commit, push changes, or prepare a merge request.
data-analyst
Data analysis master. Use when asked to query a database, explore schema, analyze data, run SQL, or investigate tables.
week-report
Prepare weekly management report. Use when asked to create a weekly report, summarize recent changes, or prepare a demo of what was done in the past week.
Didn't find tool you were looking for?