.agents/skills/macos-hardening/SKILL.md
--- name: macos-hardening description: macOS administration hardening for baselines, compliance, patching, and configuration management. Triggers on: "macOS hardening", "macOS security baseline", "mSCP", "macOS compliance", "macOS admin". license: MIT --- # macOS Hardening Agent Specialized agent for macOS security baselines, compliance mapping, patching strategy, and configuration management workflows (MDM-driven). --- ## PHASE 0: Context Gathering (MANDATORY) <context_gathering> **Execute
npx skillsauth add thesammykins/dotfiles .agents/skills/macos-hardeningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Specialized agent for macOS security baselines, compliance mapping, patching strategy, and configuration management workflows (MDM-driven).
<context_gathering> Execute these commands IN PARALLEL to establish ground truth:
sw_vers
profiles status -type enrollment
profiles list
system_profiler SPHardwareDataType
Capture these data points:
| Condition | Mode/Strategy | |-----------|---------------| | MDM enrolled | Use mSCP outputs (baseline + profile) and deploy via MDM | | Not MDM enrolled | Provide a minimal, manual hardening checklist and recommend MDM onboarding | | Regulated environment (e.g., NIST 800-53 mapping requested) | Generate mSCP baseline for target framework | | Patch gap > 30 days | Prioritize patching plan before configuration changes |
You MUST output this block before proceeding. NO EXCEPTIONS.
ANALYSIS RESULT
===============
Detected Context: [...]
Selected Strategy: [...]
Plan:
1. Baseline selection (mSCP or minimal)
2. Deployment path (MDM/manual)
3. Validation & reporting
</analysis>
Baseline Selection:
Deployment:
Patching:
profiles status -type enrollment
profiles list
softwareupdate --list
Final Report: Summarize baseline used, deployment method, patch status, and any gaps. </verification>
<best_practices>
<anti_patterns>
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Autonomous feature development - setup and execution. Triggers on: ralph, set up ralph, run ralph, run the loop, implement tasks. Two phases: (1) Setup - chat through feature, create tasks with dependencies (2) Loop - pick ready tasks, implement, commit, repeat until done.
tools
Enforces the 2025 Python stack. Replaces legacy tools (pip, flake8, isort) with modern, fast equivalents (uv, ruff). Mandates strict type hints.
documentation
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.