← 返回 Skills 市场
zvirb

Google Docs Update Document

作者 zvirb · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
86
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install google-docs-update-document
功能描述
Atomic node skill to update a Google Doc using the gog CLI.
使用说明 (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.

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-docs-update-document
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-docs-update-document 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug google-docs-update-document
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Google Docs Update Document 是什么?

Atomic node skill to update a Google Doc using the gog CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 86 次。

如何安装 Google Docs Update Document?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-docs-update-document」即可一键安装,无需额外配置。

Google Docs Update Document 是免费的吗?

是的,Google Docs Update Document 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Google Docs Update Document 支持哪些平台?

Google Docs Update Document 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google Docs Update Document?

由 zvirb(@zvirb)开发并维护,当前版本 v1.0.2。

💬 留言讨论