MCPInstall
googleworkspace/cli avatar

gws-docs-write

Google Docs: Append text to a document.

Installs
52.3K
Last 24h
+110
Trending rank
#1872
Security
Pass

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/googleworkspace/cli --skill gws-docs-write
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads gws-docs-write automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

Security audits

Independent scans of the skill's instructions and bundled files, each dated to when it ran.

Gen Agent Trust Hub PassSAFE ·This skill allows the agent to append text to Google Documents using the 'gws' CLI tool. It is a legitimate utility from the vendor, but it presents a potential attack surface for indirect prompt injection and command execution because it handles user-provided document IDs and text content without explicit validation or sanitization steps.· Audited
Socket PassNo alerts· Audited
Snyk PassLOW ·Risk: LOW · No issues· Audited
Runlayer PassNONE ·1 file scanned · No issues· Audited
ZeroLeaks PassNONE ·Score: 93/100 · 2 sections analyzed· Audited

SKILL.md

The instructions your agent reads when the skill is triggered.

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

FAQ

What does the gws-docs-write skill do?

Google Docs: Append text to a document.

How do I install gws-docs-write?

Run npx skills add https://github.com/googleworkspace/cli --skill gws-docs-write in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/gws-docs-write/ (personal) or .claude/skills/gws-docs-write/ (project).

Which AI agents can use gws-docs-write?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is gws-docs-write safe to install?

Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer passed; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.

Who maintains gws-docs-write?

It is published by googleworkspace/cli in googleworkspace/cli. It has 52,298 recorded installs.

More from googleworkspace/cli

View all →
googleworkspace/cli avatar

gws-gmail

googleworkspace/cli

Gmail: Send, read, and manage email.

googleworkspace/cli avatar

gws-drive

googleworkspace/cli

Google Drive: Manage files, folders, and shared drives.

77.7K installs
googleworkspace/cli avatar

gws-gmail-send

googleworkspace/cli

Gmail: Send an email.

googleworkspace/cli avatar

gws-shared

googleworkspace/cli

gws CLI: Shared patterns for authentication, global flags, and output formatting.

69.1K installs
googleworkspace/cli avatar

gws-calendar

googleworkspace/cli

Google Calendar: Manage calendars and events.

googleworkspace/cli avatar

gws-sheets

googleworkspace/cli

Google Sheets: Read and write spreadsheets.

61.9K installs

Popular docs & writing skills

View category →
mattpocock avatar

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.3M installs
open.feishu.cn avatar

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing881.8K installs
mattpocock avatar

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing569.3K installs
mattpocock avatar

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing549.8K installs
mattpocock avatar

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing549.4K installs
mattpocock avatar

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing548.6K installs