← 返回 Skills 市场
9ying66

clawbus-google-workspace

作者 clawbus · GitHub ↗ · v1.2.2 · MIT-0
cross-platform ✓ 安全检测通过
132
总下载
0
收藏
0
当前安装
10
版本数
在 OpenClaw 中安装
/install clawbus-google-workspace
功能描述
Manage Google Calendar, Google Drive, and Google Sheets through MyBrandMetrics-connected data sources and the local Google Workspace CLI (gws). Supports cale...
使用说明 (SKILL.md)

clawbus-google-workspace

Manage Google Calendar, Google Drive, and Google Sheets through MyBrandMetrics-connected data sources and the local Google Workspace CLI (gws).

Use this skill when the user wants to work with Calendar events, Drive files, or Google Sheets data from chat.

Website: https://www.clawbus.com/
MyBrandMetrics API: https://mybrandmetrics.com/

Core Capabilities

Capability Details
Calendar workflows List events and create calendar events when the user provides the event details.
Drive workflows List files and upload files through the local gws CLI.
Sheets reading Read ranges from Google Sheets.
Sheets writing Append rows or update spreadsheet data.
Natural-language operations Use natural-language prompts in chat after the skill is installed and setup is ready.

Requirements

  • A Google account.
  • Access to MyBrandMetrics.
  • The needed Google data sources connected in MyBrandMetrics: Google Calendar, Google Drive, or Google Sheets.
  • A MyBrandMetrics API key.
  • The local Google Workspace CLI (gws) installed.
  • A clear task, such as a calendar action, Drive file operation, or Google Sheets read/write request.

Setup Flow

  1. Open https://mybrandmetrics.com/ and sign in with Google.
  2. In MyBrandMetrics, open Data sources.
  3. Connect the data sources required for the workflow: Google Calendar for calendar tasks, Google Drive for file tasks, and Google Sheets for spreadsheet tasks.
  4. Wait until the selected MyBrandMetrics connections are ready.
  5. Get the MyBrandMetrics API key.
  6. Install the clawbus-google-workspace skill.
  7. Install the Google Workspace CLI if gws is not already available.
  8. Start the Google Workspace workflow with natural-language instructions.

How It Works

The wrapper script uses the MyBrandMetrics API key with the configured MyBrandMetrics token service to get a short-lived Google session for the selected data source, then runs the matching gws command.

Chat task Data source to connect Wrapper service
Calendar events Google Calendar calendar
Drive files Google Drive drive
Spreadsheet rows and ranges Google Sheets sheets

For local script usage, provide the MyBrandMetrics API key with one of these options:

export GWS_SKILL_API_KEY="YOUR_MYBRANDMETRICS_API_KEY"

or:

echo "YOUR_MYBRANDMETRICS_API_KEY" > ~/.google_workspace_api_key

Do not paste short-lived Google session values into chat, files, examples, or logs. The wrapper handles them for the current command.

The runtime should provide the token service location through GWS_TOKEN_URL.

Example Requests

Natural-language examples:

Show my upcoming Google Calendar events for this week.
Upload this report to Google Drive and put it in the campaign folder.
Read rows A1:D20 from this Google Sheet and summarize the status column.
Append these rows to the sales tracker sheet after I confirm the target range.

Command Reference

Run Google Workspace commands through the wrapper:

python3 scripts/gws_wrapper.py \x3Cservice> \x3Ccommand> [args]

Useful patterns:

python3 scripts/gws_wrapper.py calendar events list
python3 scripts/gws_wrapper.py calendar events create --title "Meeting" --start "2026-05-15T10:00:00Z"
python3 scripts/gws_wrapper.py drive ls
python3 scripts/gws_wrapper.py drive upload \x3Cfilename>
python3 scripts/gws_wrapper.py sheets get \x3Cspreadsheet-id> \x3Crange>
python3 scripts/gws_wrapper.py sheets append \x3Cspreadsheet-id> \x3Crange> --data '[[1, 2], [3, 4]]'

Review Before Changes

Before creating, updating, uploading, appending, or deleting anything, confirm:

  • the connected Google account or workspace;
  • the calendar, Drive folder, file, spreadsheet, sheet, or range;
  • the exact data to write or upload;
  • whether the action changes existing content.

Troubleshooting

  • If MyBrandMetrics is not ready, reconnect the needed data source in MyBrandMetrics and try again: Google Calendar, Google Drive, or Google Sheets.
  • If the wrapper asks for a MyBrandMetrics API key, set GWS_SKILL_API_KEY or save the key to ~/.google_workspace_api_key.
  • If the wrapper asks for the token service, set GWS_TOKEN_URL in the runtime environment.
  • If gws is not found, run scripts/install_gws.sh or install the Google Workspace CLI manually.
  • If a sheet or Drive file cannot be found, check that the connected Google account has access.
安全使用建议
Install only if you trust MyBrandMetrics/Clawbus and need Google Calendar, Drive, or Sheets access from chat. Confirm the token-service URL, protect the API key file or environment variable, install the gws CLI from a trusted pinned source if possible, and carefully review any create, upload, append, update, or delete action before approving it.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose matches the artifacts: it manages Calendar, Drive, and Sheets through MyBrandMetrics and the local gws CLI. These capabilities include account reads and writes, so they are sensitive but purpose-aligned.
Instruction Scope
The skill documents create/upload/append/update operations and also instructs the agent to confirm account, target, and data before changes. The wrapper passes arbitrary gws command arguments, so users should keep write actions explicitly user-directed.
Install Mechanism
There is no automatic install spec, but the optional installer fetches the latest external Google Workspace CLI without pinning or checksum verification. This is common setup behavior, but users should prefer a trusted, pinned installation.
Credentials
The skill requires a MyBrandMetrics API key and GWS_TOKEN_URL even though registry metadata does not declare required env vars or a primary credential. The SKILL.md and code disclose this flow, so this is a documentation/proportionality note rather than a hidden behavior concern.
Persistence & Privilege
The skill may store the MyBrandMetrics API key in ~/.google_workspace_api_key and uses short-lived Google tokens for gws commands. There is no evidence of background persistence, but the local credential file should be protected or removed when not needed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawbus-google-workspace
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawbus-google-workspace 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.2
Refine Google Workspace usage instructions and runtime token configuration
v1.2.1
Clarify MyBrandMetrics setup and Google data source usage
v1.2.0
Cleaned and optimized user documentation for GWS CLI usage.
v1.1.0
Cleaned sensitive information, verified真实用法 for GWS CLI.
v1.0.5
Restore original local gws CLI usage documentation
v1.0.4
Clarify local gws CLI usage and MyBrandMetrics role
v1.0.3
Clarify Google Calendar Drive and Sheets data source setup
v1.0.2
Optimize Google Workspace page with MyBrandMetrics setup flow
v1.0.1
Improve user-facing documentation and safety guidance.
v1.0.0
Remove local metadata and publish Google Workspace skill.
元数据
Slug clawbus-google-workspace
版本 1.2.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 10
常见问题

clawbus-google-workspace 是什么?

Manage Google Calendar, Google Drive, and Google Sheets through MyBrandMetrics-connected data sources and the local Google Workspace CLI (gws). Supports cale... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 132 次。

如何安装 clawbus-google-workspace?

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

clawbus-google-workspace 是免费的吗?

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

clawbus-google-workspace 支持哪些平台?

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

谁开发了 clawbus-google-workspace?

由 clawbus(@9ying66)开发并维护,当前版本 v1.2.2。

💬 留言讨论