Email & Calendar Assistant Skill
Description
This skill reads Gmail emails, ranks them by importance, summarizes each email into bullet points, and creates Google Calendar events if an email contains a meeting or interview that is not already on the calendar.
Capabilities
- - Read emails (read-only)
- Rank emails by importance
- Summarize emails into bullet points
- Detect meeting/interview emails
- Create Google Calendar events (only when not already added)
Installation
Via ClawHub (recommended):
CODEBLOCK0
Manual:
CODEBLOCK1
Setup Instructions (First-Time Only)
Step 1 — Get Google API credentials
- 1. Go to Google Cloud Console
- Create a new project (or select existing one)
- In the left sidebar, go to APIs & Services → click Enable APIs and Services
- Search and enable each of the following:
-
Gmail API
-
Google Calendar API
- 5. In the left sidebar, go to APIs & Services → OAuth consent screen
- Click
Get Started
- Fill in
App name and
User support email → click
Save and Continue
- Under
Audience → click
Add Users → add your Google email → click
Save
- 6. In the left sidebar, go to APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- Under Application type select Desktop app
- Give it a name (e.g.
Gmail Daily Briefing) → click Create - Click Download JSON → you'll get a file named INLINECODE1
Step 2 — Connect to the agent
- 1. Send the
client_secret_*.json file to the agent as an attachment
- Via
Telegram: send as a file (not photo) in your Clawdbot chat
- Via
Claude Desktop: drag and drop the file into the chat
- Via
other platforms: attach the file the same way you attach any document
- 2. The agent will print an authorization URL — click it to open in your browser
- Log in with your Google account and click Allow
- Your browser will redirect to a
localhost page showing an error — this is normal - Copy the full URL from your browser address bar (starts with
http://localhost/?...) - Paste that URL back to the agent
Step 3 — Done!
The agent will confirm: "Auth complete. I can now access your Gmail and Google Calendar."
From now on just say: "Summarize today's important emails"
Agent Instructions
See agent/instructions.md for full agent instructions (commands, auth setup, behavior).
邮件与日历助手技能
描述
该技能可读取Gmail邮件,按重要性排序,将每封邮件总结为要点,并在邮件包含尚未添加到日历的会议或面试时创建Google日历事件。
功能
- - 读取邮件(只读)
- 按重要性对邮件排序
- 将邮件总结为要点
- 检测会议/面试邮件
- 创建Google日历事件(仅当尚未添加时)
安装
通过ClawHub安装(推荐):
clawhub install gmail-daily-briefing
手动安装:
git clone https://github.com/Russidan-Nadee/gmail-daily-briefing.git ~/.clawdbot/skills/gmail-daily-briefing
设置说明(仅首次使用)
步骤1 — 获取Google API凭证
- 1. 前往Google Cloud Console
- 创建新项目(或选择现有项目)
- 在左侧边栏中,进入API和服务 → 点击启用API和服务
- 搜索并启用以下各项:
-
Gmail API
-
Google Calendar API
- 5. 在左侧边栏中,进入API和服务 → OAuth同意屏幕
- 点击
开始使用
- 填写
应用名称和
用户支持邮箱 → 点击
保存并继续
- 在
受众群体下 → 点击
添加用户 → 添加您的Google邮箱 → 点击
保存
- 6. 在左侧边栏中,进入API和服务 → 凭据
- 点击创建凭据 → OAuth客户端ID
- 在应用类型下选择桌面应用
- 为其命名(例如Gmail每日简报)→ 点击创建
- 点击下载JSON → 您将获得一个名为clientsecret*.json的文件
步骤2 — 连接到代理
- 1. 将clientsecret*.json文件作为附件发送给代理
- 通过
Telegram:在您的Clawdbot聊天中以文件形式发送(非图片)
- 通过
Claude Desktop:将文件拖放到聊天中
- 通过
其他平台:以与附加任何文档相同的方式附加文件
- 2. 代理将打印一个授权URL — 点击该URL在浏览器中打开
- 使用您的Google账户登录并点击允许
- 您的浏览器将重定向到一个显示错误的localhost页面 — 这是正常现象
- 从浏览器地址栏复制完整URL(以http://localhost/?...开头)
- 将该URL粘贴回代理
步骤3 — 完成!
代理将确认:认证完成。我现在可以访问您的Gmail和Google日历。
从现在起,只需说:总结今天的重要邮件
代理指令
完整代理指令(命令、认证设置、行为)请参见agent/instructions.md。