← Back to Skills Marketplace
zvirb

Google Drive Share File

by zvirb · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
56
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install google-drive-share-file
Description
Atomic node skill to share a file in Google Drive using the gog CLI.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install google-drive-share-file
  3. After installation, invoke the skill by name or use /google-drive-share-file
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug google-drive-share-file
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Google Drive Share File?

Atomic node skill to share a file in Google Drive using the gog CLI. It is an AI Agent Skill for Claude Code / OpenClaw, with 56 downloads so far.

How do I install Google Drive Share File?

Run "/install google-drive-share-file" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Google Drive Share File free?

Yes, Google Drive Share File is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Google Drive Share File support?

Google Drive Share File is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Google Drive Share File?

It is built and maintained by zvirb (@zvirb); the current version is v1.0.1.

💬 Comments