Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

google-docs

Skill by Open-Curiosity

Google Docs access for AI assistants, through the gws CLI. It creates blank documents, reads and appends text, and runs structured batch edits on document bodies. It is aimed at users who need collaborative editing or live sharing of Google Docs content.

  • Score 67
  • 2.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install google-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Open-Curiosity/gini-agent /tmp/gini-agent && mkdir -p ~/.claude/skills && cp -r /tmp/gini-agent/skills/google/google-docs ~/.claude/skills/google-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install google-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets the assistant work with the body of Google Docs using the gws command line tool. It can create a blank document, read a document's content, append text, and run structured batch edits against the Docs v1 API. The skill covers document content only.

Edits can insert text at a given index, replace every occurrence of a string, or apply heading styles. Batch requests are atomic, so if one request is invalid, none are applied. Sharing, moving, copying and trashing files are handled by the separate google-drive skill. The skill is for users on macOS or Linux who need to edit Google Docs content.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create blank documentCreates a new blank Google Doc with a title and returns a documentId for later calls.
  • Read documentReturns the structured Docs JSON for a document, or plain text when piped through jq.
  • Append textAdds text to the end of a document body using the gws docs +write helper.
  • Structured batch editsRuns batchUpdate requests such as insertText, replaceAllText and updateParagraphStyle.
  • Find document by titleUses the google-drive skill to locate a document before reading or editing it.

What you need

  • The gws CLI installed and authenticated with Docs scopes
  • macOS or Linux
  • GOOGLE_WORKSPACE_CLI_CLIENT_ID and GOOGLE_WORKSPACE_CLI_CLIENT_SECRET environment variables
  • A Google account
  • The docs scope, plus drive.readonly to find documents by title

Try asking

  • Create a blank Google Doc titled Weekly notes
  • Append today's meeting notes to my Weekly notes doc
  • Replace every {{NAME}} placeholder with Alice in my contract doc

Good to know

  • Documents.create accepts only a title, so content must be added with a follow-up call
  • Index-based batchUpdate edits are brittle because each insert shifts later indices
  • Plain-text export via jq misses tables, footnotes, headers and footers

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/google/google-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to google-docs

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

google-docs: common questions

Can this skill share or move a Google Doc?

No. Sharing, moving, copying, renaming and trashing are handled by the google-drive skill, which owns the file. This skill only handles the document body.

Does it work with Google Sheets or Slides?

No. The source says spreadsheets use the gws sheets commands and slide decks use the gws slides commands, not Docs.

How can I export the full text of a document?

The source says the jq path only catches paragraph text. For a faithful export including tables and headers, it recommends Drive's files.export with mimeType text/plain.

How do I install google-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is google-docs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is google-docs safe to use?

It scores 67 of 100. Grades: maintenance C, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to google-docs?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

google-docs Install

Add to stack

Loading.