safari-specific-debugging

safari-specific-debugging is a skill for Claude Code, Codex from HayoDev/safari-devtools-mcp. It costs 0 tokens per session (867 once invoked), scanned A, original, MIT.

A debugging guide for web pages that work in other browsers but fail in Safari, Apple’s web browser. It covers Safari’s CSS and JavaScript differences.

In plain words
What is it for?
Use it to check CSS support, inspect computed styles, investigate layout problems, and diagnose Safari-specific JavaScript behavior.
Why use it?
Safari can handle web features differently from other browsers, making browser-specific bugs difficult to isolate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check CSS support, inspect computed styles, investigate layout problems…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hayodev/safari-devtools-mcp/safari-specific-debugging
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.

Any agent
npx skills add HayoDev/safari-devtools-mcp --skill safari-specific-debugging
Clone the repo
git clone --depth 1 https://github.com/HayoDev/safari-devtools-mcp

Made for: Claude Code, Codex.

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-specific-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/hayodev/safari-devtools-mcp/safari-specific-debugging.svg)](https://agentmods.dev/skills/hayodev/safari-devtools-mcp/safari-specific-debugging)
Your own site
<a href="https://agentmods.dev/skills/hayodev/safari-devtools-mcp/safari-specific-debugging"><img src="https://agentmods.dev/badge/skills/hayodev/safari-devtools-mcp/safari-specific-debugging.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 867 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.00000 $0.00867
Opus 5 $0.00000 $0.00434
Sonnet 5 $0.00000 $0.00173
Haiku 4.5 $0.00000 $0.00087

Measured 6d ago against content hash 362360b96996, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

safari-specific-debugging 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 6d 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.

skills/safari-specific-debugging/SKILL.md · 133 lines

How it starts

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

Safari-Specific Debugging

Use this skill when something works in other browsers but breaks in Safari, or when debugging WebKit-specific behavior.

Common Safari issues and how to debug them

CSS issues

Start by running check_webkit_compatibility — it checks every CSS property on the page against the live Safari session via CSS.supports() and reports what is actually broken (unsupported properties, missing -webkit- prefixes):

check_webkit_compatibility

For specific elements, inspect computed styles directly:

get_computed_style uid="<element-uid>" properties=["display", "gap", "aspect-ratio", "container-type", "backdrop-filter"]

Common Safari CSS gotchas:

  • -webkit-backdrop-filter: Still requires prefix in Safari <18.
  • 100vh on iOS Safari includes the address bar — use 100dvh instead.
  • position: sticky inside overflow: auto containers often breaks.
  • :has() selector: Safari was first to ship it, but edge cases may differ.

JavaScript issues

Run diagnostics with evaluate_script:

evaluate_script function="() => {
  return {
    userAgent: navigator.userAgent,
    webkitVersion: navigator.userAgent.match(/AppleWebKit\/(\d+)/)?.[1],
    features: {
      structuredClone: typeof structuredClone !== 'undefined',
      requestIdleCallback: typeof requestIdleCallback !== 'undefined',
      offscreenCanvas: typeof OffscreenCanvas !== 'undefined',
      webComponents: typeof customElements !== 'undefined',
      resizeObserver: typeof ResizeObserver !== 'undefined',
      intersectionObserver: typeof IntersectionObserver !== 'undefined'
    }
  };
}"

Known Safari JS quirks:

  • requestIdleCallback: Not available — use setTimeout fallback.
  • OffscreenCanvas: Partial support — 2d context only, no WebGL.
  • Date parsing: new Date('2024-01-15') works, but new Date('01-15-2024') may fail. Always use ISO 8601.
  • fetch with keepalive: Stricter size limits than Chrome.
  • Web Locks API: Not supported in older Safari versions.
  • <input type="date">: Renders differently. Check with take_snapshot.

Read the full file on GitHub · 133 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. 6d ago First seen · 133 lines · 0 tokens per session scan A 362360b96996

Subscribe to this mod's changes

safari-specific-debugging is a skill published in the GitHub repository HayoDev/safari-devtools-mcp (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 867 tokens. 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 skills, from other repositories

mobile-sticky-drawer-theme-glitch

Diagnose and fix mobile-only hamburger drawer bugs caused by sticky headers, fixed nav/backdrop layers, scroll locking, and broad theme-switch transitions in static HTML/CSS/Vanilla JS sites. Use when a mobile menu works at the top of the page but breaks after scrolling, or when changing light/dark theme causes…

mhrsdev/AI-Agent-Skills-Library · 87 tokens

mobile-ionic-gesture-scroll

Use when debugging real mobile gesture, scroll, menu, modal, content, and safe-area bugs inspired by Ionic mobile app and website patterns.

mhrsdev/AI-Agent-Skills-Library · 35 tokens

mobile-ui-debugging

Debug checklist for mobile UI lockups caused by overlays, z-index, and stale scroll locks.

mhrsdev/AI-Agent-Skills-Library · 24 tokens

ui-ux-polish

Iterative UI/UX polishing workflow for web applications. Achieve Stripe-level visual polish through multiple passes — each iteration adds incremental improvements that compound dramatically. Use when: polish UI, improve UX, make it look better, Stripe-level, world-class design, desktop and mobile optimization, visual…

JuanMarchetto/agent-skills · 65 tokens

inspecting-hermes-desktop-dom

When you are developing apps/desktop and the user is running that same app (hgui / npm run dev), you can read the live rendered DOM of the window they are looking at — computed styles, geometry, which CSS rule actually won, console output — instead of inferring it from .tsx and being wrong.

AtlasOmnia/hermes-custom-pack · 28 tokens

gpt-taste

Use when generating elite GSAP-heavy frontend pages with strict AIDA structure, wide hero typography, and gapless bento grids.

aboalrejal-ai/skills · 31 tokens