Home/Skills/Productivity/Google Calendar (via gcalcli)
lstpsche

Google Calendar (via gcalcli)

11 versions
lstpscheΒ·Feb 12, 2026

Summary

TL;DR: Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized for low tool calls and minimal output.

Google Calendar via gcalcli gives your AI agent fast access to your Google Calendar. It focuses on efficiency: today's agenda by default, bounded lookups using agenda scans, and quick event creation and deletion with verification.

The skill is optimized for minimal tool calls and small output. Your agent gets calendar data in a format that is easy to process without wasting tokens on verbose API responses.

If you use Google Calendar and want your agent to check your schedule, add events, or clean up your calendar, this skill does it with the fewest round trips possible.

Use cases

  • Checking today's agenda and upcoming meetings at a glance
  • Creating calendar events quickly with title, time, and attendees
  • Deleting cancelled meetings and cleaning up your calendar
  • Looking up free time slots for scheduling new meetings

Installation

Run this command to install the skill on your OpenClaw agent:

Install with OpenClaw
npx clawhub@latest install gcalcli-calendar
Downloads
12.3k
Active installs
92
Stars
8
Updated
Feb 12, 2026

Security scan

Security scan
VirusTotalBenign
View report
OpenClawBenignhigh confidence

The skill's requirements and runtime instructions are consistent with its stated purpose (driving gcalcli to read/create/delete Google Calendar events); nothing requested or instructed appears unrelated or excessive.

Purpose & Capability
Instruction Scope
Install Mechanism
Credentials
Persistence & Privilege

SKILL.md

SKILL.md
---
name: gcalcli-calendar
description: "Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized for low tool calls and minimal output."
metadata: {"openclaw":{"emoji":"πŸ“…","requires":{"bins":["gcalcli"]}}}
---

# gcalcli-calendar

Use `gcalcli` to read/search/manage Google Calendar with minimal tool calls and minimal output.

## Rules

### CLI flag placement (critical)
- Global flags (`--nocolor`, `--calendar`) go BEFORE the subcommand.
- Subcommand-specific flags go AFTER the subcommand name.
- Example: `gcalcli --nocolor delete --iamaexpert "query" start end` β€” NOT `gcalcli --nocolor --iamaexpert delete ...`.
- This applies to ALL subcommand flags: `--iamaexpert` (delete), `--noprompt`/`--allday` (add), `--use-legacy-import` (import), etc.

### Output & language
- Don't print CLI commands/flags/tool details unless the user explicitly asks (e.g. "show commands used", "/debug", "/commands").
- If asked for commands: print ALL executed commands in order (including retries) and nothing else.
- Don't mix languages within one reply.
- Be concise. No scope unless nothing found.

### Dates & formatting
- Human-friendly dates by default. ISO only if explicitly requested.
- Don't quote event titles unless needed to disambiguate.

### Calendar scope
- Trust gcalcli config (default/ignore calendars). Don't broaden scope unless user asks "across all calendars" or results are clearly wrong.

### Agenda (today-only by default)
- If user asks "agenda" without a period, return today only.
- Expand only if explicitly asked (tomorrow / next N days / date range).

### Weekday requests (no mental math)
If user says "on Monday/Tuesday/..." without a date:
1) fetch next 14 days agenda once,
2) pick matching day/event from tool output,
3) proceed (or disambiguate if multiple).

### Finding events: prefer deterministic agenda scan (meaning-first)
When locating events to cancel/delete/edit:
- Prefer `agenda` over `search`.
- Use a bounded window and match events by meaning (semantic match) rather than exact text.
- Default locate windows:
  - If user gives an exact date: scan that day only.
  - If user gives a weekday: scan next 14 days.
  - If user gives only meaning words ("train", "lecture", etc.) with no date: scan next 30 days first.
  - If still not found: expand to 180 days and say so only if still empty.

Use gcalcli `search` only as a fallback when:
- the time window would be too large to scan via agenda (token-heavy), or
- the user explicitly asked to "search".

### Search (bounded)
- Default search window: next ~180 days (unless user specified otherwise).
- If no matches: say "No matches in next ~6 months (<from>-><to>)" and offer to expand.
- Show scope only when nothing is found.

### Tool efficiency
- Default: use `--nocolor` to reduce formatting noise and tokens.
- Use `--tsv` only if you must parse/dedupe/sort.

## Actions policy (optimized for conversational speed)

This skill is designed for personal assistant use where the user expects fast, low-friction calendar management. The confirmation policy below is an intentional UX choice β€” see README.md for rationale and safety guards.

### Unambiguous actions: execute immediately
For cancel/delete/edit actions, skip confirmation when ALL of these hold:
- The user explicitly requested the action (e.g. "delete my dentist appointment").
- Exactly one event matches in a tight time window.
- The match is unambiguous (single clear result on an exact date, or user specified date+time).

### Ambiguous actions: always ask first
If multiple candidates match, or the match is uncertain:
- Ask a short disambiguation question listing the candidates (1-3 lines) and wait for the user's choice.

### Create events: overlap check MUST be cross-calendar (non-ignored scope)
When creating an event:
- Always run a best-effort overlap check across ALL non-ignored calendars by scanning agenda WITHOUT `--calendar`.
  - This ensures overlaps are detected even if the new event is created into a specific calendar.
- If overlap exists with busy events:
  - Ask for confirmation before creating.
- If no overlap:
  - Create immediately.

### Choose the right create method
- **`add`** β€” default for one-off events. Supports `--allday`, `--reminder`, `--noprompt`. Does NOT support recurrence or free/busy (transparency).
- **`import` via stdin** β€” use ONLY when you need recurrence (RRULE) or free/busy (TRANSP:TRANSPARENT). Pipe ICS content via stdin; NEVER write temp .ics files (working directory is unreliable in exec sandbox).
- **`quick`** β€” avoid unless user explicitly asks for natural-language add. Less deterministic.

### Deletes must be verified
- Use non-interactive delete with `--iamaexpert` (a `delete` subcommand flag β€” goes AFTER `delete`). This is gcalcli's built-in flag for non-interactive/scripted deletion.
- Always verify via agenda in the same tight window after deletion.
- If verification still shows the event, do one retry with `--refresh`.
- Never claim success unless verification confirms the event is gone.

## Canonical commands

### Agenda (deterministic listing)
- Today: `gcalcli --nocolor agenda today tomorrow`
- Next 14d (weekday resolution): `gcalcli --nocolor agenda today +14d`
- Next 30d (meaning-first locate): `gcalcli --nocolor agenda today +30d`
- Custom: `gcalcli --nocolor agenda <start> <end>`

### Search (fallback / explicit request)
- Default (~6 months): `gcalcli --nocolor search "<query>" today +180d`
- Custom: `gcalcli --nocolor search "<query>" <start> <end>`

### Create β€” `add` (one-off events)
- Overlap preflight (tight, cross-calendar):
  - `gcalcli --nocolor agenda <start> <end>`
  - IMPORTANT: do NOT add `--calendar` here; overlaps must be checked across all non-ignored calendars.
- Timed event:
  - `gcalcli --nocolor --calendar "<Cal>" add --noprompt --title "<Title>" --when "<Start>" --duration <minutes>`
- All-day event:
  - `gcalcli --nocolor --calendar "<Cal>" add --noprompt --allday --title "<Title>" --when "<Date>"`
- With reminders (repeatable flag):
  - `--reminder "20160 popup"` β†’ 14 days before (20160 = 14Γ—24Γ—60)
  - `--reminder "10080 popup"` β†’ 7 days before
  - `--reminder "0 popup"` β†’ at event start
  - Time unit suffixes: `w` (weeks), `d` (days), `h` (hours), `m` (minutes). No suffix = minutes.
  - Method: `popup` (default), `email`, `sms`.

### Create β€” `import` via stdin (recurrence / free/busy)
Use ONLY when `add` can't cover the need (recurring events, TRANSP, etc.).
Pipe ICS directly via stdin β€” never write temp files.
```
echo 'BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
DTSTART;VALUE=DATE:20260308
SUMMARY:Event Title
RRULE:FREQ=YEARLY
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR' | gcalcli import --calendar "<Cal>"
```
- `DTSTART;VALUE=DATE:YYYYMMDD` for all-day; `DTSTART:YYYYMMDDTHHmmSS` for timed.
- `RRULE:FREQ=YEARLY` β€” yearly recurrence. Also: `DAILY`, `WEEKLY`, `MONTHLY`.
- `TRANSP:TRANSPARENT` β€” free; `TRANSP:OPAQUE` β€” busy (default).
- One import call = one event (one VEVENT block). For multiple events, run separate piped imports.
- Add `--reminder "TIME"` flag(s) to set reminders (overrides any VALARM in ICS).
- All import-specific flags (`--use-legacy-import`, `--verbose`, etc.) go AFTER `import`.

### Delete (with post-delete verification)
- Locate via agenda (preferred):
  - `gcalcli --nocolor agenda <dayStart> <dayEnd>` (exact date)
  - `gcalcli --nocolor agenda today +14d` (weekday)
  - `gcalcli --nocolor agenda today +30d` (meaning only)
- Delete (non-interactive, bounded):
  - `gcalcli --nocolor delete --iamaexpert "<query>" <start> <end>`
- Verify (same window):
  - `gcalcli --nocolor agenda <dayStart> <dayEnd>`
- Optional one retry if still present:
  - `gcalcli --nocolor --refresh agenda <dayStart> <dayEnd>`

### Edit / Modify existing events
- `gcalcli edit` is interactive β€” cannot be used in non-interactive exec.
- To change properties not editable in-place: **delete + recreate** the event.
  - Locate β†’ delete (with `--iamaexpert`) β†’ create with updated properties β†’ verify.
- For bulk property changes (e.g. setting all events to free): iterate delete+recreate per event.

Version history

v3.0.0Latest
Feb 12, 2026

- Added a README.md file with rationale and safety notes. - Clarified action confirmation policy: unambiguous destructive actions (delete/edit) are run immediately, ambiguous ones always require user confirmation. - Updated action policy section to emphasize conversational speed and personal assistant use case. - Renamed/delete section now explicitly describes post-delete verification and the use of `--iamaexpert`. - No behavior changes to commands, but documentation is clearer about UX intent and safeguards.

v2.1.2
Feb 10, 2026

- Removed internal metadata file (_meta.json) from the skill package. - No changes to functional logic or user-facing features.

v2.1.1
Feb 10, 2026

Version 2.1.1 - Added _meta.json file for improved metadata management. - No changes to existing skill logic or behavior.

v2.1.0
Feb 7, 2026

**Summary:** Adds explicit rules for CLI flag placement and event creation methods. - Enforces that global CLI flags (like --nocolor, --calendar) must precede the subcommand; subcommand-specific flags come after (e.g., gcalcli --nocolor delete --iamaexpert ...). - Provides guidance on choosing the correct event creation method: "add" for most events, "import" via stdin for recurring/free events, and avoid "quick" unless explicitly requested. - Documents flag placement requirements for all subcommands (delete, add, import, etc.). - Clarifies that for ICS imports, events must be piped via stdin and not via temporary files. - Updates canonical command examples to reflect these rules.

v2.0.2
Feb 6, 2026

- Short summary: Event creation now checks for overlaps across all non-ignored calendars, not just the target calendar. - Overlap checks before creating events now always scan the full agenda (without filtering by calendar), ensuring conflicts from any visible calendar are detected. - Updated documentation to clarify that cross-calendar checking is required for create actions. - Minor edits and clarifications to rules and canonical commands.

v2.0.1
Feb 6, 2026

- Updated skill description for greater clarity and brevity. - No file or logic changes; internal policies, rules, and commands remain unchanged.

v2.0.0
Feb 6, 2026

Update version in ClawHub

v1.0.1
Feb 6, 2026

- Changed default agenda behavior: β€œagenda” without a period now shows only today. - Unambiguous cancel/delete/edit actions now run immediately without confirmation; confirmation is only required if multiple candidates exist. - Event creation only asks for confirmation if overlapping events are found; otherwise, events are created directly. - [IMPORTANT] Deletes now use non-interactive mode with post-action verification and one retry if needed. If "confirm before delete" behavior is desired, you should adjust the corresponding skill rule. - Responses are more concise; CLI commands are only shown when explicitly requested by the user. - Improved handling and parsing rules for matching events, focusing on agenda scans over search for meaning-first, deterministic results. - Overall tokens usage cuts.

v1.0.0
Feb 6, 2026

gcalcli-calendar 0.1.2 - Clarified scope usage: Only mention calendar scope and search window if no events are found. - Response output is now even more conciseβ€”omit scope when events are found. - Reorganized and simplified hard rules for brevity and clarity. - Default agenda/search periods and response behaviors are more explicit. - Calendar listing and scope debugging triggered only by user request or when results are unexpectedly empty.

v0.1.1
Feb 5, 2026

- Fix description in YAML frontmatter which prevented skill discovery

v0.1.0
Feb 5, 2026

gcalcli-calendar 0.1.0 - Initial release providing fast agenda (today/week/range), bounded keyword search, and safe event actions using `gcalcli`. - Respects config-scoped `default-calendars` and `ignore-calendars` for reliable multi-calendar support. - All searches and agendas use explicit, well-defined time windows (defaults to next ~6 months). - Output is minimal and parse-friendly (`--nocolor`), optimized for both users and automated agents. - All write actions (add/edit/delete) require explicit confirmation, summarizing proposed changes before execution. - Clearly communicates scope of search/results, encouraging user-driven expansion when no matches are found.

Frequently asked questions

gcalcli is a command-line tool for Google Calendar. It lets you view, create, and manage calendar events from the terminal. This skill teaches your agent to use it effectively. Pair with [Gog](/skills/gog) for full Google Workspace access.

Installation method

Send this prompt to your agent to install the skill

npx clawhub@latest install gcalcli-calendar
Download ZIP

Skill info

Versionv3.0.0
Authorlstpsche
CategoryProductivity
UpdatedFeb 12, 2026

Files

SKILL.md8.1 KB

Run OpenClaw in the cloud

Deploy in seconds. Skills pre-installed.

See plans

Skill data sourced from ClawHub