← 返回 Skills 市场
googleworkspace-bot

Gws Drive Upload

作者 googleworkspace-bot · GitHub ↗ · v1.0.12 · MIT-0
cross-platform ✓ 安全检测通过
553
总下载
0
收藏
17
当前安装
13
版本数
在 OpenClaw 中安装
/install gws-drive-upload
功能描述
Google Drive: Upload a file with automatic metadata.
使用说明 (SKILL.md)

drive +upload

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Upload a file with automatic metadata

Usage

gws drive +upload \x3Cfile>

Flags

Flag Required Default Description
\x3Cfile> Path to file to upload
--parent Parent folder ID
--name Target filename (defaults to source filename)

Examples

gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'

Tips

  • MIME type is detected automatically.
  • Filename is inferred from the local path unless --name is given.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth
  • gws-drive — All manage files, folders, and shared drives commands
安全使用建议
This skill appears to be a simple wrapper that runs the gws CLI to upload files to Google Drive — that is coherent. Before installing or invoking it: (1) verify you trust the gws binary on your PATH and know how it stores credentials (OAuth tokens/config files); (2) locate and review the referenced ../gws-shared/SKILL.md (or inspect what `gws generate-skills` would create) so you know what auth/global flags the agent will use; (3) be aware this runs a write operation to your Drive — confirm with the user and review file contents/target folder/parent ID before uploading; (4) if you need stronger guarantees, run the command manually first or inspect gws config files to ensure minimal privileges. The missing shared SKILL.md is the main uncertainty — if you can provide it, confidence in this assessment would increase.
功能分析
Type: OpenClaw Skill Name: gws-drive-upload Version: 1.0.12 The skill bundle provides standard instructions for an AI agent to upload files to Google Drive using the 'gws' CLI tool. It includes appropriate safety warnings (SKILL.md) advising the agent to confirm with the user before execution and contains no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name/description (upload to Google Drive) match the declared requirement: the gws CLI binary is the only required tool and is a reasonable dependency for a Drive upload helper.
Instruction Scope
The SKILL.md instructs the agent to read ../gws-shared/SKILL.md for auth, global flags, and security rules (and to run `gws generate-skills` if missing). That means the agent may attempt to read files outside this skill and invoke the gws CLI to create or modify config — behavior related to auth is expected, but the referenced shared file is not included here, which increases uncertainty about exactly what will be read/changed at runtime.
Install Mechanism
Instruction-only skill (no install spec, no code files). This is low risk in terms of writing arbitrary code to disk; runtime risk comes from calling the external gws binary.
Credentials
No environment variables or credentials are declared by this skill. In practice the gws CLI likely uses local config/credentials (OAuth tokens, config files). That is proportionate to uploading to Drive, but you should confirm where gws stores credentials and that those credentials are limited to the expected Google account/project.
Persistence & Privilege
Skill is not always-enabled and does not request special platform persistence. It can be invoked by the agent normally; nothing here indicates it modifies other skills or system-wide settings beyond using gws.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gws-drive-upload
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gws-drive-upload 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.12
- Updated the skill version to 0.22.5 in SKILL.md. - No other changes to usage, flags, examples, or documentation content.
v1.0.11
- Updated internal version number from 0.22.3 to 0.22.4 in SKILL.md.
v1.0.10
- Updated version number in SKILL.md from 0.22.2 to 0.22.3. - No other content changes.
v1.0.9
- Updated internal version metadata from 0.22.1 to 0.22.2 in SKILL.md.
v1.0.8
- Updated skill version metadata from 0.22.0 to 0.22.1 in SKILL.md. - No functional or documentation changes beyond version update.
v1.0.7
- Updated skill version to 0.22.0 in metadata. - No functional changes; documentation version increment only.
v1.0.6
- Version updated from 0.21.1 to 0.21.2 in SKILL.md. - No changes to functionality or usage; documentation only.
v1.0.5
- Updated version metadata from 0.20.1 to 0.21.1 in SKILL.md. - No functional or usage changes to the skill itself.
v1.0.4
- Updated version metadata from 0.20.0 to 0.20.1 in SKILL.md.
v1.0.3
- Bumped version to 0.20.0 in SKILL.md metadata (was 0.19.0). - No other user-facing changes.
v1.0.2
- Updated SKILL.md metadata version from 1.0.0 to 0.19.0. - Removed the top-level version field and moved version info under metadata. - No changes to functionality or usage instructions.
v1.0.1
- Updated YAML list formatting in the metadata section for improved consistency. - No functional or usage changes; documentation cleanup only.
v1.0.0
Initial release of gws-drive-upload: - Upload files to Google Drive via CLI with automatic metadata detection. - Support for specifying parent folder and target filename. - Automatic MIME type detection and filename inference. - Usage instructions, flags, and example commands provided in documentation. - Requires `gws` binary and shared authentication setup.
元数据
Slug gws-drive-upload
版本 1.0.12
许可证 MIT-0
累计安装 17
当前安装数 17
历史版本数 13
常见问题

Gws Drive Upload 是什么?

Google Drive: Upload a file with automatic metadata. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 553 次。

如何安装 Gws Drive Upload?

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

Gws Drive Upload 是免费的吗?

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

Gws Drive Upload 支持哪些平台?

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

谁开发了 Gws Drive Upload?

由 googleworkspace-bot(@googleworkspace-bot)开发并维护,当前版本 v1.0.12。

💬 留言讨论