
Gws Docs Write
Append plain text to a Google Doc by document ID using the `gws` CLI after shared auth is configured.
Install
npx skills add https://github.com/googleworkspace/cli --skill gws-docs-writeWhat is this skill?
- Command: `gws docs +write --document <ID> --text <TEXT>`
- Requires `gws` binary and gws-shared SKILL for auth and global flags
- Plain-text append at end of document body
- Write command—agent should confirm with user before executing
- Rich formatting needs raw batchUpdate API instead of this helper
Adoption & trust: 26.6k installs on skills.sh; 26.9k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Lark Maillarksuite/cli
Lark Slideslarksuite/cli
Pptxanthropics/skills
Pdfanthropics/skills
Lark Markdownlarksuite/cli
Docxanthropics/skills
Journey fit
Common Questions / FAQ
Is Gws Docs Write safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Gws Docs Write
# 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 ```bash gws docs +write --document <ID> --text <TEXT> ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `--document` | ✓ | — | Document ID | | `--text` | ✓ | — | Text to append (plain text) | ## Examples ```bash 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](../gws-shared/SKILL.md) — Global flags and auth - [gws-docs](../gws-docs/SKILL.md) — All read and write google docs commands