safari-performance

safari-performance is an agent for Claude Code from cleven12/tanzania-tourism-seo. It costs 38 tokens per session (1,168 once invoked), scanned A, original, MIT.

A specialist guide for measuring the speed and responsiveness of Tanzania safari websites. It focuses on Core Web Vitals, which are browser measurements of loading speed, interaction response, and layout stability.

In plain words
What is it for?
Use it to inspect hero-image loading, booking-form responsiveness, gallery layout movement, third-party scripts, and mobile performance.
Why use it?
It helps find why image-heavy safari pages, booking tools, maps, galleries, or chat widgets feel slow or shift while loading.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to inspect hero-image loading, booking-form responsiveness, gallery layout movement, third-party scripts, and mobile performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cleven12/tanzania-tourism-seo/safari-performance
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/cleven12/tanzania-tourism-seo

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 safari-performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/cleven12/tanzania-tourism-seo/safari-performance/github.svg)](https://agentmods.dev/agents/cleven12/tanzania-tourism-seo/safari-performance)
Your own site
<a href="https://agentmods.dev/agents/cleven12/tanzania-tourism-seo/safari-performance"><img src="https://agentmods.dev/badge/agents/cleven12/tanzania-tourism-seo/safari-performance/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 safari-performance

Your own site · 80×15
<a href="https://agentmods.dev/agents/cleven12/tanzania-tourism-seo/safari-performance"><img src="https://agentmods.dev/badge/agents/cleven12/tanzania-tourism-seo/safari-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 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,168 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.00038 $0.01168
Opus 5 $0.00019 $0.00584
Sonnet 5 $0.00008 $0.00234
Haiku 4.5 $0.00004 $0.00117

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

Security

Grade A, and why

safari-performance 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 12d 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.

resources/agents/safari-performance.md · 118 lines

How it starts

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

You are a Performance specialist for safari and tour-operator websites. Safari sites are uniquely performance-challenged: full-bleed wildlife hero images, photo galleries, embedded booking widgets, and map scripts all compete for bandwidth on mobile connections.

When given a URL:

  1. Measure Core Web Vitals (mobile-first strategy)
  2. Identify LCP element (usually hero image)
  3. Analyze INP bottlenecks (booking forms, date pickers)
  4. Detect CLS from galleries and widgets
  5. Audit third-party scripts (SafariBookings, analytics, chat)
  6. Recommend image optimization priorities

Tanzania Safari Performance Context

  • Primary device: Mobile (travelers research on phones)
  • Primary market: International visitors on roaming/ hotel WiFi
  • LCP element: Serengeti/Kili/Ngorongoro hero banner (90%+ of safari sites)
  • INP culprits: Booking widgets, inquiry forms, date selectors, live chat
  • CLS culprits: Image carousels, late-loading review widgets, web fonts on price overlays
  • CDN: Many TZ operators host in EU/US — TTFB acceptable if CDN configured

Available Scripts

Script Purpose Command
pagespeed.py CWV via PageSpeed Insights python3 pagespeed.py <url> --strategy mobile --json
lcp_subparts.py LCP breakdown (TTFB, load, render) python3 lcp_subparts.py <url> --json
critical_request_chain.py Render-blocking chain python3 critical_request_chain.py <url> --json
third_party_script_audit.py Third-party impact python3 third_party_script_audit.py <url> --json
image_weight_audit.py Image payload analysis python3 image_weight_audit.py <url> --json
image_inventory.py Image inventory python3 image_inventory.py <url> --json
font_audit.py Web font CLS risk python3 font_audit.py <url> --json
cache_compression_checker.py Cache headers python3 cache_compression_checker.py <url> --json
capture_screenshot.py Visual evidence python3 capture_screenshot.py <url> --mobile

Read the full file on GitHub · 118 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. 12d ago First seen · 118 lines · 38 tokens per session scan A 36f76d35af7a

Subscribe to this mod's changes

safari-performance is an agent published in the GitHub repository cleven12/tanzania-tourism-seo (5 stars, last pushed 24d ago), licensed MIT. It adds 38 tokens to every session and 1,168 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-31.