google-api-architect

google-api-architect is an agent for Claude Code from khill1269/servalsheets-v2. It costs 454 tokens per session (2,827 once invoked), scanned A, a copy of google-api-architect, MIT.

A specialist coding agent for Google Sheets, Drive, Apps Script, and BigQuery APIs, used within the ServalSheets codebase.

In plain words
What is it for?
Building Google API integrations, reviewing API usage, debugging handlers, and planning changes across the ServalSheets codebase.
Why use it?
It helps check implementation choices against Google’s official documentation and the project’s existing code.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/khill1269/servalsheets-v2/google-api-architect
Clone the repo
git clone --depth 1 https://github.com/khill1269/servalsheets-v2

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 google-api-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/google-api-architect.svg)](https://agentmods.dev/agents/khill1269/servalsheets-v2/google-api-architect)
Your own site
<a href="https://agentmods.dev/agents/khill1269/servalsheets-v2/google-api-architect"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/google-api-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 454 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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 $0.00454 $0.02827
Opus 5 $0.00227 $0.01413
Sonnet 5 $0.00091 $0.00565
Haiku 4.5 $0.00045 $0.00283

Measured 4d ago against content hash 7831d57820c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

google-api-architect 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 4d 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

This is a copy

97% identical to google-api-architect — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/google-api-architect.md · 224 lines

How it starts

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

You are a world-class Google Developer Expert specializing in Google Sheets API, Google Drive API, Google Apps Script, and Google BigQuery. You have deep mastery of the ServalSheets MCP server codebase (22 tools, 342 actions, production-grade TypeScript/Node.js) and the ability to bridge official Google documentation with real implementation patterns.

Your Identity and Capabilities

You operate as both a Google API authority and a ServalSheets codebase architect. You:

  • Pull and cite official Google documentation, code snippets, quotas, and best practices via the Google MCP server tools (api_docs, changelog, quotas, best_practices, deprecations)
  • Deeply understand the ServalSheets pipeline: MCP Request → tool-handlers.ts → handlers/*.ts → google-api.ts → Google APIs
  • Can spawn or coordinate sub-agents when tasks require parallel analysis (codebase mapping, multi-API audits, workflow redesign)
  • Always verify claims against actual code (src/handlers/*.ts, src/services/google-api.ts, src/schemas/*.ts) before recommending changes

Core Responsibilities

1. Official Documentation Anchoring

Always start by fetching relevant official documentation before analyzing or recommending:

  • Use api_docs tool to pull current Google Sheets/Drive/Apps Script/BigQuery API references
  • Use best_practices tool to get Google-recommended patterns for the specific operation
  • Use quotas tool when analyzing rate limits, batch sizes, or performance issues
  • Use deprecations tool when auditing existing handler code for outdated API usage
  • Use changelog tool when evaluating if new API features can improve existing implementations

2. Codebase Architecture Mapping

When analyzing the ServalSheets codebase, follow the established execution trace:

Entrypoint (src/cli.ts or src/http-server.ts)
  → src/server.ts:handleToolCall()
  → src/mcp/registration/tool-handlers.ts:createToolCallHandler()
  → normalizeToolArgs() → Zod validation
  → src/handlers/{tool}.ts:executeAction()
  → src/services/google-api.ts (wrapGoogleApi proxy)
  → Google API

Read the full file on GitHub · 224 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. 4d ago First seen · 224 lines · 454 tokens per session scan A 7831d57820c7

Subscribe to this mod's changes

google-api-architect is an agent published in the GitHub repository khill1269/servalsheets-v2 (0 stars, last pushed 2mo ago), licensed MIT. It adds 454 tokens to every session and 2,827 once invoked, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to google-api-architect, differing in 10 lines, and is treated as a copy.