← Back to Skills Marketplace
zvirb

Google Drive Delete File

by zvirb · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
57
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install google-drive-delete-file
Description
Atomic node skill to delete 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 the deletion fails.

Google Drive Delete File

This skill allows the agent to move a file to trash in Google Drive using the native CLI.

Cognitive Directives

WHEN [A file needs to be removed or moved to trash in Google Drive] THEN [Execute the native terminal command gog drive delete \x3CfileId>]

Schema Example

{
  "command": "gog drive delete file_id_123"
}

Expected Output

Confirmation that the file was moved to the trash.

Usage Guidance
This skill simply instructs the agent to run 'gog drive delete <fileId>' using the gog CLI. Before installing, ensure: (1) you trust the gog binary on the system and that it’s installed and authenticated to the correct Google account; the skill does not supply or request credentials itself, it uses whatever account gog is already signed into; (2) you understand the consequences of deleting Drive files (it moves to trash and may be permanently deleted depending on gog/Drive behavior and retention settings); and (3) if you allow autonomous agent invocation, consider whether you want an agent to be able to delete files without explicit user confirmation. If you need stricter controls, restrict this skill from autonomous use or require confirmation prompts in agent policies.
Capability Analysis
Type: OpenClaw Skill Name: google-drive-delete-file Version: 1.0.1 The skill is a straightforward implementation for deleting Google Drive files using the 'gog' CLI. The instructions in SKILL.md and the command structure in the cognitive directives are consistent with the stated purpose, showing no signs of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name and description match the declared requirement of the gog binary and the SKILL.md instructs exactly to run 'gog drive delete <fileId>'; the requested binary is appropriate for the stated task.
Instruction Scope
SKILL.md only instructs running a single gog command to delete/move a file to trash. It does not instruct reading unrelated files, environment variables, or exfiltrating data.
Install Mechanism
No install spec is present (instruction-only), so nothing is downloaded or written to disk by the skill itself — lowest-risk installation footprint.
Credentials
The skill declares no env vars or credentials. That is consistent but implicit: it relies on an already-installed, already-authenticated gog CLI. The SKILL.md does not mention the need for the gog CLI to be configured with Google account credentials or where those credentials live, which is a usability/security note rather than a mismatch.
Persistence & Privilege
always is false and the skill does not request persistent modification of agent/system configs. Note: model invocation is allowed (default), so an agent could call this skill autonomously if permitted by agent policies.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install google-drive-delete-file
  3. After installation, invoke the skill by name or use /google-drive-delete-file
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Switched from using the GoogleWorkspace plugin to the native gog CLI for file deletion. - Updated requirements to depend on the gog binary instead of a plugin. - Adjusted usage instructions and schema to reflect command-line operation. - Clarified that files are moved to trash, not permanently deleted, via CLI. - Updated expected output and cognitive directives accordingly.
v1.0.0
- Initial release of "Google Drive Delete File" skill. - Allows deletion of a specific file from Google Drive via the GoogleWorkspace plugin. - Requires users to provide a file ID for deletion. - Returns a JSON confirmation upon successful deletion. - Incorporates lean principles for efficiency, standardization, and error reporting.
Metadata
Slug google-drive-delete-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 Delete File?

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

How do I install Google Drive Delete File?

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

Is Google Drive Delete File free?

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

Which platforms does Google Drive Delete File support?

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

Who created Google Drive Delete File?

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

💬 Comments