pi-observability-local-dev

pi-observability-local-dev is a skill for Claude Code, Codex from spences10/my-pi. It costs 48 tokens per session (450 once invoked), scanned A, original, MIT.

A local development workflow for the Pi observability dashboard and server, used while changing its source code. It covers checking, testing, rebuilding, restarting the local server, and reviewing the dashboard.

In plain words
What is it for?
Use it when changing the observability package, rebuilding its generated output, restarting the server on port 43190, or checking the dashboard locally.
Why use it?
It keeps the locally running dashboard synchronized with source edits and provides focused checks before visual review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is nohup node packages/pi-observability/dist/server.js > /tmp/pi-observability.log 2>&1 &.

Good fit Use it when changing the observability package, rebuilding its generated output, restarting the server on port 43190, or checking the dashboard locally.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/spences10/my-pi
agentmods
npx agentmods add skills/spences10/my-pi/pi-observability-local-dev

Made for: Claude Code, Codex.

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 pi-observability-local-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/spences10/my-pi/pi-observability-local-dev.svg)](https://agentmods.dev/skills/spences10/my-pi/pi-observability-local-dev)
Your own site
<a href="https://agentmods.dev/skills/spences10/my-pi/pi-observability-local-dev"><img src="https://agentmods.dev/badge/skills/spences10/my-pi/pi-observability-local-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 36
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00048 $0.00450
Opus 5 $0.00024 $0.00225
Sonnet 5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 8d ago against content hash d7beeac6906b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pi-observability-local-dev scanned grade A with 0 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/pi-observability-local-dev/SKILL.md · 54 lines

What it actually says

Pi Observability Local Development

Use this workflow when iterating on packages/pi-observability and the local dashboard at http://127.0.0.1:43190.

Workflow

  1. Edit source files under packages/pi-observability/src; do not edit generated dist directly.

  2. Validate focused changes first:

    pnpm --filter @spences10/pi-observability run check:self
    pnpm --filter @spences10/pi-observability run test:self
    
  3. Rebuild the local dashboard/server output:

    pnpm --filter @spences10/pi-observability run build:self
    
  4. Restart the server bound to port 43190:

    fuser -v -n tcp 43190
    kill <PID>
    nohup node packages/pi-observability/dist/server.js > /tmp/pi-observability.log 2>&1 &
    tail -n 20 /tmp/pi-observability.log
    
  5. Refresh http://127.0.0.1:43190 and review the current UI against the requested behavior.

Notes

  • pnpm --filter ... exec pi-observability-server may exit quickly in this repo; prefer node packages/pi-observability/dist/server.js for local review.
  • If lsof is unavailable, use fuser -v -n tcp 43190 to identify the port owner.
  • Keep the server PID in the final response when restarting it for the user.
  • For Svelte edits, run LSP diagnostics and the Svelte autofixer before reporting completion.
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. 8d ago First seen · 54 lines · 48 tokens per session scan A d7beeac6906b

Subscribe to this mod's changes

pi-observability-local-dev is a skill published in the GitHub repository spences10/my-pi (118 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 450 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories