Calendar
Read a selected Google Calendar's bounded events or free/busy window through a governed connection, preserving coverage and time semantics for downstream planning.
You’re reading version sha-acdcc0043284. Go to the current version
Overview
Use this skill when a decision needs current events or busy intervals from a Google calendar the operator has explicitly selected. The default events runner reads expanded event instances; freebusy reads only busy intervals. Both are read-only google-calendar connector operations with an exact calendar target and a window no longer than 30 days. They cannot create, edit, delete, RSVP to, or invite anyone to events.
The portable skill owns Calendar evidence semantics, not credentials or connector selection. A local, self-hosted, third-party, or Runx-hosted connector is compatible when it implements the declared operations and scopes. Keep connection identifiers, credentials, tenant details and private calendar choices in the operator's binding and inputs, never in this package.
In the manual
Runners
assistant-briefeventsfreebusynormalize-supplied
Declared by its execution profile. Read the profile
SKILL.md
Google Calendar
Use this skill when a decision needs current events or busy intervals from a Google calendar the operator has explicitly selected. The default events runner reads expanded event instances; freebusy reads only busy intervals. Both are read-only google-calendar connector operations with an exact calendar target and a window no longer than 30 days. They cannot create, edit, delete, RSVP to, or invite anyone to events.
The portable skill owns Calendar evidence semantics, not credentials or connector selection. A local, self-hosted, third-party, or Runx-hosted connector is compatible when it implements the declared operations and scopes. Keep connection identifiers, credentials, tenant details and private calendar choices in the operator's binding and inputs, never in this package.
Choose a bounded read
Authorize the intended Google account for events.read and/or freebusy.read. The hosted Google binding requests calendar.events.readonly for event details and calendar.events.freebusy for busy-only reads; Analytics or Search Console access does not grant Calendar access. Supply the exact calendar ID plus start and end instants with explicit UTC offsets. primary selects the connected account's primary calendar. For multiple calendars, run the selected IDs separately and preserve each result's coverage.
The events runner expands recurrence within the selected window and has a finite page budget. Use freebusy when only availability is relevant, so event titles are not collected. A live runner returns provider readback; normalize-supplied only normalizes already collected bytes and says supplied_result/not_called. Keep the prior receipt with that packet if it is to be treated as prior provider evidence.
Interpret the evidence
The returned calendar_context binds calendar ID, window, observation time, recurrence and cancellation identity, all-day dates with exclusive end, transparency, self-response and busy intervals. Private event titles are removed. An inaccessible calendar, provider error, stale result or incomplete event page means unknown coverage, never a free slot. Event absence establishes nothing unless every selected calendar window is complete and fresh. An all-day event covers local dates through the day before its exclusive end; do not turn it into a guessed UTC meeting time. A cancelled recurring instance is not a live commitment.
The assistant may use complete current evidence for meeting preparation and attention timing. The assistant-brief runner takes an exact scheduled goal occurrence and selected calendar, reads an upcoming bounded window, and returns the common operator work result. Partial coverage holds that occurrence; it never means the calendar is free. A separate owning scheduling or conversation skill may propose times only from complete fresh coverage and private working-hour/buffer policy. This skill neither offers slots nor sends messages. Event mutations belong to a separately governed future capability.
Recover and compose
If a page cap makes an event window partial, narrow the requested window into disjoint smaller windows, read them under the same selected calendar authority, and merge only complete slices by event instance identity. Repeating the same capped query cannot prove completeness. If a provider error or expired grant caused the gap, repair the binding and refresh the affected window. Do not add a mirrored event database, sync-token store, webhook loop or assistant-owned case for routine polling.
For example, read primary from 2026-10-04T00:00:00+11:00 through 2026-10-11T00:00:00+11:00, then pass the context and receipt to the assistant. If that read is partial, split the week into smaller bounded reads before concluding there are no other commitments.
Published execution profile
The execution profile published with sha-acdcc0043284, shown as its exact bytes.
| Runners |
|
|---|---|
| Profile digest | sha256:06cac8dfb7071828195afa159b55e1fc5b078096787d226be9e3dfba21ab7b94 |
skill: google-calendar
version: "0.1.6"
catalog:
kind: graph
audience: public
visibility: public
role: canonical
provider: google/calendar
execution: read
completion: provider_readback
approval: none
input_definitions:
calendar_id:
type: string
required: true
description: Exact selected Google calendar ID; primary selects the connected account's primary calendar.
schema: { pattern: '^(?:primary|[A-Za-z0-9][A-Za-z0-9._@+%-]{0,254})$' }
time_min:
type: string
required: true
description: Inclusive window start with explicit UTC offset.
schema: { format: date-time }
time_max:
type: string
required: true
description: Exclusive window end with explicit UTC offset, at most 30 days after start.
schema: { format: date-time }
provider_result:
type: object
required: true
description: Prior Google Calendar provider result, to normalize without another read.
schema: { additionalProperties: true }
harness:
files: [fixtures/support/composed.graph]
cases:
- name: normalizes-complete-private-and-cancelled-events
runner: normalize-supplied
operator_journeys:
- mode: composed
request: Reuse already read Google Calendar evidence for the assistant without another provider call.
expected_outcome: A bounded context packet preserves cancellation and removes private titles; it does not claim fresh provider readback.
prior_evidence: [An existing calendar read result and its separate receipt.]
must_not_repeat: [Do not call Google Calendar again.]
inputs:
kind: events
calendar_id: primary
time_min: "2026-10-04T00:00:00Z"
time_max: "2026-10-05T00:00:00Z"
provider_result:
calendar_id: primary
time_min: "2026-10-04T00:00:00Z"
time_max: "2026-10-05T00:00:00Z"
fetched_at: "2026-10-04T01:00:00Z"
complete: true
events:
- { event_id: private-1, revision: v1, status: confirmed, visibility: private, summary: hidden, all_day: true, start: "2026-10-04", end: "2026-10-05" }
- { event_id: cancelled-1, status: cancelled, recurring_event_id: series-1 }
expect:
status: sealed
steps: [normalize]
step_outputs:
normalize:
subset:
calendar_context:
data:
decision: ready
coverage: complete
provider_status: not_called
events:
- { event_id: private-1, all_day: true }
- { event_id: cancelled-1, status: cancelled }
receipt: { schema: runx.receipt.v1 }
- name: partial-freebusy-stays-unknown
runner: normalize-supplied
operator_journeys:
- mode: standalone
request: Check whether a selected Google Calendar is free during the next day.
expected_outcome: Mark an incomplete provider result partial, without proposing availability.
inputs:
kind: freebusy
calendar_id: primary
time_min: "2026-10-04T00:00:00Z"
time_max: "2026-10-05T00:00:00Z"
provider_result:
calendar_id: primary
time_min: "2026-10-04T00:00:00Z"
time_max: "2026-10-05T00:00:00Z"
fetched_at: "2026-10-04T01:00:00Z"
complete: false
errors: [{ reason: notFound }]
busy: []
expect:
status: sealed
steps: [normalize]
step_outputs:
normalize:
subset:
calendar_context:
data: { decision: partial, coverage: partial, provider_status: not_called }
receipt: { schema: runx.receipt.v1 }
connectors:
google/calendar:
operations: [events.list, freebusy.query]
runners:
assistant-brief:
inputs:
calendar_id: { definition: calendar_id }
occurrence_ref:
type: string
required: true
description: Exact scheduled goal occurrence admitted by the local operator.
schema: { pattern: '^runx://assistant/goal/[a-z0-9_-]+/schedule/sha256:[0-9a-f]{64}/occurrence/[0-9]+$' }
window_hours:
type: integer
required: true
description: Bounded upcoming calendar window in hours.
schema: { minimum: 1, maximum: 168 }
result_from: [finish]
steps:
- id: window
inputs: { calendar_id: $input.calendar_id, occurrence_ref: $input.occurrence_ref, window_hours: $input.window_hours }
tool: { module: google-calendar.mjs, export: prepareAssistantWindow }
outputs: { calendar_window: object }
- id: read
skill: .
runner: events
inputs:
calendar_id: $steps.window.calendar_window.calendar_id
time_min: $steps.window.calendar_window.time_min
time_max: $steps.window.calendar_window.time_max
- id: finish
inputs:
calendar_id: $input.calendar_id
occurrence_ref: $input.occurrence_ref
window: $steps.window.calendar_window
calendar_context: $steps.read.calendar_context
tool: { module: google-calendar.mjs, export: finishAssistantBrief }
outputs: { work_result: object }
artifacts:
named_emits: { work_result: work_result }
packets: { work_result: runx.work_outcome.v1 }
events:
default: true
inputs:
calendar_id: { definition: calendar_id }
time_min: { definition: time_min }
time_max: { definition: time_max }
examples:
- { calendar_id: primary, time_min: "2026-10-04T00:00:00Z", time_max: "2026-10-11T00:00:00Z" }
result_from: [normalize]
steps:
- id: read
operation: google/calendar/events.list
result_fields: [calendar_id, time_min, time_max, events, complete, fetched_at]
input:
calendar_id: $input.calendar_id
time_min: $input.time_min
time_max: $input.time_max
- id: normalize
inputs:
kind: events
source_status: provider_readback
calendar_id: $input.calendar_id
time_min: $input.time_min
time_max: $input.time_max
provider_result: $steps.read.provider_operation.result
tool: { module: google-calendar.mjs, export: normalizeCalendar }
outputs: { calendar_context: object }
artifacts:
named_emits: { calendar_context: calendar_context }
freebusy:
inputs:
calendar_id: { definition: calendar_id }
time_min: { definition: time_min }
time_max: { definition: time_max }
result_from: [normalize]
steps:
- id: read
operation: google/calendar/freebusy.query
result_fields: [calendar_id, time_min, time_max, complete, errors, busy, fetched_at]
input:
calendar_id: $input.calendar_id
time_min: $input.time_min
time_max: $input.time_max
- id: normalize
inputs:
kind: freebusy
source_status: provider_readback
calendar_id: $input.calendar_id
time_min: $input.time_min
time_max: $input.time_max
provider_result: $steps.read.provider_operation.result
tool: { module: google-calendar.mjs, export: normalizeCalendar }
outputs: { calendar_context: object }
artifacts:
named_emits: { calendar_context: calendar_context }
normalize-supplied:
inputs:
kind:
type: string
required: true
description: Event or freebusy result type.
schema: { enum: [events, freebusy] }
calendar_id: { definition: calendar_id }
time_min: { definition: time_min }
time_max: { definition: time_max }
provider_result: { definition: provider_result }
result_from: [normalize]
steps:
- id: normalize
inputs:
kind: $input.kind
source_status: supplied_result
calendar_id: $input.calendar_id
time_min: $input.time_min
time_max: $input.time_max
provider_result: $input.provider_result
tool: { module: google-calendar.mjs, export: normalizeCalendar }
outputs: { calendar_context: object }
artifacts:
named_emits: { calendar_context: calendar_context }
Published package and test evidence.
The latest recorded test covers an earlier version, 0.1.11. It does not establish a result for this version.
Test result
| Harness result | An earlier version was tested |
|---|---|
| Tested version | 0.1.11Not this page’s version, sha-acdcc0043284 |
| Recorded result | 8 checks passed · 0 failed |
| Result source | Run by the Runx registry at publication |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
Package identity
| Published revision | sha-acdcc0043284 |
|---|---|
| Content digest | sha256:edbb58ea49de37f8f32dc2ffd1a6d54d97c7d0b06420544522b67880afc3a38c |
| SKILL.md digest | sha256:5cae0833b3d93382cbe60f85739eea117055f1ae8eca418e5017dd6dd5166a7a |
| Execution profile digest | sha256:06cac8dfb7071828195afa159b55e1fc5b078096787d226be9e3dfba21ab7b94 |
| Publisher identity | Verified publisher · runx |
| Trust tier | Verified publisherRunx has verified this publisher. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
0.1.11Content digest sha256:b10f2d1253cc8066c229e7931eb597c9d27576b2b4f5b2398cbdf489248ec61asha-d817eae1aebfContent digest sha256:d817eae1aebf3d29e7be5aedd798b6d32a06c83d3333c1d9139c80a577c7ac2esha-14b1c4e3d192Content digest sha256:02eef90895c87a90458752ea27b2029cea880695c266839e834230a9e2dfbd5esha-acdcc0043284ViewingContent digest sha256:edbb58ea49de37f8f32dc2ffd1a6d54d97c7d0b06420544522b67880afc3a38c