safari-devtools

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

A usage guide for an MCP server that lets an AI agent inspect and interact with Safari web pages. It includes page navigation, input, debugging, screenshots, content extraction, styling, and browser storage.

In plain words
What is it for?
Use it to inspect page structure, click or fill controls, diagnose console and network problems, capture screenshots, extract page details, and manage cookies or web storage.
Why use it?
It explains which browser tool to use and helps avoid interacting with outdated page information.

Skill for Claude CodeCodex

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

Good fit Use it to inspect page structure, click or fill controls, diagnose console…

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hayodev/safari-devtools-mcp/safari-devtools.svg)](https://agentmods.dev/skills/hayodev/safari-devtools-mcp/safari-devtools)
Your own site
<a href="https://agentmods.dev/skills/hayodev/safari-devtools-mcp/safari-devtools"><img src="https://agentmods.dev/badge/skills/hayodev/safari-devtools-mcp/safari-devtools.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 513 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.00513
Opus 5 $0.00000 $0.00257
Sonnet 5 $0.00000 $0.00103
Haiku 4.5 $0.00000 $0.00051

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

Security

Grade A, and why

safari-devtools 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-devtools/SKILL.md · 45 lines

How it starts

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

Safari DevTools MCP — Getting Started

Use this skill when onboarding to the Safari DevTools MCP server or when unsure which tools to use.

Available tool categories

  • Snapshots: take_snapshot gives you a DOM/a11y tree with element UIDs you can pass to other tools. Always take a fresh snapshot before interacting.
  • Navigation: navigate_page, new_page, list_pages, select_page for page lifecycle control.
  • Input: click, fill, type_text, press_key, drag, hover, select_option, upload_file for element interaction. Identify elements by their uid from the latest snapshot.
  • Debugging: list_console_messages, list_network_requests for runtime diagnostics. Use get_console_message / get_network_request for details.
  • Screenshots: take_screenshot for visual state. Prefer take_snapshot for programmatic inspection.
  • Page content: get_page_content (title + text), get_html_source, extract_links, extract_meta.
  • CSS: get_computed_style for styling information on any element.
  • Storage: get_cookies, set_cookie, delete_cookie, get_storage, set_storage, delete_storage for cookie and Web Storage inspection.
  • Scroll: scroll, scroll_to_element for viewport control.
  1. Navigate to the target URL with navigate_page.
  2. Snapshot the page with take_snapshot to see the DOM tree.
  3. Interact using UIDs from the snapshot: click, fill, etc.
  4. Re-snapshot after interaction — the DOM may have changed.
  5. Debug with list_console_messages and list_network_requests to check for errors or failed requests.

Safari-specific notes

  • Safari only supports one WebDriver session at a time.
  • Tab management uses AppleScript — macOS accessibility permissions may be required.
  • There is no headless mode. Safari will open visibly on screen.
  • Screenshots are PNG only.
  • Console and network capture start when the session is created — messages before that point are not captured (network has partial historical data via the Performance API).

Read the full file on GitHub · 45 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 · 45 lines · 0 tokens per session scan A 4151ef06028f

Subscribe to this mod's changes

safari-devtools 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 513 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

unicli

Comprehensive guide to Uni-CLI — the open Agent-Computer Interface runtime for real software. Trigger when the user needs to fetch data from websites (Twitter, Bilibili, HackerNews, GitHub, Reddit, Bloomberg, Zhihu, WeChat, and hundreds more); interact with news, finance, social, academic, shopping, or video…

olo-dot-io/Uni-CLI · 180 tokens

unicli-browser

Control broker-owned hidden, existing-Chrome, or remote browser targets with explicit Agent identity, visibility, profile partitions, and lifecycle.

olo-dot-io/Uni-CLI · 30 tokens

unicli-smart-search

Route search queries to the best platform via unicli. Use when searching across websites, social media, tech forums, news, finance, shopping, or academic sources.

olo-dot-io/Uni-CLI · 38 tokens

unicli-operate

Compatibility guide for unicli operate. Prefer unicli browser, which now exposes the same operator surface plus broker/session diagnostics.

olo-dot-io/Uni-CLI · 31 tokens

camofox-browser

Anti-detection browser automation for AI agents. Use when the user needs stealth web browsing, undetectable scraping, fingerprint spoofing, proxy rotation, or privacy-focused browser automation. Triggers include "stealth scrape", "anti-detection", "bypass fingerprinting", "camofox", "camoufox", "undetectable browser"…

redf0x1/camofox-browser · 93 tokens

camofox-cli

CamoFox CLI — 50 commands for anti-detection browser automation from the terminal. Use when the user needs CLI reference for camofox commands, terminal-based browser control, or a quick lookup of command syntax. Triggers include "camofox command", "CLI reference", "terminal browser", or any request for camofox…

redf0x1/camofox-browser · 77 tokens