Skip to content
hkuds avatar

Cli Anything Safari

Native Safari automation CLI that exposes every safari-mcp tool with schema-accurate arguments.

CCM score
62 of 100
skills.sh installs
580
GitHub stars
67.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers browser control on macOS: navigation, snapshots, clicks, form fills, scrolling, screenshots, PDFs, and JavaScript evaluation
  • Includes tools discovery commands (list, describe, count) plus a raw escape hatch for complex JSON arguments
  • Keeps real Safari sessions and logins, with JSON output via --json for scripts and pipelines
  • Designed for agents without native MCP support, shell scripts, and CI jobs that need subprocess-friendly calls

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-safari -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

cli-anything-safari

A command-line interface for Safari browser automation on macOS. Wraps the safari-mcp Node.js MCP server in a Python Click CLI.

Feature parity is guaranteed. Every Click command is generated automatically from safari-mcp's tool schema (bundled as resources/tools.json). All 84 tools are reachable with the exact argument names and types the MCP server expects.

When to use this CLI

Each CLI invocation spawns a fresh subprocess, so there is per-call overhead. If your agent speaks MCP natively (Claude Code, Cursor, Cline, etc.), using safari-mcp directly over MCP stdio will be faster.

Use this CLI when:

  • Your agent framework does not speak MCP (Codex CLI, GitHub Copilot CLI, custom scripts, older agent frameworks).
  • You need to script browser automation from bash — cli-anything-safari --json tool snapshot | jq '...'.
  • You run in CI/CD and want cron-able, subprocess-friendly output.
  • You're debugging interactively from Terminal.

Installation

Prerequisites

Details

Repository
github.com/hkuds/cli-anything
Categories
Browser Automation & Scraping, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the cli-anything-safari skill do?

It is a command-line interface for Safari browser automation on macOS, wrapping the safari-mcp MCP server in a Python Click CLI. It controls the real Safari browser, so existing logins are kept. Every safari-mcp tool is exposed with the argument names and types the MCP server expects.

Who should use cli-anything-safari instead of safari-mcp directly?

It suits agent frameworks that do not speak MCP, such as Codex CLI, GitHub Copilot CLI and custom scripts. It also fits bash scripting, CI/CD jobs and interactive debugging from Terminal. Agents that speak MCP natively, such as Claude Code or Cursor, will run faster on safari-mcp over MCP stdio.

What do I need before installing cli-anything-safari?

You need macOS, since Safari MCP is macOS-only, plus Safari and Node.js 18 or newer. You also need Python 3.10 or newer and must enable Allow JavaScript from Apple Events in Safari's Develop menu. The first tool call downloads the safari-mcp npm package once.

How do I install the cli-anything-safari skill?

Run npx -y skills add hkuds/cli-anything --skill cli-anything-safari -y in a project to install it. Once installed, the agent can drive Safari through the cli-anything-safari commands, such as navigating, taking snapshots, clicking, filling forms and capturing network activity.

Where does cli-anything-safari stand among browser automation skills?

It is in the Browser Automation & Scraping category on Claude Marketplaces, alongside agent-browser, playwright-cli, anti-detect-browser and browser-act. Its distinct focus is driving the native Safari browser on macOS while keeping the user's logins.

More from hkuds/cli-anything

All 51

Similar to Cli Anything Safari

More Browser Automation & Scraping