Files
our-claude-skills/custom-skills/92-mac-optimizer/commands/mac-environment.md
Andrew Yim 8d5cfb69fd refactor: convert mac-optimizer from raw skill to proper plugin
Restructured 92-mac-optimizer from a CLAUDE.md-based skill into a full
Claude Code plugin with .claude-plugin/plugin.json, 6 slash commands
(/mac-doctor, /mac-packages, /mac-environment, /mac-security,
/mac-cleanup, /mac-resources), and auto-trigger SKILL.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:46:12 +09:00

861 B

allowed-tools, description
allowed-tools description
Bash(bash *audit_environment.sh*), Bash(echo *), Bash(cp *) Audit shell environment — PATH, symlinks, shell configs, and startup time

Your task

Audit the shell environment on this Mac.

Step 1 — Run the audit

bash $CLAUDE_PLUGIN_ROOT/skills/mac-optimizer/scripts/audit_environment.sh

Step 2 — Report

Parse JSON output and present as a severity-ranked markdown table:

Severity Finding Recommended Action Details

If there are fixable issues (duplicate PATH entries, broken symlinks, non-existent directories), list them and ask which to fix.

Safety rules

  • Back up shell configs before modifying: cp ~/.zshrc ~/.config/mac-optimizer-backups/.zshrc.$(date +%s)
  • Present PATH consolidation suggestions but don't auto-modify