agentleFS
HayoDevHayoDev/safari-devtools-mcp/skills/safari-devtools/SKILL.md

safari-devtools

Skill2 starsChanged 8 months agoMITView on GitHub

Use this skill when onboarding to the Safari DevTools MCP server or when unsure which tools to use. - 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…

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 3
  2. Distinctive:

    Re-snapshot: after interaction — the DOM may have changed.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Recommended workflow

  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).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.