add-macos-statusbar

Installs a macOS menu bar status indicator for NanoClaw using a compiled Swift binary and launchd.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/RADHA0-max/selfhealbackend --skill add-macos-statusbar-radha0-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-macos-statusbar
Source: https://github.com/RADHA0-max/selfhealbackend/tree/main/nanoclaw/.claude/skills/add-macos-statusbar
Command: npx skills add https://github.com/RADHA0-max/selfhealbackend --skill add-macos-statusbar-radha0-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? NanoClaw runs as a background service with no visual indication of whether it is running, forcing users to check logs or process lists manually. This Skill adds a persistent macOS menu bar icon showing NanoClaw's status with Start, Stop, and Restart controls. ## Core Features & Use Cases - Menu Bar Status Indicator: Compiles a Swift binary that displays a bolt icon with a green dot when NanoClaw is running and a red dot when it is stopped. - Service Controls: Provides Start, Stop, Restart, and View Logs actions directly from the menu bar, similar to Docker Desktop. - launchd Integration: Creates and loads a LaunchAgent plist so the indicator starts automatically at login and is kept alive. - Use Case: After making code changes to NanoClaw, click the menu bar icon and select Restart to reload the service, then use View Logs to inspect output. ## Quick Start Ask the assistant to add a macOS menu bar status indicator for NanoClaw so you can see its running state and control it from the menu bar.

Frequently Asked Questions about add-macos-statusbar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a macOS menu bar status indicator for a background service?

Compile a Swift AppKit binary with swiftc, then register it as a launchd LaunchAgent with RunAtLoad and KeepAlive enabled. The indicator shows a green or red dot reflecting service state and offers Start, Stop, and Restart menu actions.

How do I run a program at login on macOS with launchd?

Create a plist in ~/Library/LaunchAgents with your program path, RunAtLoad set to true, and KeepAlive enabled, then load it with launchctl load. The service starts at login and restarts automatically if it exits.

Does this menu bar indicator work on Linux or Windows?

No, it is macOS only. The indicator uses AppKit and requires swiftc from Xcode Command Line Tools, and the service management relies on launchd, which is specific to macOS.

Why does the compiled Swift binary fail to run on macOS Sequoia?

macOS Sequoia applies quarantine attributes that can block locally compiled binaries. Clear the attribute by running xattr -cr on the binary after compiling, then load the launchd service again.

How do I uninstall the macOS menu bar status indicator?

Unload the launchd service with launchctl bootout or launchctl unload, then delete the plist from ~/Library/LaunchAgents and remove the compiled binary and log files. The REMOVE.md file documents each idempotent step.