never-run-sudo-from-app
CommunityEnforce secure elevated privilege handling in macOS apps.
Authormarvelousempire
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces a security and UX best practice by ensuring that macOS apps do not directly prompt for passwords for elevated privileges, thereby reducing security risks and improving user experience.
Core Features & Use Cases
- Command Display: Shows the exact command required for elevated operations in a native dialog.
- Copy Functionality: Provides a button to copy the command for pasting into Terminal.
- Terminal Open: Optionally opens Terminal with the command pre-copied.
- Use Case: For developers creating macOS tools that require elevated privileges, this Skill ensures that the user's password prompt is handled by macOS itself, not the app.
Quick Start
Use the never-run-sudo-from-app skill to display the command for running 'sudo chown -R $(whoami) /opt/homebrew' in a dialog and copy it to the clipboard.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: never-run-sudo-from-app Download link: https://github.com/marvelousempire/ai-skills-library/archive/main.zip#never-run-sudo-from-app Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.