邮件与消息32k · #9154
gws-calendar-insert
它能做什么
这个工具可以在你的 Google Calendar 中创建一个新事件。你只需提供事件名称、开始时间和结束时间。
适用场景
- ✓安排与同事的会议。
- ✓为某个任务设置提醒。
- ✓预约一个时间段用于某次约见。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/gws-calendar-insert/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-calendar-insert/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add googleworkspace/cli --skill gws-calendar-insert
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-calendar-insert/SKILL.md -o SKILL.md
可以这样问 AI
“创建一个名为“团队会议”的日程,明天上午 10 点开始,11 点结束。”
每周 5 个新技能,1 分钟读完。
工作原理
你告诉 AI 事件的名称、开始时间和结束时间,AI 就会把它添加到你的 Google Calendar 中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
calendar +insert
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
create a new event
Usage
gws calendar +insert --summary <TEXT> --start <TIME> --end <TIME>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--calendar |
— | primary | Calendar ID (default: primary) |
--summary |
✓ | — | Event summary/title |
--start |
✓ | — | Start time (ISO 8601, e.g., 2024-01-01T10:00:00Z) |
--end |
✓ | — | End time (ISO 8601) |
--location |
— | — | Event location |
--description |
— | — | Event description/body |
--attendee |
— | — | Attendee email (can be used multiple times) |
--meet |
— | — | Add a Google Meet video conference link |
Examples
gws calendar +insert --summary 'Standup' --start '2026-06-17T09:00:00-07:00' --end '2026-06-17T09:30:00-07:00'
gws calendar +insert --summary 'Review' --start ... --end ... --attendee alice@example.com
gws calendar +insert --summary 'Meet' --start ... --end ... --meet
Tips
- Use RFC3339 format for times (e.g. 2026-06-17T09:00:00-07:00).
- The --meet flag automatically adds a Google Meet link to the event.
[!CAUTION] This is a write command — confirm with the user before executing.
See Also
- gws-shared — Global flags and auth
- gws-calendar — All manage calendars and events commands
常见问题
我可以添加参会人吗?
可以。你可以添加想要邀请的人的电子邮件地址。
我可以添加地点或描述吗?
可以。你可以指定活动地点,并在描述中补充更多细节。
我可以添加 Google Meet 链接吗?
可以。只需要求 AI 添加 Google Meet 链接,它就会把链接加入你的日历事件中。
详情
热度
- GitHub 星标
- 32k
- 排名
- #9154
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …