install

An installation command for a Pi observability project: a tool that records and displays what a coding agent does. It installs dependencies for the observability server, browser interface, and Steelman demo without starting servers.

In plain words
What is it for?
Use it when setting up the project for the first time. It installs four packages, verifies Pi authentication, and prepares the default configuration.
Why use it?
It takes a fresh copy of the project to a ready-to-run state and checks required software and Pi login details. This avoids manually installing several packages or discovering missing setup later.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/disler/pi-agent-observability/install
Clone the repo
git clone --depth 1 https://github.com/disler/pi-agent-observability

Made for: Claude Code.

Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.02256
Opus 5 $0.00025 $0.01128
Sonnet 5 $0.00010 $0.00451
Haiku 4.5 $0.00005 $0.00226

Measured 3d ago against content hash 07baac707d19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

install scanned grade C with 2 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 3d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **bun ≥ 1.1** — install via `curl -fsSL https://bun.sh/install | bash` or homebrew `brew install oven-sh/bun/bun`. Docs: <https://bun.sh>.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **bun ≥ 1.1** — install via `curl -fsSL https://bun.sh/install | bash` or homebrew `brew install oven-sh/bun/bun`. Docs: <https://bun.sh>.
.claude/commands/install.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Install pi-agent-observability

Purpose

Walk a fresh clone of pi-agent-observability from "just got pulled down" to "ready to run just all". This is an interactive, agentic process — ask the user when choices are needed, install what can be installed automatically, never start a long-running server.

Variables

PACKAGES: extension/, apps/observability/, apps/steelman/server/, apps/steelman/web/ — the four bun install targets PORTS: 43190 obs · 45210 Steelman API · 51730 Steelman web PI_AUTH_FILE: ~/.pi/agent/auth.json STEELMAN_MODEL: gemini-3.5-flash on provider google — the product agent's default, set via STEELMAN_AGENT_MODEL / STEELMAN_AGENT_MODEL_PROVIDER; needs GEMINI_API_KEY or pi /login ENV_SAMPLE: .env.sample — copy to .env to override any default

Codebase Structure

.
├── justfile                          # task runner surface — start here
├── shared/types.ts                   # canonical ObsEvent wire format
├── extension/                        # Pi observability extension (Bun TS)
├── apps/
│   ├── observability/                # Bun + SQLite obs server + static UI
│   └── steelman/
│       ├── extension/                # Steelman product extension (research + artifact tools)
│       ├── server/                   # Steelman Bun backend (Pi RPC manager)
│       └── web/                      # Vite + Vue 3 + TypeScript frontend
└── scripts/                          # smoke + validation scripts

Instructions

  • Run every check via Bash — do not assume anything is installed.
  • Show a status line immediately after each check (✓ <thing> on pass, ✗ <thing> on fail).
  • Critical prerequisites (bun, pi, just) gate — if any is missing, stop and guide the user.
  • For auto-installable items (per-package bun install), install them without asking.
  • For items requiring user input, ask the user with a sensible default.
  • Do NOT read or display API key values — only confirm whether they're set.
  • Do NOT start any servers, daemons, or watchers. Verification is read-only.
  • Do NOT modify ~/.pi/agent/auth.json or ~/.pi/agent/models.json — those are user-scoped pi config.

Read the full file on GitHub · 158 lines

Changes

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.

  1. 3d ago First seen · 158 lines · 50 tokens per session scan C 07baac707d19

Subscribe to this mod's changes

install is a command published in the GitHub repository disler/pi-agent-observability (142 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 2,256 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.