gws-calendar-agenda — Claude Code command: Google Calendar agenda
Lists upcoming events across your Google Workspace calendars. Handy when you want the schedule without leaving Claude.
npx claude-code-templates@latest --command google-workspace/gws-calendar-agendaWhat gws-calendar-agenda does
The command runs gws calendar +agenda and prints what is coming up. Every calendar is queried unless you narrow it down with --calendar and a name or ID. Quick ranges are built in: --today, --tomorrow, --week, while --days sets how far ahead to look.
Reading is all it does. Events stay untouched. You need the Google Workspace CLI in place first: run gws --version, then gws auth status — an unconfigured login means the calendar query fails. For the full method list, see gws calendar-agenda --help.
The file itself is a set of instructions for the agent: confirm the prerequisites, inspect a method schema with gws schema when needed, run the operation, then deal with errors such as API rate limits. Add --format table for tabular output. It lives at .claude/commands/gws-calendar-agenda.md.
What it helps with
- check what is on today's schedule
- pull a week's agenda from every calendar
- filter events down to one work calendar
- list meetings for the next few days
- confirm that gws authentication is set up
Example prompts for the agent
- Show today's agenda with gws-calendar-agenda
- List this week's events as a table
- Show events for the next 3 days from the Work calendar
How to install gws-calendar-agenda
1claude-code-templates
npx claude-code-templates@latest --command google-workspace/gws-calendar-agenda2Manually: put the files in place
.claude/commands/gws-calendar-agenda.mdCall it with /gws-calendar-agenda. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/gws-calendar-agenda.mdCall it with /prompts:gws-calendar-agenda. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/gws-calendar-agenda.prompt.mdManually: put the files in place
.gemini/commands/gws-calendar-agenda.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about gws-calendar-agenda
How do I install gws-calendar-agenda in Claude Code?
Run npx claude-code-templates@latest --command google-workspace/gws-calendar-agenda, then check that the file landed at .claude/commands/gws-calendar-agenda.md.
What does gws-calendar-agenda do?
It shows upcoming events across all your Google Workspace calendars. Read-only, so nothing gets modified.
What does the command need to work?
The Google Workspace CLI plus configured authentication. Run gws auth status to verify the login.
Source text
gws-calendar-agenda.md · MIT
--- allowed-tools: Bash, Read, Write, Edit argument-hint: "[resource] [method] [flags]" description: "Google Calendar: Show upcoming events across all calendars." --- # Google Workspace Calendar Agenda Execute Google Workspace Calendar Agenda operations: $ARGUMENTS ## Prerequisites - Google Workspace CLI (`gws`) must be installed - Authentication configured: Run `gws auth status` to verify - Review `gws calendar-agenda --help` for all available commands ## Available Resources and Methods # calendar +agenda > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. Show upcoming events across all calendars ## Usage ```bash gws calendar +agenda ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `--today` | — | — | Show today's events | | `--tomorrow` | — | — | Show tomorrow's events | | `--week` | — | — | Show this week's events | | `--days` | — | — | Number of days ahead to show | | `--calendar` | — | — | Filter to specific calendar name or ID | ## Examples ```bash gws calendar +agenda gws calendar +agenda --today gws calendar +agenda --week --format table gws calendar +agenda --days 3 --calendar 'Work' ``` ## Tips - Read-only — never modifies events. - Queries all calendars by default; use --calendar to filter. ## See Also - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth - [gws-calendar](../gws-calendar/SKILL.md) — All manage calendars and events commands ## Usage ```bash # List available resources and methods gws calendar-agenda --help # Inspect method schema before calling gws schema calendar-agenda.<resource>.<method> # Execute command with arguments gws calendar-agenda $ARGUMENTS ``` ## Task Execute the requested Calendar Agenda operation: $ARGUMENTS 1. **Verify Prerequisites** - Check `gws` is installed: `gws --version` - Verify authentication: `gws auth status` - Review available commands: `gws calendar-agenda --help` 2. **Inspect Method Schema** - Before calling any method, inspect its parameters - Use `gws schema` to understand required fields - Review parameter types and constraints 3. **Execute Operation** - Build command with appropriate flags - Use `--params` for query/path parameters - Use `--json` for request body - Handle pagination with `--max-results` or `--page-token` 4. **Error Handling** - Check command output for errors - Review API quotas and rate limits - Handle authentication issues - Retry transient failures --- **License**: Apache License 2.0 **Source**: [Google Workspace CLI](https://github.com/googleworkspace/cli) **Original Skill**: `gws-calendar-agenda`
© davila7 · MIT · davila7/claude-code-templates