360 Secure SkillHub
360 安全技能中心

Google Drive Search Files

这是一个原子化的搜索技能:当需要在 Google Drive 中定位文件或文件夹时,执行原生终端命令 gog drive search "query" --json,返回匹配文件对象的 JSON 数组。文档包含精益理念说明与命令示例,未说明认证配置、错误重试细节或结果分页方式。

zvirb
zvirb
热度 46.39
最近更新 2026-05-11 17:46:05
分类:搜索依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add google-drive-search-files
Metadata
name
Google Drive Search Files
description
Atomic node skill to search for files in 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 search fails.

Google Drive Search Files

This skill allows the agent to search for files across Google Drive using the native CLI.

Cognitive Directives

WHEN [A file or folder needs to be located in Google Drive] THEN [Execute the native terminal command gog drive search "query" --json]

Schema Example

{
  "command": "gog drive search \"project proposal\" --json"
}

Expected Output

A JSON array of file objects matching the search criteria.