gws-workflow-weekly-digest — Claude Code command: weekly digest
Generates a Google Workspace weekly digest combining upcoming calendar meetings and unread email counts in one summary.
npx claude-code-templates@latest --command google-workspace/gws-workflow-weekly-digestWhat gws-workflow-weekly-digest does
This command compiles a weekly agenda by pulling scheduled events from Google Calendar alongside the unread inbox count from Gmail. You can pass --format to receive output formatted as json, table, yaml, or csv.
Operations run strictly in read-only mode, so calendar events and mailboxes remain untouched. It relies on Bash execution permissions to invoke the Google Workspace CLI tool. The agent inspects parameter constraints via gws schema before calling commands.
The command fails immediately without the gws binary installed and authenticated via gws auth status. You also need ../gws-shared/SKILL.md in place, which you can create using gws generate-skills.
What it helps with
- aggregate this week's meetings and unread email count into one summary
- export schedule and inbox triage metrics as a table or JSON
- inspect Google Workspace agenda without manual checks
Example prompts for the agent
- Get a weekly digest of my meetings and unread emails
- Output my weekly schedule and unread mail summary as a table
How to install gws-workflow-weekly-digest
1claude-code-templates
npx claude-code-templates@latest --command google-workspace/gws-workflow-weekly-digest2Manually: put the files in place
.claude/commands/gws-workflow-weekly-digest.mdCall it with /gws-workflow-weekly-digest. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/gws-workflow-weekly-digest.mdCall it with /prompts:gws-workflow-weekly-digest. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/gws-workflow-weekly-digest.prompt.mdManually: put the files in place
.gemini/commands/gws-workflow-weekly-digest.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about gws-workflow-weekly-digest
How to install gws-workflow-weekly-digest in Claude Code?
Run npx claude-code-templates@latest --command google-workspace/gws-workflow-weekly-digest in your terminal.
What does gws-workflow-weekly-digest do?
It queries Google Calendar and Gmail via the gws CLI to provide a weekly agenda and unread email count.
Does gws-workflow-weekly-digest modify any Google Workspace data?
No, the command operates strictly in read-only mode and never modifies events or messages.
Source text
gws-workflow-weekly-digest.md · MIT
--- allowed-tools: Bash, Read, Write, Edit argument-hint: "[resource] [method] [flags]" description: "Google Workflow: Weekly summary: this week's meetings + unread email count." --- # Google Workspace Workflow Weekly Digest Execute Google Workspace Workflow Weekly Digest operations: $ARGUMENTS ## Prerequisites - Google Workspace CLI (`gws`) must be installed - Authentication configured: Run `gws auth status` to verify - Review `gws workflow-weekly-digest --help` for all available commands ## Available Resources and Methods # workflow +weekly-digest > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. Weekly summary: this week's meetings + unread email count ## Usage ```bash gws workflow +weekly-digest ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `--format` | — | — | Output format: json (default), table, yaml, csv | ## Examples ```bash gws workflow +weekly-digest gws workflow +weekly-digest --format table ``` ## Tips - Read-only — never modifies data. - Combines calendar agenda (week) with gmail triage summary. ## See Also - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth - [gws-workflow](../gws-workflow/SKILL.md) — All cross-service productivity workflows commands ## Usage ```bash # List available resources and methods gws workflow-weekly-digest --help # Inspect method schema before calling gws schema workflow-weekly-digest.<resource>.<method> # Execute command with arguments gws workflow-weekly-digest $ARGUMENTS ``` ## Task Execute the requested Workflow Weekly Digest operation: $ARGUMENTS 1. **Verify Prerequisites** - Check `gws` is installed: `gws --version` - Verify authentication: `gws auth status` - Review available commands: `gws workflow-weekly-digest --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-workflow-weekly-digest`
© davila7 · MIT · davila7/claude-code-templates