sword-fish333

OS Telemetry — Development skill for Claude Code

Development community

Low-footprint system telemetry for the operating system and an honest ledger of every byte your laptop writes.

How to install OS Telemetry

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sword-fish333/Os-telemetry and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What OS Telemetry does

Low-footprint system telemetry for the operating system and an honest ledger of every byte your laptop writes. Tracks per-process disk writes, SSD health, energy and memory, and records exactly what local AI agents like Claude Code and Codex CLI do to your machine. Written in Rust.

Alternatives in Development

  • LifeOS — ⛰️ The Life Operating System — an intent engineering platform that moves you from your current state to your i 18.7k ★
  • QuickSilver OS — 📊 You are ChatGPT-4, running the QuickSilver OS, a user-friendly and powerful virtual operating system that e 9.1k ★
  • Zerostack — Lightweight coding agent written in Rust, optimized for memory footprint and performance 1.7k ★

README

Agent flight recorder

A low-footprint recorder of what AI coding agents cost the machine they run on: CPU time, energy, disk writes and memory, per agent session and per command the agent ran. `afr` is a working name.

**Status:** early. Phase 0 (measuring how macOS counts things) is done. The command-line tool reports on the agent sessions running right now, and a collector can be run in the foreground to account for processes that have exited and to keep a history of sessions that have ended. Installing the collector as a background service, machine-wide gauges, detectors and the graphical console are not built yet. See [docs/PLAN.md](docs/PLAN.md).

Requirements

  • macOS on Apple Silicon. Developed on macOS 27.
  • Rust stable, installed with rustup. rust-toolchain.toml selects the toolchain and components.

The tool refuses to run under Rosetta, because a translated process reads a wrong page size.

Use

cargo build --release -p afr-cli
target/release/afr sessions      # agent sessions and their cost so far
target/release/afr receipt       # one session, broken down; inside a session, that session
target/release/afr leftovers     # processes that outlived the session that started them
target/release/afr metrics       # every figure: fidelity, layer, unit and source

target/release/afr daemon        # run the collector in the foreground; Ctrl-C stops it
target/release/afr status        # the collector's own CPU, memory and writes against its budget
target/release/afr history       # sessions that have ended, newest first

It supports Claude Code today.

**Without the collector,** one sweep of the process table gives lifetime totals for every live process, because the kernel's counters are cumulative. What a single sweep cannot recover is the energy and writes of processes that have already exited; the receipt says so where it applies.

**With the collector running,** the same commands also account for processes that have exited. It follows the fo