Skip to content
Back to skills

Remote Mac

ASecurity

List the remote Macs saved in the VNCBar menu bar app and connect to one, or type its password into its Screen Sharing window, by opening vncbar:// URLs. Never reads or handles passwords. Use when the user asks to connect to, open, or log in to one of their remote Macs (build machines, test Macs) over Screen Sharing.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add rcanbaba/ios-agentic-toolkit --skill remote-mac --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Remote Mac?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Remote Mac
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rcanbaba-remote-mac/badge)](https://www.skillsdirectory.com/skills/rcanbaba-remote-mac)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: remote-mac
description: List the remote Macs saved in the VNCBar menu bar app and connect to one, or type its password into its Screen Sharing window, by opening vncbar:// URLs. Never reads or handles passwords. Use when the user asks to connect to, open, or log in to one of their remote Macs (build machines, test Macs) over Screen Sharing.
argument-hint: "[list | connect <server> | type <server>]"
allowed-tools: Read, Bash(open vncbar://*), Bash(test -d *VNCBar.app), Bash(pgrep -x VNCBar)
---

# Remote Mac

VNCBar (`${CLAUDE_PLUGIN_ROOT}/tools/vnc-bar`, see
`${CLAUDE_PLUGIN_ROOT}/docs/tools/vnc-bar.md`) does the work: it connects with
macOS Screen Sharing, gets through its dialogs and types the password into
the remote login screen. This skill only finds the server and triggers it.

Input: $ARGUMENTS

## Rules

- **Never handle a password.** Do not read the Keychain, do not ask the user
  for a password, and if they paste one, tell them to enter it in VNCBar
  instead and do not repeat it. Passwords exist only in VNCBar.
- `servers.json` holds hosts and user names. Show them only when the user
  asks to list servers; otherwise refer to servers by name.
- Act only on an explicit request for one server. Never connect to several
  servers, or retry, on your own.

## 1. Check the app

`test -d ~/Applications/VNCBar.app`. If it is missing, give the install
command and stop: `${CLAUDE_PLUGIN_ROOT}/tools/vnc-bar/build.sh --install`
(then add servers from its menu bar icon). If `pgrep -x VNCBar` finds
nothing, opening a `vncbar://` URL launches it.

## 2. Find the server

Read `~/Library/Application Support/VNCBar/servers.json`
(`{"version": 1, "servers": [{"name", "host", "port", "username", "windowTitle"?}]}`).

- **list**: a table of name, `username@host:port`, and the learned window
  title if there is one. Done.
- Otherwise match the user's words to one `name` (case-insensitive, then
  a unique partial match). If none or several match, list the candidates and
  ask; never pick one.

## 3. Trigger

Percent-encode the name (space → `%20`, and so on), then:

| Request | Command | What VNCBar does |
|---|---|---|
| connect / open / log in | `open "vncbar://connect/<name>"` | Opens Screen Sharing, continues its dialogs, waits for the login screen and types the password, when auto-type is on in its settings |
| type the password (session already open, Mac locked) | `open "vncbar://type/<name>"` | Types the password into that server's own Screen Sharing window only; nothing if it has none |

## 4. Report

Say which server was triggered and what should happen on screen. You cannot
see the result: VNCBar shows an alert when something fails (no permission,
no window for that server, password rejected). Mention ⌃⌥P for typing the
password into the focused Screen Sharing window later.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.