add-macos-statusbar

Compile a Swift status bar indicator for NanoClaw with launchd controls.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Bartunek/nanoclaw --skill add-macos-statusbar-bartunek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-macos-statusbar
Source: https://github.com/Bartunek/nanoclaw/tree/main/.claude/skills/add-macos-statusbar
Command: npx skills add https://github.com/Bartunek/nanoclaw --skill add-macos-statusbar-bartunek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a macOS menu bar indicator that shows NanoClaw's running status and exposes Start, Stop, and Restart controls for quick, unobtrusive management.

Core Features & Use Cases

  • Persistent menu bar icon shows NanoClaw's status (green when running, red when stopped) and a quick health hint.
  • Start, Stop, and Restart controls accessible directly from the menu bar for fast lifecycle management.
  • macOS-only integration that relies on Xcode Command Line Tools and a native Swift binary.

Quick Start

Install on a macOS machine, ensure Swift is installed, and run the skill from the project root to compile and load the status bar agent.

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 status bar indicator to monitor my application's running status?

Add a macOS status bar indicator by compiling a native Swift binary that displays a menu bar icon showing running status and provides Start, Stop, and Restart controls for quick lifecycle management.

How do I control my application lifecycle directly from the macOS menu bar?

Control your application lifecycle from the macOS menu bar using a native Swift status bar agent that exposes Start, Stop, and Restart controls alongside a persistent status icon for fast, unobtrusive management.

Do I need Xcode Command Line Tools to build a Swift status bar application?

Yes, you need Xcode Command Line Tools to build a Swift status bar application because the compilation process relies on the swiftc compiler to generate the native binary from the Swift source file.

How does launchd manage a persistent macOS status bar agent?

launchd manages a persistent macOS status bar agent by loading a plist configuration via launchctl, which supervises the compiled Swift binary to ensure the status bar indicator runs continuously in the background.

What's the difference between using a native Swift binary and other tools for macOS system monitoring?

A native Swift binary integrates directly with macOS system APIs to provide a lightweight status bar indicator and controls, avoiding the overhead or compatibility issues associated with cross-platform automation tools.

Why does my Swift status bar agent not persist after restarting macOS?

Your Swift status bar agent may not persist if the launchd plist is not loaded correctly via launchctl, which is required to supervise the compiled binary and ensure it runs continuously as a persistent agent.