calendar

A command-line tool for viewing calendars, managing events, and checking availability. It can list calendars and events, show event details, and convert event times to another time zone.

In plain words
What is it for?
Use it to list calendars, find upcoming events, inspect a specific event, check availability, filter by calendar, and display times in places such as London or Los Angeles.
Why use it?
It removes the need to switch between calendar screens or manually check schedules and time zones. It also lets you include cancelled events or limit the results you retrieve.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/nylas/cli/calendar
Clone the repo
git clone --depth 1 https://github.com/nylas/cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.10901
Opus 5 $0.00000 $0.05450
Sonnet 5 $0.00000 $0.02180
Haiku 4.5 $0.00000 $0.01090

Measured 2d ago against content hash 0136d13f974d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

calendar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/calendar.md · 1,428 lines

How it starts

The opening of the file, as written. The whole thing — 1,428 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Calendar Management

View calendars, manage events, and check availability.

List Calendars

nylas calendar list [grant-id]        # List all calendars
nylas cal list                        # Alias

Example output:

$ nylas calendar list

Found 3 calendar(s):

NAME                    ID                      PRIMARY   READ-ONLY
Personal                cal_primary_123         Yes
Work                    cal_work_456
Holidays                cal_holidays_789                  Yes

Calendar Events

# List events
nylas calendar events list [grant-id]
nylas calendar events list --days 14        # Next 14 days
nylas calendar events list --limit 20       # Limit results
nylas calendar events list --calendar <id>  # Specific calendar
nylas calendar events list --show-cancelled # Include cancelled

# List events with timezone conversion (NEW)
nylas calendar events list --timezone America/Los_Angeles  # Convert to specific timezone
nylas calendar events list --show-tz                       # Show timezone abbreviations
nylas calendar events list --timezone Europe/London --show-tz  # Both

# Show event details
nylas calendar events show <event-id>
nylas calendar events show <event-id> --timezone Asia/Tokyo  # Show in specific timezone

# Create event
nylas calendar events create --title "Meeting" --start "2024-12-20 14:00" --end "2024-12-20 15:00"
nylas calendar events create --title "Vacation" --start "2024-12-25" --all-day
nylas calendar events create --title "Team Sync" --start "2024-12-20 10:00" \
  --participant "[email protected]" --participant "[email protected]"

# Create event with DST validation (automatically checks for conflicts)
nylas calendar events create --title "Early Meeting" --start "Mar 9, 2025 2:30 AM"

# Create event ignoring DST warnings
nylas calendar events create --title "Early Meeting" --start "Mar 9, 2025 2:30 AM" --ignore-dst-warning

# Delete event
nylas calendar events delete <event-id>
nylas calendar events delete <event-id> --force

Read the full file on GitHub · 1,428 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 1,428 lines · 0 tokens per session scan A 0136d13f974d

Subscribe to this mod's changes

calendar is a command published in the GitHub repository nylas/cli (68 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 10,901 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.