google-docs
Google Docs provides CLI access to document content through the gws command—create blank docs, read existing content, append text, and execute structured batch updates against the Docs API. Use this skill for editing document bodies; for file operations like sharing or moving, reach for google-drive instead.
Google Docs lets you read, append text, and run batch edits on Google Docs content via the gws CLI.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-18
Google Docs lets you read, append text, and run batch edits on Google Docs content via the gws CLI. Google Docs provides CLI access to document content through the gws command—create blank docs, read existing content, append text, and execute structured batch updates against the Docs API. Use this skill for editing document bodies; for file operations like sharing or moving, reach for google-drive instead.
Use it when
- Yes, google-docs supports appending text to Google Documents through gws CLI commands.
- Google Docs lets you create blank documents and populate them with structured edits via the gws command.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
Open-Curiosity/gini-agent/google-docs · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I read a Google Doc using google-docs?
Google Docs provides CLI access to read document content through the gws command. You can retrieve and display the body content of existing Google Documents, making it easy to inspect text and structure from the command line without opening the web interface.
Can I append text to Google Docs via CLI?
Yes, google-docs supports appending text to Google Documents through gws CLI commands. You can add content to the end of a document or insert text at specific positions using structured edits against the Docs API.
How do I create new Google Document and populate it?
Google Docs lets you create blank documents and populate them with structured edits via the gws command. After creating a new doc, you can execute batch updates to add text, apply styles, and format content in a single operation.
What batch update operations does google-docs support?
Google Docs supports batch updates including find-and-replace operations, style formatting, heading application, and text insertion. These structured edits run against the Docs API, allowing you to make multiple changes to a document efficiently from the CLI.
Can I apply styles and formatting to Google Docs content?
Yes, google-docs enables you to apply styles, headings, and other formatting through structured batch updates. Use gws CLI commands to format document bodies programmatically without manual web interface interaction.
Is google-docs suitable for file operations like sharing?
Google Docs focuses on document content manipulation—reading, editing, and appending text through the CLI. For file operations like sharing or moving documents, use the google-drive skill instead, which handles those workspace-level tasks.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Google Docs
Use gws docs to create blank documents, read existing document content, append text, and run structured batch updates against the Docs v1 API. This is the content surface for Google Docs — for the file as an object (sharing, copying, moving, trashing) use google-drive instead.
Prerequisites
- If this deployment is managed/hosted, the Google credential is already provisioned at sign-in —
gwsis installed and authenticated, so skip the setup flow below and rungwsdirectly. Scopes are fixed at sign-in on a managed deployment: when a call fails withscope requiredor HTTP 401, tell the user which action needs a scope their account wasn't granted, instead of trying to set
(truncated - see the full file via the links below)
File tree — 1 file
skills/google/google-docs/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Read, edit, or append text to Google Docs content via CLI”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill connects your agent to Google Docs through the Docs v1 REST API, letting you read document content, create new docs, and insert or replace text. OAuth permissions default to read-only; write access requires explicit user opt-in at install.
Google Drive integrates Drive v3 API operations—search, list, upload, download, copy, move, share, and permission management—through the gws CLI. Requires gws authenticated against a Google account with appropriate Drive scopes. Use this skill to locate files, manage folders and shared drives, adjust sharing settings, or pull file metadata into other workflows.
Google Meet wraps the Meet v2 API to create persistent video spaces with shareable join links, manage access settings, and retrieve conference history including participants, recordings, and transcripts. Requires gws CLI authenticated with Google Workspace OAuth credentials.
google-gmail wraps the Gmail API through the gws command-line tool, letting you compose, read, search, and organize messages without leaving the terminal. It outputs structured JSON for easy piping to jq and other utilities, and includes helpers for common tasks like sending, replying, and triaging your inbox.
Google Calendar integrates with gws to let you browse your agenda, schedule new events with attendees, query availability windows, and handle RSVPs. Works on macOS and Linux with Google Workspace OAuth credentials and the gws CLI tool.
This skill signs a Google account into its own gws config directory and registers it with a tag, enabling the multi-account model where one OAuth client authorizes many accounts. It runs the OAuth login flow in your default browser, confirms the session, and registers the account locally. Typically invoked by google-workspace-setup rather than directly.
More skills gdoc (MIT)