Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aka-kika/akakika-skills --skill macos-menubar-swiftuigit clone --depth 1 https://github.com/aka-kika/akakika-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aka-kika/akakika-skills/macos-menubar-swiftui)<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/macos-menubar-swiftui"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/macos-menubar-swiftui/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/macos-menubar-swiftui"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/macos-menubar-swiftui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 395 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.01983 |
| Opus 5 | $0.00060 | $0.00992 |
| Sonnet 5 | $0.00024 | $0.00397 |
| Haiku 4.5 | $0.00012 | $0.00198 |
Grade A, and why
macos-menubar-swiftui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 fourSMAppServicestatuses,requiresApproval). - Global hotkeys:
macos-global-shortcuts. - A status item that opens a floating
NSPanelinstead 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) |
| Popover must be closed by code, or must survive click-outside | NSStatusItem + NSPopover, or the floating-panel skill |
Skeleton (window style)
import SwiftUI
@main
struct PulseApp: App {
@State private var state = AppState()
@AppStorage("showExtra") private var showExtra = true
var body: some Scene {
MenuBarExtra("Pulse", systemImage: "waveform", isInserted: $showExtra) {
PopoverView()
.environment(state)
.frame(width: 280) // .window style needs an explicit width
}
.menuBarExtraStyle(.window)
// Custom asset instead of an SF Symbol: use the label closure.
// MenuBarExtra(isInserted: $showExtra) { PopoverView() } label: { Image("MenuBarIcon") }
Settings {
SettingsView()
.environment(state) // scenes share no view tree; inject in both
}
}
}
struct PopoverView: View {
@Environment(AppState.self) private var state
var body: some View {
VStack(alignment: .leading, spacing: 12) {
Text(state.statusText)
Divider()
SettingsLink { Text("Settings…") } // macOS 14+; opens or fronts the Settings scene
.keyboardShortcut(",", modifiers: .command)
Button("Quit Pulse") { NSApplication.shared.terminate(nil) }
.keyboardShortcut("q", modifiers: .command)
}
.padding(16)
.onAppear { NSApp.activate() } // see "Windows open behind" below
}
}
@Observable final class AppState {
var statusText = "Ready"
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · -285 lines · +62 tokens per session 30de318622c2
- 12d ago First seen · 429 lines · 58 tokens per session scan A 75ea28158d21
macos-menubar-swiftui is a skill published in the GitHub repository aka-kika/akakika-skills (10 stars, last pushed 2d ago), licensed MIT. It adds 120 tokens to every session and 1,983 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
cometchat-android-v6-kotlin-placement
Where the CometChat Android v6 chat UI goes in a Kotlin XML Views app — the default conversations→message Activity flow, growing to the tab-based app (chats/users/groups/calls + detail, thread and search screens + incoming calls), a single one-to-one screen, or chat embedded in an existing Activity/Fragment, with a…
flutter-codestyle
Custom Instructions: Senior Flutter & Dart Engineer.
xcode-build-tuner
Implement approved Xcode build-speed fixes after strategist approval or explicit requests covering build settings, script phases, Swift compilation, or SwiftPM graphs; re-benchmark results.
xcode-compile-profiler
Profile Swift and mixed-language compile bottlenecks from timing summaries, frontend diagnostics, type-check warnings, CompileSwiftSources, and SwiftEmitModule; recommend changes only.
swiftui-view-architect
Refactor oversized SwiftUI view files into stable, dedicated subviews with MV-first data flow, explicit dependencies, extracted actions, and correct Observation usage.
bootstrap-ios
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work. Use before building, fixing, refactoring, QAing, or setting up Apple-platform repos, and when asked to load/install Ray's iOS skills or bootstrap iOS.