首页龙虾技能列表 › Google Calendar — 日历管理

📅 Google Calendar — 日历管理

v1.0.0

使用gogcli访问和管理Google日历事件,支持跨日历日程、关键词搜索和过滤输出。

5· 4,966·32 当前·33 累计
by @lstpsche·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
medium confidence
指令与使用gogcli工具的Google日历助手一致;技能中没有要求无关凭证或访问无关系统资源,但技能假设本地gog认证和第三方Homebrew源,安装前应审查。
评估建议
此技能按其声明执行:运行gogcli读取和(经确认后)写入Google日历数据。安装或使用前检查上游gogcli项目和Homebrew公式,确保信任源;注意gog使用本地存储的OAuth令牌——确认将访问哪个Google账户以及授予了什么范围。...
详细分析 ▾
用途与能力
The name and SKILL.md describe using the gog (gogcli) command-line tool to list/search/create calendar events. The metadata declares the required binary ('gog') and an install recipe (Homebrew formula steipete/tap/gogcli) that matches the stated purpose.
指令范围
Instructions tell the agent to run gog commands to list/search/modify calendars and to consult the user's preferences/memory for excluded calendars. This is within scope for a calendar skill. Note: the skill implicitly relies on the local gog authentication state (OAuth tokens) but does not document authentication steps or where tokens live.
安装机制
No install spec in the package itself, but metadata suggests installing gogcli via a Homebrew formula from steipete/tap. Homebrew installs are common and expected, but this is a third-party tap — you should verify the upstream project (GitHub repo) and the formula before running it.
凭证需求
The skill declares no environment variables or config paths. However, to access Google Calendar the gog client will need OAuth credentials/tokens stored locally (or via the system). The SKILL.md does not mention these tokens or required scopes, so there's a minor coherence gap: the ability to actually access calendars depends on local auth state outside the skill's declarations. No unrelated secrets are requested by the skill.
持久化与权限
Skill is not always-enabled and does not request elevated platform privileges. It is instruction-only and will execute gog commands when invoked; there is no indication it modifies other skills or system-wide settings.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/4

Initial release of the dedicated gog-calendar skill for cross-calendar agenda and keyword search via gogcli. - Provides reliable agenda listings (today/week/custom range) by querying all calendars and applying customizable exclusions (e.g., holidays). - Supports best-effort keyword search by iterating/aggregating across calendars, with structured output (plain or JSON as appropriate). - Optimizes output for token efficiency—defaults to --plain except when structure is required. - Post-filters unwanted calendars by name/summary (e.g., holidays), with user or default exclusion rules. - Requires explicit user confirmation before any calendar write/modification.

● 无害

安装命令 点击复制

官方npx clawhub@latest install gog-calendar
镜像加速npx clawhub@latest install gog-calendar --registry https://cn.clawhub-mirror.com

技能文档

Use gog (gogcli) for Google Calendar: agenda (events list) and keyword search across calendars.

Output rule (tokens vs reliability)

gogcli stdout should stay parseable; prefer --plain / --json and put hints to stderr. oai_citation:0‡GitHub

  • Default to --plain for read-only listing you only summarize (cheaper tokens):
- agenda listing (today / next days / range) - calendars list
  • Use --json only when structure is required:
- aggregating results across calendars (cross-calendar keyword search) - deduping / sorting / extracting IDs for follow-up calls - any write workflow where exact fields matter

Calendar exclusions (post-processing)

Users may explicitly exclude certain calendars from searches/agenda (e.g., “National holidays”). When answering, you MUST: 1) Query broadly (e.g., events --all or iterate all calendars for search), 2) Then filter out excluded calendars in post-processing.

How to determine excluded calendars:

  • First, check the user’s preferences/memory for an explicit “exclude calendars” list.
  • If none is provided, apply a conservative default filter for obvious noise calendars:
- calendars whose name/summary contains: holiday, holidays, national holidays (and localized equivalents)
  • Never filter out user-owned calendars unless explicitly excluded.

Filtering rule:

  • If you have calendar metadata (from gog calendar calendars), filter by calendar name/summary.
  • If you only have events output, filter by matching event’s calendarId to the excluded calendarIds resolved from the calendars list.

Always mention filtering briefly if it materially changes the answer:

  • “(Filtered out: National holidays)”

Agenda (always cross-calendar, then filter)

For “what’s on my calendar today / tomorrow / this week / between X and Y”:

  • MUST query all calendars:
- gog calendar events --all --from --to --plain
  • Then apply calendar exclusions (above).
  • Do not answer “nothing scheduled” unless you ran the command for the correct window and applied filtering.

Examples:

  • Today: gog calendar events --all --from 2026-02-04 --to 2026-02-05 --plain
  • Next 7 days: gog calendar events --all --from 2026-02-04 --to 2026-02-11 --plain

Output formatting:

  • sort by start time
  • group by day
  • show: time range, summary, location (calendar name only if it helps)

Keyword search across calendars (best-effort, aggregate, then filter)

Calendar event queries are scoped to a calendarId (API is /calendars/{calendarId}/events), so keyword search must iterate calendars and aggregate results. oai_citation:2‡Google for Developers

Default window:

  • if user didn’t specify a range: next 6 months from today (inclusive)
  • if user specified date/range: use it

Workflow (do not skip): 1) List calendars (need IDs + names for filtering): - gog calendar calendars --json 2) Build the set of excluded calendarIds from the exclusions rule. 3) For EACH non-excluded calendarId, search (JSON required for merge/dedupe): - gog calendar search "" --calendar --from --to --max 50 --json --no-input 4) Aggregate all matches across calendars (do NOT stop on first match unless user asked). 5) Deduplicate by (calendarId, eventId), sort by start time. 6) Report results and explicitly mention the searched window (and any filters applied).

If nothing found in default window:

  • say: “No events found in the next 6 months (). Want me to search further (e.g., 12 months) or within specific dates?”

Fallback if user is sure it exists:

  • ask/derive an approximate date and list around it (then filter):
- gog calendar events --all --from --to --plain
  • then match by title tokens locally (casefold + token overlap)

Writes (create/update/delete/RSVP)

Before any write action:

  • summarize exact intent (calendar, title, start/end, timezone, attendees, location)
  • ask for explicit “yes”
  • then run the command
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务