Edit Google Docs with AI
Read the target section, make the requested change and check it in the same shared document.
To edit Google Docs with AI, give gws-docs the document ID and describe the change in terms a reviewer can recognise. The guide covers document creation, retrieval and batch edits, with a helper for appending plain text. A new decision from a meeting can therefore go at the end of the minutes without rewriting the existing discussion.
For a correction in the middle of a long document, have the agent read the affected passage first. Dates and headings often occur more than once. A specific instruction such as updating the delivery date under “Production” is more reliable than replacing every occurrence of a date across the file.
What it does
- Create a named Google document
- Retrieve the text before planning an edit
- Append a decision to existing minutes
- Apply a targeted change to the selected document
- Read the affected passage again after the edit
Install and use
- Install the skill, gws and the shared guidance. Connect a Google account with read access, plus editing rights for writes to an existing document.
- Ask “Find the delivery date under Production. Show me the sentence, then change just that date to the one we agreed.”
- Read the section again and check it in the live document before handing it back to colleagues.
FAQ
Source
Made by Google Workspace CLI contributors. Original skill: gws-docs, published on GitHub under the Apache-2.0 licence.
View on GitHub