audit-google

audit-google is an agent for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 32 tokens per session (1,016 once invoked), scanned A, original, Apache-2.0.

A Google-data assistant for website audits that uses data from Chrome User Experience Report, Search Console, and Google Analytics 4 when credentials are available. It checks real-user loading and interaction performance, search visibility, indexing, queries, and organic traffic.

In plain words
What is it for?
Use it to check Core Web Vitals, Search Console indexing and query data, and Analytics traffic for a website.
Why use it?
It adds data from Google services so an audit can compare the crawled pages with actual user experience, search activity, and visits.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Use it to check Core Web Vitals, Search Console indexing and query data, and Analytics traffic for a website.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xuanranl/loamwright-seo-skill/audit-google
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.

Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

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 audit-google

README.md
[![agentmods](https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-google.svg)](https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-google)
Your own site
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-google"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-google.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,016 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.00032 $0.01016
Opus 5 $0.00016 $0.00508
Sonnet 5 $0.00006 $0.00203
Haiku 4.5 $0.00003 $0.00102

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

Security

Grade A, and why

audit-google 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 8d 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.

agents/audit-google.md · 55 lines

How it starts

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

Audit Google Agent

Spawn Condition

At least one Google credential configured in {audit_dir}/config.json :: api_keysgoogle_crux, google_gsc, or google_ga4. Skip unavailable sources gracefully.

Inputs

  • {audit_dir}/config.json — API keys, domain, GSC property URL, GA4 property ID
  • {audit_dir}/crawl-results.json — URL list for per-page CrUX lookups

Scripts

  • python -m scripts.audit.pagespeed_check {url} --crux-only --json (URL is positional)
  • python -m scripts.audit.google_oauth_setup — ONE-TIME interactive OAuth authorization for GSC + GA4 (opens a browser; no flags, no --json). Run only if ~/.xuanran-seo/credentials/google-oauth-token.json is missing; gsc_fetch/ga4_fetch read the stored token themselves.
  • python -m scripts.audit.gsc_fetch --property {siteUrl} --days {N} --json
  • python -m scripts.audit.ga4_fetch --property-id {id} --metrics sessions,totalUsers --days {N} --json

Checks

CrUX Field CWV (if crux key)

Origin-level + top-10 page-level 75th-percentile metrics. Thresholds — LCP: good < 2.5s, poor > 4.0s; INP: good < 200ms, poor > 500ms; CLS: good < 0.1, poor > 0.25. Report by form factor (mobile = ranking signal). 25-week trend via linear regression: improving/stable/declining. CRITICAL if any mobile metric poor; HIGH if needs-improvement; HIGH for active regression crossing good→needs-improvement in 8 weeks.

GSC Indexation (if gsc key)

Indexed pages count vs total excluded. Indexation ratio target > 85% (HIGH if < 70%, CRITICAL if < 50%). Top 5 exclusion reasons by count. Sitemap submission gap: in-sitemap but not-indexed pages. Coverage errors: 5xx, 4xx from Googlebot. "Crawled currently not indexed" > 20% = HIGH.

GSC Query Performance (if gsc key)

Top 20 queries by impressions (28d). Branded vs non-branded avg position. High-impression low-CTR queries (title/desc opportunity). Position distribution: % in 1-3, 4-10, 11-20, 20+. Biggest impression changes vs prior 28d.

GA4 Organic Traffic (if ga4 key)

30/90/180-day organic sessions. MoM and QoQ trend %. Top 10 landing pages by organic sessions. Bounce rate and pages/session for organic segment. HIGH if QoQ decline > 20%; MEDIUM if 10-20%.

Read the full file on GitHub · 55 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. 8d ago First seen · 55 lines · 32 tokens per session scan A ecce604e1c83

Subscribe to this mod's changes

audit-google is an agent published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 21d ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,016 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

schema-generator

Structured-data specialist. Use proactively during an audit to validate existing JSON-LD and PROPOSE complete Tier-1 schema blocks (plus e-commerce/local schema and agentic-commerce readiness when those verticals are active). It proposes diffs only and does NOT write files.

Hainrixz/claude-seo-ai · 56 tokens

seo-fixer-writer

The ONLY agent allowed to write files. Used exclusively by the fix skill (the /claude-seo-ai:fix command) AFTER the user has confirmed the changes. Applies confirmed AUTO-class fixes (and PROPOSED ones the user accepted) through Edit/Write for local diffs and the ticketed adapter CLIs for remote targets, backs up…

Hainrixz/claude-seo-ai · 93 tokens

geo-schema

Schema markup specialist detecting, validating, and generating structured data (JSON-LD preferred). Focuses on schemas that improve AI discoverability including Organization, Person, Article, sameAs, and speakable properties.

Cognitic-Labs/geoskills · 44 tokens

geo-citability

AI citability scoring and optimization specialist. Analyzes how likely AI systems are to cite, quote, or reference content from a website. Evaluates answer block quality, self-containment, statistical density, structural clarity, and expertise signals.

Cognitic-Labs/geoskills · 53 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens