Project overview
mac-proxy-sync reads the active macOS proxy from scutil and exports common HTTP, HTTPS, SOCKS, and no-proxy variables whenever zsh starts. A prompt hook refreshes the values at most once per minute so long-running sessions follow rotating Clash, V2Ray, or Mihomo ports, while syncproxy mirrors them into launchctl for GUI subprocesses. It also unsets stale values when the system proxy is disabled and is specific to macOS and zsh.
Repository facts
- Primary language
- Shell
- License
- MIT
- Repository updated
- Apr 18, 2026
- Default branch
- main
Resource types
AutomationGeneral skillHook
Use cases
Software development
Platforms
Claude Code
Operating systems
macOS
Runtime
Local
Capabilities
Workflow automation
Audience
Developers