Borrowing it
Nothing to install: this file belongs to disler/pi-agent-observability. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/disler/pi-agent-observability/main/.claude/commands/install.mdgit clone --depth 1 https://github.com/disler/pi-agent-observabilityWrote 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/commands/disler/pi-agent-observability/install)<a href="https://agentmods.dev/commands/disler/pi-agent-observability/install"><img src="https://agentmods.dev/badge/commands/disler/pi-agent-observability/install/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/commands/disler/pi-agent-observability/install"><img src="https://agentmods.dev/badge/commands/disler/pi-agent-observability/install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00050 | $0.02256 |
| Opus 5.5 | $0.00020 | $0.00902 |
| Sonnet 5.5 | $0.00010 | $0.00451 |
| Haiku 4.5 | $0.00005 | $0.00226 |
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 2mo 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>. 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.jsonor~/.pi/agent/models.json— those are user-scoped pi config.
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.
- 2mo ago First seen · 158 lines · 50 tokens per session scan C 07baac707d19
install is a command published in the GitHub repository disler/pi-agent-observability (148 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 2,256 once invoked, about $0.0002 per session on Opus 5.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.
install compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| installdisler/pi-agent-observability | Command | 148 | 5mo ago | MIT | C | 50 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |