macos-admin

Installation
SKILL.md

Purpose

This skill handles macOS system administration tasks, including managing preferences, users, disks, and security features like SIP, Gatekeeper, FileVault, and console logs.

When to Use

Use this skill for automating macOS admin operations in scripts, such as configuring system settings during deployment, managing user accounts in enterprise environments, or troubleshooting security issues via logs.

Key Capabilities

  • Manage system preferences via systemsetup for settings like time zone or energy saver.
  • Handle users and groups using dscl for creating, deleting, or modifying accounts.
  • Perform disk operations with diskutil for mounting, verifying, or encrypting volumes.
  • Control SIP (System Integrity Protection) with csrutil to enable/disable for kernel extensions.
  • Manage Gatekeeper via spctl to assess app security policies.
  • Handle FileVault encryption using fdesetup for status checks and enablement.
  • Access console logs with log command for system diagnostics.

Usage Patterns

Invoke this skill in shell scripts or Python subprocess calls, always with elevated privileges (e.g., via sudo). For example, wrap commands in a function that checks for admin rights first. Use environment variables for configuration, like $ADMIN_PASSWORD for scripts requiring authentication. Pattern: Check prerequisites (e.g., OS version with sw_vers), execute the command, and parse output for automation.

Related skills
Installs
24
GitHub Stars
5
First Seen
Mar 7, 2026