docs +write

SkillDocs & knowledge

gws-docs-write is a skill that lets an AI agent append text to a Google Docs document. It is useful when you want the agent to add content to an existing document without replacing what is already there. The skill handles the append operation so you do not have to copy and paste manually.

Use docs +write in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add docs +write and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the docs +write skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have a Google Docs document that you want to append text to.

docs +writeStart free

What your AI can do with it

  • Append text to a Google Docs document
  • Add content to the end of an existing document
  • Work with Google Docs documents by appending text

Getting started

  1. Have a Google Docs document that you want to append text to.
  2. Ensure the agent has the necessary permissions to access and modify that document.
  3. Configure the skill with the document identifier or link.
  4. Ask the agent to append the desired text to the document.

What this skill tells your AI

The instructions your AI receives, as published by googleworkspace/cli in skills/gws-docs-write/SKILL.md and read by Ahel’s review.

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Append text to a document

Usage

gws docs +write --document <ID> --text <TEXT>

Flags

FlagRequiredDefaultDescription
--document✓—Document ID
--text✓—Text to append (plain text)

Examples

gws docs +write --document DOC_ID --text 'Hello, world!'

Tips

  • Text is inserted at the end of the document body.
  • For rich formatting, use the raw batchUpdate API instead.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth
  • gws-docs — All read and write google docs commands

Signals

GitHub stars
31k
Forks
2k
Last commit
Sep 2026

Questions

Can it append text to a Google Docs document?
Yes, this skill appends text to a Google Docs document.
Does it replace existing content?
No, it appends text to the end of the document without replacing existing content.
What do I need to use this skill?
You need a Google Docs document and the agent must have permission to modify it.
Can it create a new document?
No, this skill only appends text to an existing document.
Advanced
Item type
skill
Key
gws-docs-write
Source
github.com/googleworkspace/cli