Macos Connectivity Restore
/install macos-connectivity-restore
MacOS Connectivity Restore
Purpose
This skill restores the two settings we previously repaired on this Mac:
- Universal Control /
Link to Mac or iPad - AirDrop availability plus AirDrop receiving mode
It is designed for managed Macs where these settings are forced by files under /Library/Managed Preferences.
What This Skill Changes
Root-level managed preferences:
com.apple.universalcontrol.plistDisable = false
com.apple.applicationaccess.plistallowUniversalControl = trueallowAirDrop = true
com.apple.NetworkBrowser.plistDisableAirDrop = false
User-level preferences:
com.apple.sharingdDiscoverableMode = "Contacts Only"
com.apple.NetworkBrowserDisableAirDrop = false
Scripts
scripts/restore-root.sh- Run as root. Fixes the managed preference files under
/Library/Managed Preferences.
- Run as root. Fixes the managed preference files under
scripts/restore-user.sh- Run as the logged-in user. Sets AirDrop receiving mode to
Contacts Only.
- Run as the logged-in user. Sets AirDrop receiving mode to
scripts/install-startup.sh- Installs a LaunchDaemon and LaunchAgent so these settings are restored automatically after reboot/login.
Default Workflow
When the user asks to reapply these settings:
- Run
scripts/restore-root.sh \x3Cusername>with admin privileges. - Run
scripts/restore-user.sh. - Read back the values to verify:
allowUniversalControl = 1allowAirDrop = 1DisableAirDrop = 0DiscoverableMode = "Contacts Only"
Persist Across Reboots
When the user asks to make the change stick after every reboot:
- Ensure this skill has been installed to a stable path under
~/.claude/skills/macos-connectivity-restore. - Run
scripts/install-startup.sh. - Confirm these startup items exist:
/Library/LaunchDaemons/com.joseph.macos-connectivity-restore.root.plist~/Library/LaunchAgents/com.joseph.macos-connectivity-restore.user.plist
Verification Commands
defaults read '/Library/Managed Preferences/com.apple.applicationaccess.plist' 2>/dev/null | rg 'allowAirDrop|allowUniversalControl'
defaults read '/Library/Managed Preferences/com.apple.NetworkBrowser.plist' 2>/dev/null
defaults read com.apple.sharingd 2>/dev/null | rg 'DiscoverableMode'
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install macos-connectivity-restore - After installation, invoke the skill by name or use
/macos-connectivity-restore - Provide required inputs per the skill's parameter spec and get structured output
What is Macos Connectivity Restore?
Restores Universal Control and AirDrop settings on a managed Mac by resetting the relevant managed preference files and setting AirDrop discoverability to Co... It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.
How do I install Macos Connectivity Restore?
Run "/install macos-connectivity-restore" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Macos Connectivity Restore free?
Yes, Macos Connectivity Restore is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Macos Connectivity Restore support?
Macos Connectivity Restore is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Macos Connectivity Restore?
It is built and maintained by jinntrance (@jinntrance); the current version is v0.1.0.