docs +write
SkillDocs & knowledgeThis skill connects your AI to Google Workspace so it can create and edit files like Docs and Sheets, and work with Gmail and Calendar. Once added, your AI can draft documents, update spreadsheets, send emails, and manage events for you. It works through the Google Workspace command-line tool, which covers Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more.
Available today. Use it from your connected AI after setup.
No other account needed.
Add the skill, then ask your AI to create a document, update a spreadsheet, or handle an email or calendar task. It will use your Google Workspace account to get it done.
Then ask your AI: use the docs +write skill
What your AI can do with it
- Create and edit Google Docs
- Create and update Google Sheets
- Draft and send Gmail messages
- Manage Calendar events
- Work with files stored in Drive
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.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Append text to a document
Usage
gws docs +write --document <ID> --text <TEXT>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--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
- Installs
- 45k installs
Advanced
- Catalog kind
- skill
- Gateway key
gws-docs-write- Source
- github.com/googleworkspace/cli