macos-menubar-swiftui SKILL.md skillA

macos-menubar-swiftui from aka-kika/akakika-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aka-kika/akakika-skills/macos-menubar-swiftui@git:20260909.fbab501

Pins git:20260909.fbab501 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aka-kika/akakika-skills
Path
skills/swift-macos/macos-menubar-swiftui/SKILL.md
Versions recorded
3
Latest version
git:20260909.fbab501, committed Sep 9, 2026
First version recorded
Jun 20, 2026
Size
8,373 bytes
Repository stars
11
License
MIT

Use when building, refactoring, or debugging a macOS menu bar app with SwiftUI, or when a MenuBarExtra misbehaves — the icon renders wrong or vanishes, the Settings window opens behind other apps, the popover cannot be closed, controls inside a .menu style do not render, the Dock icon comes back, or the app quits when the item is dragged off the menu bar. Triggers include menu bar app, status bar app, tray app, MenuBarExtra, NSStatusItem, LSUIElement, hide Dock icon.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# macOS Menubar SwiftUI

Prefer `MenuBarExtra` (macOS 13+). Drop to an `NSStatusItem` bridge only for a requirement the SwiftUI scene cannot express. The scene is simple; the traps are around it, in activation, item mapping, the icon, and lifecycle.

Sibling skills own their topics. Do not restate them here:

- **REQUIRED SUB-SKILL for a Launch at Login toggle:** `macos-launch-at-login` (the four `SMAppService` statuses, `requiresApproval`).
- Global hotkeys: `macos-global-shortcuts`.
- A status item that opens a floating `NSPanel` instead of a popover: `swiftui-floating-panel-menubar`.
- Signing, notarization, DMG: `macos-app-distribution-dmg`.
- Shortcuts and Siri: `apple-app-intents`.

## Decide the shape

| Need | Use |
| --- | --- |
| Native dropdown of commands | `MenuBarExtra` + `.menuBarExtraStyle(.menu)` |
| Custom SwiftUI layout, forms, lists, status cards | `MenuBarExtra` + `.menuBarExtraStyle(.window)` |
| Right-click menu on the item, custom item drawing, drag-and-drop onto the item, variable item width, macOS 12 | `NSStatusItem` bridge (bottom of this file) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aka-kika/akakika-skills/macos-menubar-swiftui@sha256:30de318622c2909c

The line at the top of this page pins the label git:20260909.fbab501, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_m3fflgvrkrhzw423.svg)](https://markdownregistry.com/a/art_m3fflgvrkrhzw423)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jun 20, 2026 and Sep 9, 2026, about one every 41 days.

versioncommittedcommitsizeaudit
git:20260909.fbab501 latest2026-09-09 fbab501 8,373 BA view · diff
git:20260620.bb2e91d2026-06-20 bb2e91d 10,504 BA view · diff
git:20260620.d4b30792026-06-20 d4b3079 10,540 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8373 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aka-kika/akakika-skills · 11 stars · license MIT · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_m3fflgvrkrhzw423
GET https://markdownregistry.com/api/v1/resolve?ref=aka-kika/akakika-skills/macos-menubar-swiftui
GET https://markdownregistry.com/api/v1/blob/30de318622c2909cea00018216fb10613bca03a3ce579e2f465e1f93acc6ea4d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aka-kika/akakika-skills

agent-starter-pack SKILL.md skill
aka-kika/akakika-skills · skills/ai-agents/agent-starter-pack/SKILL.md · Use when creating a new project folder, starter pack, app scaffold, or agent-ready workspace — AGENTS.md, README…
git:20260620.bb2e91d · audit A · 11 stars
agent-state-machine SKILL.md skill
aka-kika/akakika-skills · skills/ai-agents/agent-state-machine/SKILL.md · Use when designing or implementing states for AI agent tasks, background jobs, local model runs, queues, and…
git:20260620.bb2e91d · audit A · 11 stars
local-ai-ollama SKILL.md skill
aka-kika/akakika-skills · skills/ai-agents/local-ai-ollama/SKILL.md · Use when integrating an app with local AI models through Ollama — connection checks, model listing/selection…
git:20260620.bb2e91d · audit B · 11 stars
apple-hig-command-palette SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-command-palette/SKILL.md · Use when designing, reviewing, or implementing a command-palette / ⌘K layer for an Apple-platform app — keyboard-first…
git:20260909.fbab501 · audit A · 11 stars
apple-hig-empty-states SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-empty-states/SKILL.md · Use when designing or implementing empty, first-run, no-result, offline, error, or waiting states in Apple-platform…
git:20260620.ea86eb3 · audit A · 11 stars
apple-hig-feedback-status SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-feedback-status/SKILL.md · Use when designing or implementing feedback, status, progress, alerts, errors, success states, and live activity…
git:20260620.bb2e91d · audit B · 11 stars
apple-hig-inspectors SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-inspectors/SKILL.md · Use when designing, reviewing, or implementing an Inspector panel for an Apple-platform app — contextual selected-item…
git:20260909.fbab501 · audit A · 11 stars
apple-hig-macos-window-layout SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-macos-window-layout/SKILL.md · Use when designing or implementing the overall macOS app window shell — titlebar, toolbar, sidebar, content, inspector…
git:20260620.ea86eb3 · audit A · 11 stars
apple-hig-search-filtering SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-search-filtering/SKILL.md · Use when designing or implementing search, filtering, sorting, query bars, and result states in Apple-platform apps —…
git:20260620.ea86eb3 · audit A · 11 stars
apple-hig-settings SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-settings/SKILL.md · Use when designing, reviewing, or implementing Settings/Preferences for Apple-platform apps — what belongs in Settings…
git:20260620.bb2e91d · audit B · 11 stars
apple-hig-sf-symbols SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-sf-symbols/SKILL.md · Use when choosing, reviewing, or implementing SF Symbols in an Apple-platform app — picking meaningful symbols, keeping…
git:20260620.d4b3079 · audit A · 11 stars
apple-hig-sidebars SKILL.md skill
aka-kika/akakika-skills · skills/apple-hig/apple-hig-sidebars/SKILL.md · Use when designing, reviewing, or implementing a sidebar for an Apple-platform app — top-level navigation only, grouped…
git:20260620.d4b3079 · audit A · 11 stars

Every file in aka-kika/akakika-skills

Browse by kind, by grade A, or by owner.