google-calendar-mcp: Skill for Claude Code

.claude/skills/review-pr/SKILL.md

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

A detailed review process for a pull request, which is a proposed set of code changes. It checks the author's claims against the actual code, runs tests where possible, looks for additional bugs, and prepares comments for approval before posting.

In plain words
What is it for?
Use it to inspect a contributor's pull request, reproduce relevant behavior, run tests and builds, and draft evidence-based review comments.
Why use it?
It reduces the risk of trusting an incomplete description or missing bugs that ordinary diff reading may overlook. It also keeps review comments tied to verified code locations.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents.

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,206 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/skills/review-pr/SKILL.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/skills/nspady/google-calendar-mcp/review-pr/github.svg)](https://agentmods.dev/skills/nspady/google-calendar-mcp/review-pr)
Your own site
<a href="https://agentmods.dev/skills/nspady/google-calendar-mcp/review-pr"><img src="https://agentmods.dev/badge/skills/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/skills/nspady/google-calendar-mcp/review-pr"><img src="https://agentmods.dev/badge/skills/nspady/google-calendar-mcp/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,182 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.00086 $0.01182
Opus 5.5 $0.00034 $0.00473
Sonnet 5.5 $0.00017 $0.00236
Haiku 4.5 $0.00009 $0.00118

Measured 20d ago against content hash ce4b8ae0c1e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 20d 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.

.claude/skills/review-pr/SKILL.md · 97 lines

How it starts

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

Deep PR review

The output of this skill is a drafts file, not a posted review. Post only after the maintainer approves the drafts, and re-read the drafts file immediately before posting — the maintainer edits it.

Stage 0 — Pin the target

  • gh pr view <n> --json title,body,headRefOid,files,author and gh pr diff <n>.
  • Pin the full head SHA. Every later line reference is at this SHA; if the author pushes mid-review, re-pin and re-verify.
  • Check out the head SHA in a scratch clone (never in a working worktree).

Stage 1 — Verify the description's claims

Treat every factual claim in the PR description as unverified. For each: find the code that implements it, and where feasible prove it empirically — run the unit suite, build and probe a live server, point the feature at a local stub server, reproduce the bug it claims to fix. Claims that survive reading but not probing are the ones that bite.

Stage 2 — Hunt beyond the description

For API-semantics and protocol questions, load the repo's research skills first: .claude/skills/gcal-api-research/ (Calendar API edge cases, recurring events, timezones) and .claude/skills/mcp-research/ (MCP spec compliance, transports, JSON-RPC). Verify against them, not memory.

Recurring failure modes in this codebase, in rough order of yield:

  • Shared-state lifecycle: the accounts Map, CalendarRegistry's cached entries, HTTP per-session transports, TokenManager. Who writes it, who invalidates it, what happens on reload/re-entry? Mutation paths that skip CalendarRegistry.getInstance().clearCache() serve stale data for 5 minutes.
  • Config and env vars: all config goes through src/config/AppConfig.ts, validated at startup, fail-loud, logged to stderr. A PR adding a raw process.env read elsewhere is a should-fix. Check precedence interactions with existing vars and what happens on a malformed value.
  • Silent failures: bare catches, fallbacks without logging, startup errors that don't name the actual problem. Quote exact error messages when citing one — verify the wrapped text, not the inner throw.
  • stdio discipline: anything printed to stdout in stdio mode corrupts JSON-RPC. New logging must go to stderr.
  • Tool description vs API semantics: what the Google API actually does versus what the tool description promises the model (e.g. calendarList.delete unsubscribes; it does not delete). The model relays these promises to users, so a mismatch is a blocker.
  • MCP spec compliance: session semantics (unknown session id → 404 / -32001; missing id → 400), error codes, SDK version behavior. Verify against the pinned SDK version in package.json, not memory.
  • New tools: registry entry with title + annotations, handler extending BaseToolHandler, unit test, README and docs tool lists updated.
  • Security surface: new env vars or URLs that could redirect tokens or credentials somewhere unexpected.

Read the full file on GitHub · 97 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. 20d ago First seen · 97 lines · 86 tokens per session scan A ce4b8ae0c1e8

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository nspady/google-calendar-mcp (1,206 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 1,182 once invoked, about $0.0003 per session on Opus 5.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-10-09.