google-calendar-mcp: Command for Claude Code

.claude/commands/review-pr.md

review-pr is a command for Claude Code from nspady/google-calendar-mcp. It costs 16 tokens per session (392 once invoked), scanned A, original, MIT.

A command for reviewing pull requests, which are proposed code changes, against protocol, API, and testing requirements. The supplied checks cover MCP, Google Calendar, and test coverage.

In plain words
What is it for?
Use it to check JSON-RPC and transport behavior, Google Calendar edge cases such as time zones and recurring events, error handling, mocks, integration tests, and reported coverage.
Why use it?
It focuses a review on blocking compliance and reliability issues, with file and line references, so senior engineers can act quickly.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is nspady/google-calendar-mcp's own configuration. It tells Claude Code how to work on google-calendar-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything google-calendar-mcp configures →

About the project

google-calendar-mcp is an MCP server that lets AI assistants connect to Google Calendar and manage calendar information. It supports tasks such as searching, creating, updating, and deleting events, checking availability, handling recurring events, and detecting conflicts across calendars. The catalogue skills, instructions, commands, and agents provide workflows for operating this integration.

nspady/google-calendar-mcp · 1,185 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to nspady/google-calendar-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nspady/google-calendar-mcp/main/.claude/commands/review-pr.md
Clone the repo
git clone --depth 1 https://github.com/nspady/google-calendar-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/nspady/google-calendar-mcp/review-pr/github.svg)](https://agentmods.dev/commands/nspady/google-calendar-mcp/review-pr)
Your own site
<a href="https://agentmods.dev/commands/nspady/google-calendar-mcp/review-pr"><img src="https://agentmods.dev/badge/commands/nspady/google-calendar-mcp/review-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/nspady/google-calendar-mcp/review-pr"><img src="https://agentmods.dev/badge/commands/nspady/google-calendar-mcp/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00016 $0.00392
Opus 5 $0.00008 $0.00196
Sonnet 5 $0.00003 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 10d ago against content hash 6b3441c16cb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

review-pr 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 10d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • review-pr — 100% identical, 0 lines differ
  • review-pr — 100% identical, 0 lines differ
.claude/commands/review-pr.md · 61 lines

What it actually says

Review PR $ARGUMENTS for compliance with:

1. MCP Protocol Compliance (mcp-research skill)

Check:

  • JSON-RPC 2.0 format correctness
  • Capability advertisement accuracy
  • Security/consent workflows
  • Error handling patterns
  • Transport layer compliance
  • Production readiness

2. Google Calendar API Best Practices (gcal-api-research skill)

Validate:

  • Correct API method usage
  • Edge cases handling (recurring events, timezones, all-day events, attendees)
  • Error handling for Calendar API failures
  • Structured response formats
  • Field mask optimization

3. Test Coverage (calendar-test-engineer agent)

Verify:

  • 90% code coverage achieved

  • Unit tests for all edge cases identified in research
  • Integration tests for critical scenarios
  • Error path testing
  • Mock configurations realistic

Output Format

CRITICAL: BE EXTREMELY CONCISE. MAX 300 WORDS TOTAL.

Audience: Senior engineers with limited time.

DO NOT:

  • Create analysis files or documentation
  • Write verbose explanations
  • Provide code examples unless critical
  • List obvious issues

DO:

  • Provide file:line references
  • Focus on blocking issues only
  • Give specific, actionable fixes

MCP Compliance: ✅/⚠️/❌ [one-line summary] Calendar API: ✅/⚠️/❌ [one-line summary] Test Coverage: ✅/⚠️/❌ [coverage % + critical gaps]

Critical Issues: [numbered list, max 3, with file:line] Recommendations: [numbered list, max 3, specific fixes]

Approval Status: APPROVE / REQUEST CHANGES / BLOCK

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. 10d ago First seen · 61 lines · 16 tokens per session scan A 6b3441c16cb5

Subscribe to this mod's changes

review-pr is a command published in the GitHub repository nspady/google-calendar-mcp (1,185 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 392 once invoked, about $0.0001 per session on Opus 5. 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.