os-log

Stream and query os_log data from iOS, watchOS, and macOS devices.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/oozoofrog/codex-skills --skill os-log
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: os-log
Source: https://github.com/oozoofrog/codex-skills/tree/main/os-log
Command: npx skills add https://github.com/oozoofrog/codex-skills --skill os-log

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

iOS/watchOS/macOS debugging often requires real-time visibility into os_log data across devices. This Skill provides a unified CLI to stream live logs, query stored logs, and list connected devices, simplifying debugging workflows.

Core Features & Use Cases

  • Real-time log streaming from apps on simulators or real devices.
  • Stored log search with filters for subsystem, category, level, or process.
  • Device enumeration and easy connection to target UDIDs for targeted diagnostics.
  • Use Case: A developer troubleshooting a flaky network call can stream logs from the affected app and filter by subsystem.

Quick Start

Run OSLogCLI stream to start streaming logs from a chosen device or simulator.

Frequently Asked Questions about os-log

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream real-time os_log data from an iOS or macOS app?

To stream os_log data, you run the stream command to capture live logs from connected simulators or physical devices. This provides real-time visibility into app behavior for immediate debugging.

Can I filter stored device logs by subsystem and category?

Yes, you can query stored logs using filters for subsystem, category, level, or process. This allows you to isolate specific app components and review historical log data for diagnostics.

How do I list connected iOS and watchOS devices for targeted debugging?

You can enumerate connected devices by running the devices command. This lists available simulators and physical devices, allowing you to target specific UDIDs for your log streaming or querying.

Does this os_log streaming approach work for both simulators and real devices?

Yes, the unified CLI supports streaming and querying os_log data across both simulators and real iOS, watchOS, and macOS devices. This simplifies workflows by providing a single interface for device logging.

What is the best way to diagnose a flaky network call using os_log?

The best way is to stream live logs from the affected app and filter by the network subsystem. This isolates the relevant real-time os_log entries to help you quickly identify the issue.