google-docs

google-docs is a skill for Claude Code, Codex from sfc-gh-eraigosa/dotfiles. It costs 21 tokens per session (701 once invoked), scanned A, original, Apache-2.0.

A Google Workspace integration that uses the gws command-line tool to work with Google Docs, Drive, Gmail, and related services. It covers reading documents, finding files, and managing files after authentication.

In plain words
What is it for?
Use it to search Drive, read Google Docs, and create, update, or delete Workspace files with gws.
Why use it?
It removes the need to handle Google Workspace tasks manually or remember the relevant command formats and permission requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search Drive, read Google Docs, and create, update, or delete Workspace files with gws.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfc-gh-eraigosa/dotfiles/gdocsintegration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sfc-gh-eraigosa/dotfiles --skill gdocsintegration
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-eraigosa/dotfiles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration/github.svg)](https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration)
Your own site
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration"><img src="https://agentmods.dev/badge/skills/sfc-gh-eraigosa/dotfiles/gdocsintegration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 701 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00701
Opus 5.5 $0.00008 $0.00280
Sonnet 5.5 $0.00004 $0.00140
Haiku 4.5 $0.00002 $0.00070

Measured 1mo ago against content hash 6b8a87f4f0fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

google-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai/skills/gdocsintegration/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Docs Integration Skill

This skill allows Antigravity and Claude to interact with Google Workspace (Docs, Drive, Gmail, etc.) using the gws CLI.

Capabilities

  • Read Docs: Read content from Google Docs.
  • Search Drive: Search for files in Google Drive.
  • Manage Files: Create, update, or delete files in Workspace.

Usage

1. Authenticate & Setup

Check your current authentication state:

gws auth status
Option A: Automated Setup via gcloud (Recommended)

If you have gcloud installed, gws can provision the GCP project and desktop OAuth client automatically:

gcloud auth login
gws auth setup --login
Option B: Manual GCP Console Setup

If setting up credentials manually:

  1. In the Google Cloud Console, enable the Google Drive API and Google Docs API.
  2. Configure the OAuth consent screen (set user type, and add your email under Test Users if in Testing status).
  3. Under APIs & Services > Credentials, create an OAuth client ID of type Desktop app.
  4. Save the downloaded client secret file to ~/.config/gws/client_secret.json.
  5. Run the login flow:
    gws auth login
    

2. Common Commands

  • List Drive files:
    gws drive files list --params '{"pageSize": 10}'
    
  • Read a Doc:
    gws drive files get --fileId <FILE_ID> --alt media
    
  • Search for a Doc by name:
    gws drive files list --params '{"q": "name = '\''My Document'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'
    

Guidelines

  • JSON Output: gws returns JSON by default. Use jq to parse it if needed.
  • File IDs: Most operations require a fileId. Use the list or search commands to find it.

Gotchas

  • Error 401: invalid_client: If gws auth login fails with "The OAuth client was not found", ~/.config/gws/client_secret.json likely contains the unedited template placeholder (YOUR_CLIENT_ID...) seeded during installation. Replace that file with a valid desktop client secret from Google Cloud Console, or run gws auth setup --login.
  • Rate Limits: Google APIs have rate limits. Avoid making hundreds of requests in a tight loop.
  • Scopes: If you get "Insufficient Permission" errors, you may need to re-run gws auth login and ensure all requested scopes are approved.
  • Binary Format: When downloading non-Google formats (like PDFs or Word docs), use appropriate flags or helpers to handle the binary stream.
  • Large Docs: Extremely large documents might hit token limits if read in their entirety. Consider reading them in chunks or summarizing if supported by the underlying API.

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +20 lines 6b8a87f4f0fc
  2. 1mo ago First seen · 49 lines · 21 tokens per session scan A 161a925de770

Subscribe to this mod's changes

google-docs is a skill published in the GitHub repository sfc-gh-eraigosa/dotfiles (50 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 701 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

macos-release

Release a native macOS app to GitHub with DMG packaging and Sparkle appcast updates. Use this skill whenever the user wants to publish a new version, create a release, ship an update, push a release to GitHub, or update the appcast. Also trigger when the user mentions DMG creation, Sparkle signing, notarization…

freekmurze/dotfiles · 132 tokens

review-pr

Review and merge GitHub pull requests for Spatie packages. Use when asked to review a PR, review a pull request, merge a PR, or when given a GitHub PR URL to review. Also triggers on 'review this PR,' 'check this pull request,' 'merge this,' or '/review-pr'. Uses gh CLI for all GitHub operations.

freekmurze/dotfiles · 75 tokens

git-commit

This skill should be used BEFORE running any git commit command. Triggers when about to run git commit. Ensures commit messages follow Conventional Commits specification.

fredrikaverpil/dotfiles · 36 tokens

gh-cli

GitHub CLI (gh) conventions and the inline PR review recipe. Use when working with GitHub repositories, PRs, issues, actions, gh api, or any GitHub operations from the command line.

fredrikaverpil/dotfiles · 46 tokens

gh-pr

This skill should be used when creating a GitHub pull request via gh pr create. Covers the gh CLI mechanics; PR title and body conventions come from the pr-style skill.

fredrikaverpil/dotfiles · 39 tokens

product-launch-video

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route…

freekmurze/dotfiles · 91 tokens