google-api-architect

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

An expert guide for using Google APIs such as Sheets, Drive, Apps Script, and BigQuery within the ServalSheets codebase. It checks recommendations against official Google documentation and the actual source code.

In plain words
What is it for?
Use it to implement, optimize, audit, or debug Google API integrations and to check quotas, best practices, deprecations, and official examples.
Why use it?
It helps prevent API integrations from relying on outdated behavior or patterns that do not fit the existing code. It also connects Google API guidance to the project's handlers, services, and schemas.

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/google-api-architect
Clone the repo
git clone --depth 1 https://github.com/khill1269/servalsheets

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/google-api-architect.svg)](https://agentmods.dev/agents/khill1269/servalsheets/google-api-architect)
Your own site
<a href="https://agentmods.dev/agents/khill1269/servalsheets/google-api-architect"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets/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,860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00454 $0.02860
Opus 5 $0.00227 $0.01430
Sonnet 5 $0.00091 $0.00572
Haiku 4.5 $0.00045 $0.00286

Measured 2d ago against content hash c1e6613457b1, 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 2d 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

1 near-identical copy found in the catalogue:

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

How it starts

The opening of the file, as written. The whole thing — 232 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 (25 tools, 410 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 · 232 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. 2d ago First seen · 232 lines · 454 tokens per session scan A c1e6613457b1

Subscribe to this mod's changes

google-api-architect is an agent published in the GitHub repository khill1269/servalsheets (0 stars, last pushed 10d ago), licensed MIT. It adds 454 tokens to every session and 2,860 once invoked, about $0.0023 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-31.

Related

Other agents, from other repositories