macos-security-and-privacy-guide — Claude Code skill
macos-security-and-privacy-guide is a Claude Code skill with terminal steps for securing macOS, including FileVault, firewall rules, encrypted DNS, and telemetry controls.
no license 104 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a claude-codeWhat macos-security-and-privacy-guide does
This skill equips your coding agent with operational guidance for securing macOS environments, drawing from the drduh security guide. It provides shell commands for managing full-disk encryption via fdesetup, configuring socketfilterfw, and loading custom packet filtering rules with pfctl.
It also details steps to turn off background services like Siri, AirDrop, diagnostic crash reporters, and Bonjour network broadcasts. For encrypted domain lookups, it includes setup steps for dnscrypt-proxy alongside profile configurations for DoH.
Nearly all configuration snippets require root privileges via sudo, meaning you will need terminal administrative access to run them.
What it helps with
- Enforce FileVault disk encryption and audit enabled accounts
- Configure macOS application firewall and pf packet filtering
- Turn off telemetry, Spotlight web queries, and background daemons
- Route system DNS lookups through local encrypted resolvers
Example prompts for the agent
- Show me the terminal commands to turn on stealth mode in the macOS firewall
- How do I disable Bonjour multicast and AirDrop from the CLI?
- Help me configure encrypted DNS lookups using dnscrypt-proxy
How to install macos-security-and-privacy-guide
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a claude-code2Manually: put the files in place
~/.claude/skills/macos-security-and-privacy-guide/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/macos-security-and-privacy-guide/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a codex2Manually: put the files in place
.agents/skills/macos-security-and-privacy-guide/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a cursor2Manually: put the files in place
.cursor/skills/macos-security-and-privacy-guide/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/macos-security-and-privacy-guide2Manually: put the files in place
.github/skills/macos-security-and-privacy-guide/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/macos-security-and-privacy-guideManually: put the files in place
.devin/skills/macos-security-and-privacy-guide/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about macos-security-and-privacy-guide
How do I install macos-security-and-privacy-guide in Claude Code?
Run npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a claude-code in your terminal.
What does macos-security-and-privacy-guide do?
It provides terminal-tested hardening guidance and system commands to lock down network traffic, disk encryption, and background daemons on macOS.
What prerequisites are needed to apply these settings?
You need an Apple silicon Mac running a supported macOS release and root administrative access to execute privileged commands.