← Back to Skills Marketplace
mbright4497

Gcalcli Calendar 3.0.0

by mbright4497 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
135
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gcalcli-calendar-3-0-0
Description
Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized...
README (SKILL.md)

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 (\x3Cfrom>->\x3Cto>)" 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 \x3Cstart> \x3Cend>

Search (fallback / explicit request)

  • Default (~6 months): gcalcli --nocolor search "\x3Cquery>" today +180d
  • Custom: gcalcli --nocolor search "\x3Cquery>" \x3Cstart> \x3Cend>

Create — add (one-off events)

  • Overlap preflight (tight, cross-calendar):
    • gcalcli --nocolor agenda \x3Cstart> \x3Cend>
    • IMPORTANT: do NOT add --calendar here; overlaps must be checked across all non-ignored calendars.
  • Timed event:
    • gcalcli --nocolor --calendar "\x3CCal>" add --noprompt --title "\x3CTitle>" --when "\x3CStart>" --duration \x3Cminutes>
  • All-day event:
    • gcalcli --nocolor --calendar "\x3CCal>" add --noprompt --allday --title "\x3CTitle>" --when "\x3CDate>"
  • 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 "\x3CCal>"
  • 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 \x3CdayStart> \x3CdayEnd> (exact date)
    • gcalcli --nocolor agenda today +14d (weekday)
    • gcalcli --nocolor agenda today +30d (meaning only)
  • Delete (non-interactive, bounded):
    • gcalcli --nocolor delete --iamaexpert "\x3Cquery>" \x3Cstart> \x3Cend>
  • Verify (same window):
    • gcalcli --nocolor agenda \x3CdayStart> \x3CdayEnd>
  • Optional one retry if still present:
    • gcalcli --nocolor --refresh agenda \x3CdayStart> \x3CdayEnd>

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.
Usage Guidance
This skill is coherent for controlling Google Calendar via the gcalcli CLI, but before installing: (1) confirm gcalcli is installed and authenticated where the agent runs (gcalcli stores OAuth tokens locally—ensure those tokens are intended to be accessible from this runtime); (2) be aware of the documented UX choice to auto-execute deletes/edits when a user message is explicit and the match is unambiguous (you can edit SKILL.md to require confirmation for all destructive actions if you prefer); (3) if the agent runs on a shared or remote host, consider the exposure of your gcalcli OAuth files—restrict access or avoid installing the skill there.
Capability Analysis
Type: OpenClaw Skill Name: gcalcli-calendar-3-0-0 Version: 1.0.0 The skill provides a high-efficiency interface for Google Calendar via gcalcli but intentionally instructs the AI agent to bypass user confirmation for destructive actions (deletion and editing) when the target is deemed 'unambiguous'. It utilizes the gcalcli '--iamaexpert' flag to suppress internal safety prompts (SKILL.md). While this behavior is documented as a UX choice for speed (README.md) and includes logic-based safeguards like post-action verification, the removal of the human-in-the-loop for data deletion significantly increases the risk of unauthorized data loss through prompt injection or agent error.
Capability Assessment
Purpose & Capability
Name/description match the behavior: the skill requires the gcalcli binary and its instructions use only gcalcli subcommands (agenda/search/add/import/delete). No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
SKILL.md confines runtime actions to gcalcli calls and agenda/search scans. One behavioral choice to note: the Actions policy allows immediate deletes/edits when the match is unambiguous (explicit user request + single tight-window match + post-action verification). This is a UX decision explained in README; it is not covert, but users should understand the automatic-delete behavior and that the agent will act on explicit user messages without an additional confirmation step in those narrow cases.
Install Mechanism
Instruction-only skill with no install spec and no code files; lowest-risk install posture. The skill expects gcalcli to already be installed on PATH (recommended via pip/brew) — reasonable for its purpose.
Credentials
The skill does not request environment variables or external credentials. It relies on gcalcli's local OAuth2 credentials (stored by gcalcli, e.g. ~/.gcalcli_oauth). Ensure the agent runtime has access only to the intended gcalcli credentials; the skill itself does not request unrelated secrets.
Persistence & Privilege
always is false and the skill does not request elevated persistence or modify other skills. Model invocation is allowed (default), which is normal for skills; no additional privilege escalation is requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gcalcli-calendar-3-0-0
  3. After installation, invoke the skill by name or use /gcalcli-calendar-3-0-0
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
gcalcli-calendar 1.0.0 - Initial release providing efficient Google Calendar management via gcalcli. - Today-only agenda by default; supports bounded, meaning-based event lookup. - Streamlined create and delete actions, including verification and overlap checks. - Optimized for minimal output, low tool calls, and fast responses. - Built-in policies for ambiguity handling and confirmation to ensure reliability.
Metadata
Slug gcalcli-calendar-3-0-0
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gcalcli Calendar 3.0.0?

Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized... It is an AI Agent Skill for Claude Code / OpenClaw, with 135 downloads so far.

How do I install Gcalcli Calendar 3.0.0?

Run "/install gcalcli-calendar-3-0-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gcalcli Calendar 3.0.0 free?

Yes, Gcalcli Calendar 3.0.0 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gcalcli Calendar 3.0.0 support?

Gcalcli Calendar 3.0.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gcalcli Calendar 3.0.0?

It is built and maintained by mbright4497 (@mbright4497); the current version is v1.0.0.

💬 Comments