← 返回 Skills 市场
zvirb

Google Drive Share File

作者 zvirb · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
56
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install google-drive-share-file
功能描述
Atomic node skill to share a file in Google Drive 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 sharing fails.

Google Drive Share File

This skill allows the agent to share a file or folder in Google Drive using the native CLI.

Cognitive Directives

WHEN [A file or folder needs to be shared with a user or made public] THEN [Execute the native terminal command gog drive share \x3CfileId> --role reader --type user --email \x3Cemail>]

Schema Example

{
  "command": "gog drive share file_id_123 --role writer --type user --email [email protected] --json"
}

Expected Output

A JSON object confirming the permission creation.

安全使用建议
This skill is coherent but acts through your installed gog CLI and therefore will use whatever Google authentication is already configured on the machine. Before installing/using: ensure gog is installed and authenticated safely, verify the fileId and recipient email to avoid accidental exposure, prefer least-privilege roles (reader vs writer), and test in a non-sensitive folder first. If you allow autonomous agent invocation, be aware the agent could run this command and change sharing settings without an interactive prompt.
功能分析
Type: OpenClaw Skill Name: google-drive-share-file Version: 1.0.1 The skill provides standardized instructions for an AI agent to share Google Drive files or folders using the 'gog' CLI tool. The SKILL.md file contains clear cognitive directives and schema examples that align with the stated purpose, with no evidence of malicious intent, data exfiltration, or suspicious command execution.
能力评估
Purpose & Capability
Name/description match the actual requirements: the skill requires the 'gog' CLI and its runtime instruction is a single gog drive share command. There are no unrelated binaries, env vars, or config paths requested.
Instruction Scope
SKILL.md's runtime directive is narrowly scoped to executing the gog share command for a given fileId and email. It does not instruct the agent to read unrelated files, network endpoints, or credentials. Note: the command will use whatever authentication the gog CLI is already configured with (tokens/config on disk), so behavioral caution is warranted to avoid unintended public sharing.
Install Mechanism
Instruction-only skill with no install spec or downloads. This is low-risk: nothing is written to disk by the skill itself.
Credentials
The skill declares no environment variables or credentials. It implicitly relies on the gog CLI's existing authentication (user's Google credentials/config), which is proportionate to the task of sharing Drive files.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence or modify other skills or system-wide settings. It can be invoked by the agent, which is appropriate for this atomic operation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-drive-share-file
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-drive-share-file 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Switched implementation from GoogleWorkspace plugin to the native gog CLI for sharing files. - Updated requirements to use the gog binary instead of a plugin. - Revised description and usage instructions to reflect the new gog CLI syntax. - Updated schema example and output to match gog CLI output format.
v1.0.0
- Initial release of Google Drive Share File skill. - Enables sharing a file or updating permissions in Google Drive via the Google Workspace plugin. - Supports specifying file ID, recipient email, role, and type. - Returns a confirmation JSON object after sharing.
元数据
Slug google-drive-share-file
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Google Drive Share File 是什么?

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

如何安装 Google Drive Share File?

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

Google Drive Share File 是免费的吗?

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

Google Drive Share File 支持哪些平台?

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

谁开发了 Google Drive Share File?

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

💬 留言讨论