← 返回 Skills 市场
terrycarter1985

Google Calendar CLI

作者 terrycarter1985 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
79
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install google-calendar-cli
功能描述
Google Calendar management via the gog CLI tool. Create, list, update, and delete calendar events with color support, OAuth authentication, and scripting cap...
使用说明 (SKILL.md)

Google Calendar CLI

Manage Google Calendar events efficiently using the gog command-line tool.

Prerequisites

Install gog

brew install steipete/tap/gogcli

Authentication Setup

# Set up OAuth credentials
gog auth credentials /path/to/client_secret.json

# Add your Google account with calendar access
gog auth add [email protected] --services calendar

# Verify authentication
gog auth list

Quick Start

List Events

# List events from primary calendar (today's events)
gog calendar events primary --from "2026-01-01T00:00:00Z" --to "2026-01-01T23:59:59Z"

# List events for next 7 days
gog calendar events primary --from "$(date -u +%Y-%m-%dT00:00:00Z)" --to "$(date -u -v+7d +%Y-%m-%dT23:59:59Z)"

Create Event

# Create a basic event
gog calendar create primary --summary "Team Meeting" --from "2026-01-15T14:00:00+01:00" --to "2026-01-15T15:00:00+01:00"

# Create with color
gog calendar create primary --summary "Important Deadline" --from "2026-01-20T00:00:00+01:00" --to "2026-01-20T23:59:59+01:00" --event-color 11

Update Event

# Update event title and color
gog calendar update primary \x3CeventId> --summary "Updated Meeting Title" --event-color 4

Event Colors

Color ID Hex Code Typical Use
1 #a4bdfc Meetings, Work
2 #7ae7bf Personal, Health
3 #dbadff Social, Events
4 #ff887c Deadlines, Urgent
5 #fbd75b Reminders
6 #ffb878 Travel
7 #46d6db Fun, Leisure
8 #e1e1e1 General
9 #5484ed Work Projects
10 #51b749 Completed, Done
11 #dc2127 Critical, High Priority
# View all colors
gog calendar colors

Common Workflows

Find Available Time Slots

# List all events to visualize availability
gog calendar events primary --from "2026-01-15T00:00:00Z" --to "2026-01-21T23:59:59Z" --json

Schedule Recurring Concept

Note: gog CLI doesn't support direct recurring events, but you can script them:

# Create multiple events via scripting (example)
for i in {1..5}; do
  DATE=$(date -v+${i}d +%Y-%m-%d)
  gog calendar create primary --summary "Daily Standup" \
    --from "${DATE}T09:00:00+01:00" --to "${DATE}T09:30:00+01:00" \
    --event-color 1
done

Bulk Operations

# Set default account to avoid repetition
export [email protected]

# Then run commands without --account
gog calendar events primary --from "..." --to "..."

Tips for Effective Use

  1. Use ISO 8601 timestamps: Always include timezone offset
  2. JSON output for scripting: Add --json flag for machine-readable output
  3. Batch with --no-input: Use --no-input for automated scripts
  4. Primary calendar shortcut: Use "primary" as the calendar ID for your main calendar

Example Script: Weekly Agenda Check

#!/bin/bash
# Get this week's events
START=$(date -u -v-Monday +%Y-%m-%dT00:00:00Z)
END=$(date -u -v+Sunday +%Y-%m-%dT23:59:59Z)
gog calendar events primary --from "$START" --to "$END" --json
安全使用建议
Install this only if you trust the gog CLI and its Homebrew tap. Connect a Google account intentionally, grant the minimum needed Calendar access, and review any create, update, delete, bulk, or --no-input commands before allowing the agent to run them.
功能分析
Type: OpenClaw Skill Name: google-calendar-cli Version: 1.0.0 The skill bundle provides instructions for using the 'gog' CLI tool (a legitimate Google Calendar client by developer steipete) to manage calendar events. It covers installation via Homebrew, OAuth authentication, and standard CRUD operations. No evidence of malicious intent, data exfiltration, or prompt injection was found in SKILL.md or _meta.json.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is coherent: it documents using the gog CLI to list, create, update, and potentially delete Google Calendar events. Those capabilities are expected for a calendar-management skill, but they can affect a real Google account.
Instruction Scope
Most examples are explicit, user-directed commands for a primary calendar and date range. The skill also documents scripting and --no-input automation, so users should ensure the agent does not run batch calendar changes without review.
Install Mechanism
There is no install spec or bundled code; the skill instructs the user to install an external Homebrew tap package. This is purpose-aligned but depends on trusting that external CLI source.
Credentials
OAuth setup and calendar access are necessary for this integration and are disclosed in SKILL.md, although registry requirements do not declare a primary credential or environment variables.
Persistence & Privilege
The authentication setup adds a Google account for the gog CLI and lists configured auth. This is expected for the tool, with no evidence of hidden background behavior or self-persistence in the skill artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-calendar-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-calendar-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Google Calendar management via gog CLI with event creation, listing, updates, color support, and scripting workflows
元数据
Slug google-calendar-cli
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Google Calendar CLI 是什么?

Google Calendar management via the gog CLI tool. Create, list, update, and delete calendar events with color support, OAuth authentication, and scripting cap... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。

如何安装 Google Calendar CLI?

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

Google Calendar CLI 是免费的吗?

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

Google Calendar CLI 支持哪些平台?

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

谁开发了 Google Calendar CLI?

由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。

💬 留言讨论