macOS Telemetry Probe
SkillMonitoring & opsmacOS runtime telemetry: add and verify privacy-safe Logger/OSLog events, log stream filters, and signposts; not crash diagnosis.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the macOS Telemetry Probe skill
What this skill tells your AI
The instructions your AI receives, as published by xopoko/build-swift-apps in skills/macos-telemetry-probe/SKILL.md and read by ahel’s review.
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
Add high-signal app instrumentation without leaving noisy permanent logs. Prefer Apple's unified logging and verify events after build/run.
Rules
- Use
LoggerfromOSLog. - Give each feature a clear subsystem/category.
- Log meaningful lifecycle/user events: windows, sidebar/inspector selection, commands, menu bar actions, sync/load milestones, fallback/error paths.
- Keep info logs stable; use debug for noisy state.
- Never log secrets, tokens, personal data, or raw document contents.
- Add signposts only for timing/performance spans.
import OSLog
private let logger = Logger(
subsystem: Bundle.main.bundleIdentifier ?? "SampleApp",
category: "Sidebar"
)
@MainActor
func selectItem(_ item: SidebarItem) {
logger.info("Selected sidebar item: \(item.id, privacy: .public)")
selection = item.id
}
Use feature categories like Windowing, Commands, MenuBar, Sidebar, Sync, or Import.
Workflow
-
Identify the behavior needing observability.
-
Add one useful log per action boundary or key state transition.
-
Build/run with
macos-runtime-debugger; if present, prefer./script/build_and_run.sh --telemetryor--logs. -
Exercise the UI/command path.
-
Verify through Console or:
log stream --style compact --predicate 'process == "AppName"' log stream --style compact --predicate 'subsystem == "com.example.app" && category == "Sidebar"' -
Keep useful logs; remove or demote temporary noise.
Verification
Confirm the app builds, the relevant action emits exactly one clear line or bounded sequence, logs filter by process/subsystem/category, no sensitive payloads are written, and temporary debug noise is gone. If the task is mainly crash/backtrace work, switch to macos-runtime-debugger.
Signals
- GitHub stars
- 45
- Forks
- 4
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
macos-telemetry-probe- Source
- github.com/xopoko/build-swift-apps