当前位置: 首页 > Skill >

Google Workspace

Google Workspace

1.2.10 2026.11.21 浏览:727
获取Skill文件查看使用说明
作者:苏言许可证:
本文目录展开

Google Workspace

Manage Google Calendar, Google Drive, and Google Sheets through MyBrandMetrics-connected Google data sources.

This skill uses a local gws CLI wrapper, but the Google OAuth setup is handled by MyBrandMetrics. That means no Google Cloud project setup, no OAuth client configuration, and no MCP server are required. Sign in to MyBrandMetrics with Google, connect the Google data sources you need, get a MyBrandMetrics API key, and use natural-language requests or direct commands.

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

Why This Google Workspace Skill

This skill Typical MCP setup
Sign in to MyBrandMetrics with Google. Create or configure a Google Cloud project.
Connect Google Calendar, Google Drive, and Google Sheets as data sources. Configure OAuth clients, scopes, and local MCP server auth.
Use a MyBrandMetrics API key to fetch managed access tokens. Manage credentials and token storage yourself.
Run with a local wrapper around gws; no MCP server required. Requires running and maintaining an MCP server.

Use this when you want Google Workspace actions without setting up your own Google project or MCP server.

Core Capabilities

Capability Details
Google Calendar List, create, update, patch, and delete calendar events.
Google Sheets Read values, update ranges, append rows, and run spreadsheet batch updates.
Google Drive search List and search Drive files and folders.
Google Drive file management Create folders, move files, copy files, trash/delete files, and manage sharing permissions.
Google Drive upload/export Upload local files to Drive and export Google Docs files to formats such as PDF.
Managed Google auth Fetch service-specific Google access tokens through MyBrandMetrics using google_calendar, google_sheets, or google_drive.

Setup Flow

  1. Open https://mybrandmetrics.com/ and sign in with Google.

  2. In MyBrandMetrics, open Data sources.

  3. Connect the Google data sources you need:

    • Google Calendar for calendar workflows;
    • Google Drive for file and folder workflows;
    • Google Sheets for spreadsheet workflows.
  4. Wait until each selected connection is ready.

  5. In https://mybrandmetrics.com/, get the MyBrandMetrics API key.

  6. Install the google-workspace skill.

  7. Save the MyBrandMetrics API key for the wrapper:

    echo "YOUR_API_KEY" > ~/.google_workspace_api_key
    

    You can also set GWS_SKILL_API_KEY instead.

  8. If gws is not installed, run:

    bash scripts/install_gws.sh
    
  9. Start Google Calendar, Google Drive, or Google Sheets workflows with natural-language instructions.

Workflow

Use natural-language prompts after the skill is installed. Include:

  • which Google service to use: Calendar, Drive, or Sheets;
  • the target calendar, spreadsheet, file, or folder;
  • the action to perform;
  • any date range, sheet range, search query, folder ID, file ID, or sharing email needed for the task.

Examples:

List my next 10 Google Calendar events.
Append this row to Sheet1 in my campaign spreadsheet.
Find Google Drive files with "budget" in the name and share the selected file with editor access.

Use The Wrapper Directly

Use scripts/gws_wrapper.py.

General pattern:

python3 scripts/gws_wrapper.py <service> <resource> <method> [args]

The wrapper maps services to MyBrandMetrics source keys:

Service MyBrandMetrics source key
calendar google_calendar
sheets google_sheets
drive google_drive

Google Calendar

List events:

python3 scripts/gws_wrapper.py calendar events list 
  --params '{"calendarId": "primary", "maxResults": 10}'

Create an event:

python3 scripts/gws_wrapper.py calendar events insert 
  --params '{"calendarId": "primary"}' 
  --json '{"summary": "Planning meeting", "start": {"dateTime": "2026-05-21T10:00:00+08:00"}, "end": {"dateTime": "2026-05-21T10:30:00+08:00"}}'

Google Sheets

Read values:

python3 scripts/gws_wrapper.py sheets spreadsheets values get 
  --params '{"spreadsheetId": "SPREADSHEET_ID", "range": "Sheet1!A1:D10"}'

Append values:

python3 scripts/gws_wrapper.py sheets spreadsheets values append 
  --params '{"spreadsheetId": "SPREADSHEET_ID", "range": "Sheet1!A1", "valueInputOption": "USER_ENTERED"}' 
  --json '{"values": [["New row", "More data"]]}'

Google Drive

Search files:

python3 scripts/gws_wrapper.py drive files list 
  --params '{"pageSize": 10, "q": "name contains '''budget''' and trashed = false"}'

Upload a file:

python3 scripts/gws_wrapper.py drive +upload /local/path/file.pdf 
  --parent "FOLDER_ID" 
  --name "file.pdf"

Export a Google Docs file:

python3 scripts/gws_wrapper.py drive files export 
  --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' 
  --output document.pdf

Notes

  • Connect only the Google data sources needed for the workflow.
  • Keep the MyBrandMetrics API key private.
  • If a token error occurs, confirm that the relevant data source is connected and that the API key is valid.
  • If gws is missing, run scripts/install_gws.sh.

相关文章

更多
jQuery EasyUI Calendar 日历组件使用指南

本文介绍 jQuery EasyUI 中 Calendar 日历组件的配置与使用方法。通过 $.fn.calendar.defaults 可重写默认配置,支持设置宽度、高度及当前日期等特性。组件提供 onSelect 事件以响应日期选择,并包含 options、resize 和 moveTo 等方法进行交互控制。

2025.03.02 682
Skill 文件
  • SKILL.md
    • Google Workspace
    • Why This Google Workspace Skill
    • Core Capabilities
    • Setup Flow
    • Workflow
    • Use The Wrapper Directly
      • Google Calendar
      • Google Sheets
      • Google Drive
    • Notes
  • 项目或源文件

相关 Skill

更多
Gog Local Gog Local Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、联系人、表格和文档。
Composio Composio 将AI助手连接到500+应用,发现工具、管理连接并在Gmail、Slack、GitHub、Notion、Google Workspace等平台执行操作。
Feishu Calendar Conflict Detector Feishu Calendar Conflict Detector 飞书日历冲突检测器 - 在预约会议前检测日程冲突。**功能**:在创建会议前检查参与者是否可用...
Openstoa Skill Openstoa Skill 基于零知识的门控社区,人类与AI代理共存。使用Google(OIDC)设备流登录,验证组织身份(Google Workspace、Microsoft等)。
Api Gateway 1 Api Gateway 1 连接到100+ API(Google Workspace、Microsoft 365、Notion、Slack、Airtable、HubSpot等),使用托管OAuth。当用户想要交互时使用此技能。