Generated banner for Gws Docs Write
Generated logo for Gws Docs Write

Gws Docs Write

Google WorkspaceOfficialPublished by Google Workspace

  • Skill
  • Tool integration
  • Automation and integrations
  • Apache-2.0
  • No issues found

From the author

Google Docs: Append text to a document.
— the description by Google Workspace

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The gws-docs-write skill provides a direct interface to append plain text to an existing Google Docs document using its unique document ID. It is designed as a focused utility within the broader gws suite, allowing users to automate document updates programmatically. The skill ensures that text is appended to the end of the document body, making it suitable for logging, automated reporting, or simple content generation tasks.

What it does

  • Appends plain text to the end of a specified Google Docs document.
  • Requires a valid Google Docs document ID to target the correct file.
  • Integrates with the gws CLI framework for authentication and execution.
  • Provides a straightforward command-line interface for document modification.

When to use it

  • When you need to programmatically add text to a Google Doc from a terminal or script.
  • When automating simple document updates like appending logs or status reports.
  • When you have the document ID and need a quick way to insert content at the end of the file.

Advantages

  • Simplifies the process of updating Google Docs via command line.
  • Directly targets specific documents using their unique identifiers.
  • Lightweight and easy to incorporate into automated workflows.

Usage examples

“Append the status report summary to my document with ID 12345.”
The agent executes the command to append the provided text to the end of the specified Google Doc.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/googleworkspace/gws-docs-write/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip gws-docs-write.zip -d .agents/skills

Documentation by Google Workspace

docs +write

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

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google Workspace
Publisher
Google Workspace (Official)
Source
googleworkspace/cli · skills/gws-docs-write · commit cd3697e
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google Workspace.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gws-docs-write.zip