360 Secure SkillHub
360 安全技能中心

Google Drive Download File

该 Skill 是一个原子节点,指导代理在需要从 Google Drive 下载文件到本地时,执行 `gog drive download <fileId> --out <localPath>` 命令。它依赖宿主提供 gog 二进制与终端执行环境,并返回下载完成确认;不包含认证配置、重试或文件内容处理。

zvirb
zvirb
热度 44.00
最近更新 2026-05-11 17:46:05
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:工作流 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add google-drive-download-file
Metadata
name
Google Drive Download File
description
Atomic node skill to download a file from Google Drive 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 download fails.

Google Drive Download File

This skill allows the agent to download a file from Google Drive using the native CLI.

Cognitive Directives

WHEN [A file needs to be downloaded locally from Google Drive] THEN [Execute the native terminal command gog drive download <fileId> --out <localPath>]

Schema Example

{
  "command": "gog drive download file_id_123 --out /tmp/document.pdf"
}

Expected Output

Confirmation that the file was downloaded to the specified path.