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.
npx agentmods add commands/nylas/cli/calendargit clone --depth 1 https://github.com/nylas/cliWhat 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.
| Model | Per session | Once 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 |
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.
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
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.
- 2d ago First seen · 1,428 lines · 0 tokens per session scan A 0136d13f974d
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.
Other commands, from other repositories
create-pr
Create a pull request following the official template.
/release
Release a new version — updates CHANGELOG, pyproject.toml, creates git tag, and pushes.
numbers-to-excel
Convert a Numbers document to Excel.
briefing
Get a daily briefing of today's calendar events, reminders, and optional inbox context.
symfony-api-errors
Design API Platform 4.3 error handling — RFC 7807.
execute-plan
Execute an implementation plan methodically with TDD and continuous validation.