macos-control SKILL.md skillA

macos-control from nakaokarei/swiftautogui is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nakaokarei/swiftautogui/macos-control@git:20260920.e6e92c2

Pins git:20260920.e6e92c2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nakaokarei/swiftautogui
Path
plugins/swift-auto-gui/skills/macos-control/SKILL.md
Versions recorded
5
Latest version
git:20260920.e6e92c2, committed Sep 20, 2026
First version recorded
Jun 6, 2026
Size
9,442 bytes
Repository stars
94
License
MIT

Control macOS GUI applications via mouse automation, keyboard input, screenshots, image recognition, and AppleScript execution. Use when you need to interact with macOS app UIs, take screenshots, click buttons, type text, scroll, drag, or locate images on screen.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# macos-control

The `sagui` CLI provides mouse control, keyboard input, screenshot capture, image recognition, and screen queries for macOS automation.

## Preflight: ensure `sagui` is installed

Before issuing any `sagui` command, run:

```bash
command -v sagui
```

If the command prints a path, you're ready — continue to the sections below.

If it prints nothing (exit code 1), `sagui` is not installed. **Stop and ask the user for permission to install it** before doing anything else. Show them these options and wait for confirmation:

**Recommended — Homebrew:**

```bash
brew install NakaokaRei/tap/sagui
```

**Fallback — build from source** (requires Xcode / Swift 6.2+ toolchain; verify with `swift --version`):

```bash
git clone https://github.com/NakaokaRei/SwiftAutoGUI.git /tmp/SwiftAutoGUI
cd /tmp/SwiftAutoGUI
swift build -c release
# Copy the binary somewhere on $PATH. /usr/local/bin requires sudo:
sudo cp .build/release/sagui /usr/local/bin/sagui
# Or, no sudo, into a user dir already on PATH:
# cp .build/release/sagui ~/.local/bin/sagui
```

After install, re-run `command -v sagui` to confirm the binary is reachable, then continue.

## Permissions
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nakaokarei/swiftautogui/macos-control@sha256:ab8f4a16e3a3a0ee

The line at the top of this page pins the label git:20260920.e6e92c2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_i2wokhg55slvzcia.svg)](https://markdownregistry.com/a/art_i2wokhg55slvzcia)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 6, 2026 and Sep 20, 2026, about one every 27 days.

versioncommittedcommitsizeaudit
git:20260920.e6e92c2 latest2026-09-20 e6e92c2 9,442 BA view · diff
git:20260808.fcbf42a2026-08-08 fcbf42a 9,453 BA view · diff
git:20260808.7e326882026-08-08 7e32688 9,280 BA view · diff
git:20260801.ff3d15a2026-08-01 ff3d15a 8,948 BA view · diff
git:20260606.1afa5b72026-06-06 1afa5b7 8,416 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9442 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nakaokarei/swiftautogui · 94 stars · license MIT · pushed 2026-10-18 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_i2wokhg55slvzcia
GET https://markdownregistry.com/api/v1/resolve?ref=nakaokarei/swiftautogui/macos-control
GET https://markdownregistry.com/api/v1/blob/ab8f4a16e3a3a0eed6ac4eccd9fe3df8c04ab9d15516b85038f272da576f62f7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nakaokarei/swiftautogui

agent-smoke-test SKILL.md skill
nakaokarei/swiftautogui · .agents/skills/agent-smoke-test/SKILL.md · Run manual development checks for SwiftAutoGUI AI Agent actions through the local sagui CLI. Use when Claude or Codex…
git:20260613.176658c · audit A · 94 stars
AGENTS.md AGENTS.md file
nakaokarei/swiftautogui · AGENTS.md
git:20260605.e6814ba · audit A · 94 stars
CLAUDE.md CLAUDE.md file
nakaokarei/swiftautogui · CLAUDE.md
git:20260920.e6e92c2 · audit A · 94 stars
browser-control SKILL.md skill
nakaokarei/swiftautogui · plugins/swift-auto-gui/skills/browser-control/SKILL.md · Control web pages in an existing Chromium remote-debugging session with deterministic sagui commands or the…
git:20260920.e6e92c2 · audit B · 94 stars

Every file in nakaokarei/swiftautogui

Browse by kind, by grade A, or by owner.