Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill macos-security-and-privacy-guide -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/macos-security-and-privacy-guide/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/macos-security-and-privacy-guide/

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.

Similar skills

All skills for Security →

From the same set129

The whole set →
fort-firewall-malware-analysis fort-firewall-malware-analysis helps detect fake repositories and malware disguised as the Fort Firewall utility. Useful when auditing open-source forks and suspicious download sources. CX Codex +1 114installs fsecure-internet-security-patch-activator-malware fsecure-internet-security-patch-activator-malware is a Claude Code skill with a malicious repository disguised as an F-Secure patch. It shows how to recognize fake activators and antivirus cracks. CX Codex +1 113installs fsecure-internet-security-malware-distribution fsecure-internet-security-malware-distribution — a warning skill: it dissects a fake F-Secure Internet Security repository and lists what to do if someone already downloaded the files. CX Codex +1 112installs macos-security-privacy-hardening macos-security-privacy-hardening — a skill for securing and hardening macOS systems following enterprise security standards. Sets up full-disk encryption, firewall, firmware passwords, and disables telemetry. CX Codex +1 111installs macos-security-hardening The macos-security-hardening skill guides you through setting up full-disk encryption, configuring firewalls, securing DNS, and disabling telemetry on macOS. Use it to protect your system against local access, data theft, and tracking. CX Codex +1 107installs server-security-init-skill server-security-init-skill — a Claude Code skill for securing fresh Ubuntu and Debian SSH servers. It guides key-based access setup, firewall rules, and staged SSH hardening. CX Codex +1 103installs awesome-ai-security-tools-guide The awesome-ai-security-tools-guide Claude Code skill finds tools from a curated AI security catalog. It responds to requests about LLM testing, agent protection, or security scanners. CX Codex +1 103installs vulnhunter-security-scanner The vulnhunter-security-scanner Claude Code skill searches source code for vulnerabilities and tests whether an attack could work. It activates on requests to scan a codebase or find exploitable bugs. CX Codex +1 101installs

Project sponsors

Companies that keep this analytics open