← Back to Skills Marketplace
zvirb

Google Docs Update Document

by zvirb · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
86
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install google-docs-update-document
Description
Atomic node skill to update a Google Doc using the gog CLI.
README (SKILL.md)

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, broken down into its simplest, smallest component to eliminate waste and ensure perfection.
  • Standardized Work (Hyojun Sagyo): This node represents the most efficient, standardized path for this specific task before automation.
  • Jidoka (自働化): This node includes autonomous defect detection. It relies on the CLI's self-healing loop and will report errors if the update fails.

Google Docs Update Document

This skill allows the agent to write or insert text into an existing Google Document using the native CLI.

Cognitive Directives

WHEN [Text needs to be added, written, or updated in a Google Doc] THEN [Execute the native terminal command gog docs write \x3CdocId> --text "..." or gog docs edit \x3CdocId> \x3Cfind> \x3Creplace>]

Schema Example

{
  "command": "gog docs edit doc_id_123 \"old text\" \"new text\""
}

Expected Output

A JSON object or confirmation string indicating the update was successful.

Usage Guidance
This skill simply runs the gog CLI to edit Google Docs. Before installing: 1) Verify you trust the gog CLI binary on the system (is it an official tool and properly installed?). 2) Confirm which Google account the gog CLI is authenticated as, since the skill will use those credentials to modify documents. 3) Limit the account's permissions where possible (use a service account or account with only the needed Drive permissions). 4) Because the SKILL.md is terse, review how errors are reported and test the commands manually first to ensure behavior matches your expectations.
Capability Analysis
Type: OpenClaw Skill Name: google-docs-update-document Version: 1.0.2 The skill bundle provides standardized instructions for an AI agent to update Google Documents using a CLI tool named 'gog'. The content in SKILL.md and _meta.json is consistent with the stated purpose, lacks any suspicious commands, and does not contain indicators of data exfiltration or malicious prompt injection.
Capability Assessment
Purpose & Capability
The skill's name and description match the SKILL.md instructions: it expects the gog CLI and instructs using `gog docs write` / `gog docs edit` to update a document. There are no unrelated binaries, env vars, or config paths declared.
Instruction Scope
Instructions are narrowly scoped to issuing gog commands to write or edit a Google Doc. The SKILL.md does not direct the agent to read unrelated files, environment variables, or exfiltrate data. It is somewhat terse (no explicit error-handling/auth guidance), but stays within the stated task.
Install Mechanism
This is an instruction-only skill with no install spec or downloads — lowest-risk install profile. It assumes the gog binary already exists on PATH.
Credentials
No env vars are requested, which is consistent with an instruction-only CLI wrapper. However, the gog CLI itself will use whatever local Google authentication is configured (user's gog/gcloud credentials or config files). That implicit use of the user's Google account is expected but worth noting because the skill will perform write operations with those credentials.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; autonomous invocation is allowed (platform default). It does not request system-wide configuration changes or persistent installation steps.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install google-docs-update-document
  3. After installation, invoke the skill by name or use /google-docs-update-document
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Switched backend from GoogleWorkspace plugin to the native gog CLI for document updates. - Updated requirements to use the gog binary instead of the GoogleWorkspace plugin. - Modified usage instructions and schema example to reflect CLI commands (`gog docs write`/`gog docs edit`). - Updated Lean Philosophy section to refer to CLI-based automation. - Clarified expected output to allow for a confirmation string or JSON object.
v1.0.1
- Updated supported operating systems from "windows" to "all" in the skill requirements.
v1.0.0
Google Docs Update Document v1.0.0 - Initial release of the atomic skill to update or append content in a Google Doc. - Uses the google-workspace-plugin for performing document updates. - Accepts a document ID, text content, and optional index for precise updates. - Reports errors automatically if the update fails.
Metadata
Slug google-docs-update-document
Version 1.0.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is Google Docs Update Document?

Atomic node skill to update a Google Doc using the gog CLI. It is an AI Agent Skill for Claude Code / OpenClaw, with 86 downloads so far.

How do I install Google Docs Update Document?

Run "/install google-docs-update-document" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Google Docs Update Document free?

Yes, Google Docs Update Document is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Google Docs Update Document support?

Google Docs Update Document is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Google Docs Update Document?

It is built and maintained by zvirb (@zvirb); the current version is v1.0.2.

💬 Comments