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.
mdr add aka-kika/akakika-skills/macos-menubar-swiftui@git:20260909.fbab501Pins 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
mdr add aka-kika/akakika-skills/macos-menubar-swiftui@sha256:30de318622c2909cThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260909.fbab501 latest | 2026-09-09 | fbab501 | 8,373 B | A | view · diff |
| git:20260620.bb2e91d | 2026-06-20 | bb2e91d | 10,504 B | A | view · diff |
| git:20260620.d4b3079 | 2026-06-20 | d4b3079 | 10,540 B | A | view |
Audit of the latest version
- 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
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.