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.
npx agentmods add commands/disler/pi-agent-observability/installgit clone --depth 1 https://github.com/disler/pi-agent-observabilityWhat 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 | $0.00050 | $0.02256 |
| Opus 5 | $0.00025 | $0.01128 |
| Sonnet 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 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>. 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.
- 3d 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 (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.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.