360 Secure SkillHub
360 安全技能中心

Google Docs Create Document

该 Skill 是一个原子节点,指导 agent 在新文档需要创建时执行 gog docs create <title> --json 命令,通过 gog 命令行工具新建 Google 文档,并以 JSON 形式返回新文档的 ID 和详情;失败时报告错误。

zvirb
zvirb
热度 50.46
最近更新 2026-05-11 17:45:58
分类:自动化依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add google-docs-create-document
Metadata
name
Google Docs Create Document
description
Atomic node skill to create 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 the creation fails.

Google Docs Create Document

This skill allows the agent to create a new Google Document using the native CLI.

Cognitive Directives

WHEN [A new Google Doc needs to be created] THEN [Execute the native terminal command gog docs create <title> --json]

Schema Example

{
  "command": "gog docs create \"My New Document\" --json"
}

Expected Output

A JSON object with the new document ID and details.