pi-agent-observability: Command for Claude Code

.claude/commands/install.md

install is a command for Claude Code from disler/pi-agent-observability. It costs 50 tokens per session (2,256 once invoked), scanned C, original, MIT.

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

Written for Claude Code: installed under .claude/.

This is disler/pi-agent-observability's own configuration. It tells Claude Code how to work on pi-agent-observability itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pi-agent-observability configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/disler/pi-agent-observability/main/.claude/commands/install.md
Clone the repo
git clone --depth 1 https://github.com/disler/pi-agent-observability

Made for: Claude Code.

Wrote 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.

agentmods badge for install

README.md
[![agentmods](https://agentmods.dev/badge/commands/disler/pi-agent-observability/install/github.svg)](https://agentmods.dev/commands/disler/pi-agent-observability/install)
Your own site
<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.

agentmods 80×15 button for install

Your own site · 80×15
<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>
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. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 2mo ago against content hash 07baac707d19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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>.
.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. 2mo 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 (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.

Related

install compared with commands from other repositories

install next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
installdisler/pi-agent-observabilityCommand1485mo agoMITC50Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code