OnlySwitch
👑 The all-in-one macOS menu bar companion: customizable controls, system monitor, AI Agent, Shortcuts, widgets, remote control, and more.
Install / Use
npx skills add jacklandrin/OnlySwitchInstalls into whichever agent you are using.
CLAUDE.md
Claude Code project instructions
Quality Score
Category
OperationsSupported Platforms
Tags
Our assessment of OnlySwitch
OnlySwitch scores 93/100 on our quality scale, 135th of 764 Operations skills we index (top 18%).
Its CLAUDE.md is 22 KB long, well organised into 35 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 6,001 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated today, so OnlySwitch is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
OnlySwitch compared with similar skills
All 4 of these similar skills score higher than OnlySwitch; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| OnlySwitch (this skill)by jacklandrin | 93 | 6.0k | today | CLAUDE.md |
| claude-memby thedotmack | 100 | 102.1k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 100.5k | 1d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 100.2k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 87.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install OnlySwitch?
- Run
npx skills add jacklandrin/OnlySwitch. The install tabs above show the steps for each supported agent. - Which AI agents does OnlySwitch work with?
- It is written for Claude Code and OpenAI Codex, as a CLAUDE.md file. Other agents that read the same format can often use it too.
- Is OnlySwitch safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is OnlySwitch still maintained?
- The repository was last updated today, so OnlySwitch is actively maintained.
Skill content
View source on GitHubOnlySwitch
A smaller menu bar starts with one all-in-one switch.
OnlySwitch puts everyday macOS controls—such as hiding desktop icons, changing appearance, keeping the Mac awake, and managing the notch—into one customizable menu-bar app. Add, remove, and reorder switches and Shortcuts, assign keyboard shortcuts, or place controls on the desktop as widgets.
<p align="center"> <img alt="OnlySwitch controls" src="https://github.com/user-attachments/assets/40d94175-6487-4c59-b09e-2261ac5b8453" width="80%" /> </p>Installation
Homebrew
brew install only-switch
Manual download
Download the latest OnlySwitch DMG.
[!IMPORTANT] Automatic updating is broken in version 2.5.6 and earlier. If you are on one of those versions, update manually or reinstall with Homebrew.
Quick start
- Launch OnlySwitch and enable it under System Settings → Menu Bar if macOS does not show its icon.
- Click the OnlySwitch menu-bar icon to open the control list.
- Open settings to add, remove, and reorder switches or Shortcuts, configure hotkeys, and enable optional features.
- On supported macOS versions, add Only Widget from the widget gallery for desktop or Notification Center access.
To control OnlySwitch from an iPhone or iPad, install OnlyRemote from the App Store, then open iOS Remote in OnlySwitch settings to enable local-network access and pair the device.
<p align="center"> <img alt="OnlyRemote controls on iPad" src="https://github.com/user-attachments/assets/8cbba2ca-ff02-4600-9c6f-265fd91d1d67" width="70%" /> </p> <p align="center"> <img alt="OnlyRemote App Store QR code" src="https://raw.githubusercontent.com/jacklandrin/OnlySwitch/main/OnlySwitch/Resource/Ads/OnlyRemoteQRCode.jpeg" width="160" /> </p>What's new in 3.0.0
- Aphrodite: Describe a mini app in natural language, choose a configured AI provider and model, then generate, run, edit, save, share, or import it. Aphrodite requires macOS 26 or later and uses the model-provider settings configured in OnlySwitch.
- Dock Preview: Hover over a Dock app to see thumbnails of its open windows and click a thumbnail to activate that window. Enable the Dock Preview switch and grant Accessibility and Screen Recording permissions when prompted.
- Better switch customization: Built-in switches are grouped by category and can be searched by name from the customization settings.
- Process activation: Click a supported process in the System Monitor CPU or memory lists to bring its owning application to the front.
Features
Highlights
- Import macOS Shortcuts into OnlySwitch and control switches and Shortcuts with keyboard shortcuts.
- Customize which controls appear and arrange them to fit your workflow.
- Use Apple Widgets on macOS Sonoma and later, including Evolution controls.
- Open the compact Only Control interface for a focused control panel.
- Pair OnlyRemote for local-network control from iPhone or iPad.
- Enable the optional Desktop Pet, drag it anywhere, and click it to show or dismiss Only Control.
Built-in switches
| Switch | Status | Switch | Status | |:---|:---|:---|:---| | Hide desktop | finished | Hide notch | has known issues | | Dark mode | finished | Low power mode | requires initial authorization | | Screen Saver | finished | Show Finder Path Bar | finished | | Night Shift | finished | Mute mic | finished | | Autohide Dock | finished | Small launchpad icon | finished | | AirPods | finished | Pomodoro timer | finished | | Bluetooth | finished | Show extension name | finished | | Xcode cache | finished | Show user library folder | finished | | Autohide Menu Bar | finished | Mute | finished | | Show hidden files | finished | Empty pasteboard | finished | | Radio Station | finished | Empty trash | finished | | Keep awake | finished | Show Recent Apps on Dock | finished | | Spotify | finished | Apple Music | finished | | Screen Test & Clean | finished | Hide Menu Bar Icons | partially finished | | FKey | finished | Back Noises | finished | | Dim Screen | finished | Eject Discs | finished | | Hide Windows | partially finished | True Tone | finished | | Top Sticker | partially finished | Key Light | finished | | Only Agent | finished | Authenticator | finished | | Sound Mixer | finished | Natural Scrolling | finished | | Show desktop pet | finished | Codex Usage | finished |
Switches can be added to or removed from the list.
Shortcuts Gallery
Anyone can contribute macOS Shortcuts. See How to contribute to the Shortcuts Gallery.
<p align="center"> <img alt="Shortcuts Gallery" src="https://github.com/jacklandrin/OnlySwitch/assets/3782279/a9d90eed-c540-4183-9332-396dce0f72d4" width="70%" /> </p>| Shortcut | Remark | Shortcut | Remark | |---|---|---|:---| | Toggle Scroll Direction | Monterey | Invert Scroll Direction (Ventura) | Ventura | | DarkMode Switch | | Network Details | | | Split-Screen Apps | | Passwords | | | Google Translate | | IP Address Information | | | Autohide menu bar in full screen | Monterey | Flush DNS Cache | | | Do Not Disturb | Monterey or later | Upcoming Events | | | S-GPT | works with S-GPT Encoder, needs OpenAI API key | S-GPT Encoder | |
Shortcuts actions
| Action | Status | |---|---| | Get wallpaper image | has known issues | | Get wallpaper URL | finished | | Is dark mode | finished | | Set dark mode | finished |
Evolution
Evolution lets you build custom switches and buttons backed by Shell or AppleScript, invoke them with hotkeys, and share them through the Evolution Gallery. Evolution requires macOS 13 or later, and its settings are implemented with The Composable Architecture.
Evolution scripts run locally with the permissions of OnlySwitch. Review scripts before saving or importing them, especially scripts that execute shell commands, Apple Events, or privileged operations.
Anyone can contribute an Evolution. See How to contribute to the Evolution Gallery.
<p align="center"> <img alt="Evolution Gallery" src="https://github.com/jacklandrin/OnlySwitch/assets/3782279/f3299ae0-0222-49a3-864a-80c6601bac6a" width="70%" /> </p>| Evolution | Remark | Evolution | Remark | |---|---|---|:---| | Stage Manager | | Update Software | installed via App Store | | Hide desktop Widget | Sonoma | Hide Desktop Icons | Sonoma | | Clamshell | | Wi-Fi Switch | |
Creating an Evolution
Evolution supports two types:
- A Button runs its script when you press Run.
- A Switch has four editable fields:
- Check status: runs when the OnlySwitch list appears or settings change. The debug button shows the script output.
- True condition: defines the output that represents the on state.
- Turn on: changes the state to on.
- Turn off: changes the state to off.
Every script must pass the built-in test before the Evolution can be saved.
Only Agent and OpenClaw
Only Agent lets you describe a task in English and generates AppleScript to control your Mac. When Agent mode is enabled, the generated script is executed immediately. Only Agent supports Ollama, OpenAI, and Gemini providers and requires macOS 26 or later. Provider-backed requests may send your prompt to the provider you select; review both the prompt and generated script before enabling immediate execution.
<p align="center"> <img alt="Only Agent" src="https://github.com/user-attachments/assets/3710ebf6-f93c-4436-bce2-6fcf2727e3e1" width="70%" /> </p>You can also control OnlySwitch with natural language through OpenClaw. Say things like “empty trash”, “toggle keep awake”, or “turn on dark mode” to trigger the matching switch through a deeplink. See OpenClaw setup for installation as an extra skill directory or under ~/.openclaw/skills.
System Monitor
System Monitor shows live CPU, GPU, memory, disk, and network usage. Open its tab in Only Control, then choose dashboard cards and optional menu-bar indicators under OnlySwitch Settings → System Monitor. CPU and memory cards can expand to show the busiest processes. Network Details includes Wi-Fi or Ethernet information, local and public IP addresses, and—when macOS exposes them—SSID, signal strength, and link rate.
Enabled menu-bar indicators keep sampling while the Only Control popover is closed. The minimum sampling interval is one second. Public-IP lookup sends external requests to ipify's IPv4 and IPv6 endpoints; results are cached for up to five minutes.
Some values may be unavailable when the hardware or macOS does not expose them, including temperature readings. GPU reporting relies on private, undocumented macOS APIs and may stop working after a system update. Network usage is system-wide; per-process network rates are not available.
When a process is associated with a regular macOS application, click its row in the CPU or memory process list to activate that application. Protected or background-only processes may not be activatable.
<p align="center"> <img alt="OnlySwitch System Monitor" src="https://github.com/user-attachments/assets/ac8178f6-9f61-43be-a73b-a2103ac18ff7" width="30%" /> </p>Codex Usage
Codex Usage is an optional built-in tab showing the signed-in Codex account's plan, remaining five-hour and weekly usage, reset times, available credits, and reset-credit information. Enable the Codex Usage switch to show it in OnlySwitch and Only Control. It uses the existing local Codex sign-in, so OnlySwitch does not require a separate sign-in.
<p align="center"> <img alt="Codex Usage" src="https://github.com/user-attachments/assets/dad0f898-fe19-4df4-be7f-9db278ba5334" width="30%" /> </p>Only Widget
Only Widget can be configured with any built-in switch or button and placed on the desktop or in Notification Center. Clicking a widget triggers the corresponding control. Evolution is supported in widgets.
<img width="370" alt="Only Widget" src="https://github.com/jacklandrin/OnlySwitch/assets/3782279/0c1be202-9e5f-41dd-b62d-52d5a7147139">Screen Test & Clean
Screen Test opens a full-screen solid-color view for checking dead pixels or cleaning the display. Use the left and right arrow keys to cycle through black, white, red, green, and blue.
Known limitations and troubleshooting
OnlySwitch icon missing from the menu bar
OnlySwitch is accessed through its menu-bar icon. On macOS 26.2, the app can appear not to open when it is disabled in the system menu-bar settings.
- Open System Settings → Menu Bar.
- Find OnlySwitch and enable it.
- Clic
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
102.1kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
100.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
100.2kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
87.4kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
