跳到正文
TakoAPI
返回技能列表

google-workspace-byok

由 kyesh 提供

Web & Frontend Development
506下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Google Calendar and Gmail integration using your own GCP project credentials (BYoK — Bring Your Own Key)

描述

该技能的功能

Connects Google Calendar and Gmail to an AI agent using OAuth2 credentials from your own Google Cloud project. Supports multiple Google accounts under user-defined labels. Covers listing and searching emails, downloading attachments, extracting text from PDF attachments, reading calendar events, and checking free/busy status.

Because credentials are tied to your own GCP project, OAuth tokens and API access never pass through a third-party service.

何时使用

  • Checking this week's meetings across personal and work calendars
  • Searching Gmail for unread emails from a specific sender
  • Downloading and reading PDF invoices or school letters from email attachments
  • Checking free/busy windows before proposing a meeting time
  • Listing recent emails and summarizing their subjects

示例工作流

输入

User asks: Do I have any meetings tomorrow, and are there unread emails from my manager?

智能体
  1. 1

    Run calendar.js --account work --action events --days 2 to fetch upcoming events

  2. 2

    Filter results to events occurring tomorrow

  3. 3

    Run gmail.js --account work --action list --query "from:manager@example.com is:unread" to fetch matching emails

  4. 4

    Read each matching email with --action read to get subject and snippet

输出

A summary of tomorrow's calendar events and a list of unread emails from the manager with subjects and previews

前置要求

  • Google Cloud project with Calendar API and Gmail API enabled
  • OAuth2 Desktop app credentials JSON downloaded from GCP Console
  • Google account(s) added as test users in GCP OAuth consent screen (while app is in Testing status)

安装

clawhub install kyesh/google-workspace-byok

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接