360 Secure SkillHub
360 安全技能中心

Google Docs Read Document

该 Skill 是一个原子节点,调用本机 gog CLI 的 `gog docs cat <docId>` 命令,读取指定 Google 文档的纯文本内容;读取失败时会报告错误。仅提供读取能力,不包含写入、编辑、文档列表或认证配置。

zvirb
zvirb
热度 50.05
最近更新 2026-05-11 17:45:58
分类:效率依赖:第三方 API / 代码执行应用场景:文件转换 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add google-docs-read-document
Metadata
name
Google Docs Read Document
description
Atomic node skill to read a Google Doc using the gog CLI.
os
all
requires
{"bins":["gog"]}

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 reading fails.

Google Docs Read Document

This skill allows the agent to read the plain text contents of a Google Document using the native CLI.

Cognitive Directives

WHEN [The contents of a Google Doc need to be read] THEN [Execute the native terminal command gog docs cat <docId>]

Schema Example

{
  "command": "gog docs cat doc_id_123"
}

Expected Output

The plain text content of the Google Doc.