google-calendar-gcalcli
Install and use gcalcli for live Google Calendar read access using the provided OAuth cache.
- License 许可
- MIT
- 最近更新
- 2026-07-28
- Stars
- ★ 40
- Forks
- 1
01 前言 Front Matter
- name
- google-calendar-gcalcli
- description
- Install and use gcalcli for live Google Calendar read access using the provided OAuth cache.
03 SKILL.md 正文
Google Calendar / gcalcli
Use this skill whenever the task asks you to inspect the user's Google Calendar. The task expects live Google Calendar read access through gcalcli. Do not treat a missing gcalcli binary as a blocker, and do not use offline calendar exports.
- First check whether
gcalcliis available:command -v gcalcli && gcalcli --help | head - If
gcalcliis not installed, install it yourself in the current runtime. Shell commands run as root, so do not ask for privilege escalation and do not usesudo. Preferred apt route:
If the apt route fails, try the pip route:apt-get update apt-get install -y gcalcli command -v gcalcli && gcalcli --help | head
Save a short install/verification note underpython3 -m pip install --no-cache-dir --break-system-packages gcalcli command -v gcalcli && gcalcli --help | head/tmp_workspace/results/if installation was needed or failed. - Use the environment variables only as runtime inputs. Do not print their values into reports or screenshots, including the account hint:
GCALCLI_CLIENT_IDGCALCLI_CLIENT_SECRETGCALCLI_OAUTH_B64GOOGLE_CALENDAR_ACCOUNT
- Before calling
gcalcli, materialize the OAuth cache where gcalcli actually looks for it:mkdir -p "$HOME/.local/share/gcalcli" printf '%s' "$GCALCLI_OAUTH_B64" | base64 -d > "$HOME/.local/share/gcalcli/oauth" cp "$HOME/.local/share/gcalcli/oauth" "$HOME/.gcalcli_oauth" chmod 600 "$HOME/.local/share/gcalcli/oauth" "$HOME/.gcalcli_oauth" - Verify live access and then read the calendar for the trip window. Infer the trip's local timezone from the event locations and timestamps before finalizing the itinerary. If the display looks offset from the location's local time, normalize the final markdown calendar to the trip's local timezone rather than blindly copying the agenda output:
Save only a short success/failure note or a redacted screenshot; do not expose token material or the account value.gcalcli --client-id "$GCALCLI_CLIENT_ID" --client-secret "$GCALCLI_CLIENT_SECRET" list gcalcli --client-id "$GCALCLI_CLIENT_ID" --client-secret "$GCALCLI_CLIENT_SECRET" agenda "2026-06-03 00:00" "2026-06-10 00:00" - Do not add, edit, or delete Google Calendar events for this task. The final handoff should be a markdown calendar under
/tmp_workspace/results/concert_calendar.md, grounded in the live agenda plus ticketing screenshots. - Keep calendar conclusions grounded in visible live calendar entries, then combine them with ticketing screenshots.
04 同仓库更多 Skills
cli-anything-zoom
Command-line interface for Zoom — manage meetings, participants, and recordings from the command line via the Zoom REST API.
netease-music-cli
CLI for NetEase Cloud Music — search songs/albums/playlists, get lyrics, and manage your music library from the terminal.
google-calendar-gcalcli
Install and use gcalcli for live Google Calendar read access using the provided OAuth cache.
Excel / XLSX
Create, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation. Use when (1) the task is about Excel, `.xlsx`, `.xlsm`, `.xls`, `.csv`, or `.tsv`; (2) formulas, formatting, workbook structure, or compatibility matter; (3) the file must stay reliable after edits.
duckdb-en
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
automate-excel
Automates reading, writing, merging, transforming, and validating Excel (.xlsx/.xls) files. Use when the user works with spreadsheets, .xlsx files, Excel data — for cleaning, joining, validating, deduplicating, aggregating, filtering, or auditing tabular data.