pi-package-sandbox-test

pi-package-sandbox-test is a skill for Claude Code, Codex from spences10/my-pi. It costs 40 tokens per session (539 once invoked), scanned A, original, MIT.

A verification procedure for published Pi packages, which are add-ons installed into the Pi coding agent. It checks package versions, installation, loading, and combined use in a clean temporary environment.

In plain words
What is it for?
Use it to test user-installable Pi packages, validate npm releases, run help commands in a disposable sandbox, and produce a compact compatibility report.
Why use it?
It catches packages that work only in a developer’s own setup or that cannot be installed by ordinary users. It also identifies differences between the local package version and the version published on npm.

Skill for Claude CodeCodex

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

Good fit Use it to test user-installable Pi packages, validate npm releases, run help commands in a disposable sandbox, and produce a compact compatibility report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spences10/my-pi/pi-package-sandbox-test
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.

Any agent
npx skills add spences10/my-pi --skill pi-package-sandbox-test
Clone the repo
git clone --depth 1 https://github.com/spences10/my-pi

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-package-sandbox-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/spences10/my-pi/pi-package-sandbox-test/github.svg)](https://agentmods.dev/skills/spences10/my-pi/pi-package-sandbox-test)
Your own site
<a href="https://agentmods.dev/skills/spences10/my-pi/pi-package-sandbox-test"><img src="https://agentmods.dev/badge/skills/spences10/my-pi/pi-package-sandbox-test/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 pi-package-sandbox-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/spences10/my-pi/pi-package-sandbox-test"><img src="https://agentmods.dev/badge/skills/spences10/my-pi/pi-package-sandbox-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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: 6 findings, 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 MCP Rug Pull · line 23
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 30
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 31
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 36
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 37
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00040 $0.00539
Opus 5 $0.00020 $0.00269
Sonnet 5 $0.00008 $0.00108
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

pi-package-sandbox-test 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 12d 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-package-sandbox-test/SKILL.md · 67 lines

What it actually says

Pi Package Sandbox Test

Verify published packages work for normal Pi users, independent of my-pi.

Procedure

  1. From the repository root, enumerate packages/*/package.json.
  2. Select only packages with a pi manifest; helper/internal packages without pi are not user-installable Pi packages.
  3. For each selected package, compare local package.json version with npm view <pkg> version.
  4. In a disposable Daytona sandbox via pnpx ralph-town run, use vanilla Pi only:
    pnpx @earendil-works/pi-coding-agent
    
  5. For each published npm version, verify both commands succeed:
    pnpx @earendil-works/pi-coding-agent install npm:<package>@<npm-version>
    pnpx @earendil-works/pi-coding-agent -e npm:<package>@<npm-version> --help
    
  6. In the same clean sandbox config, install all selected packages together, then run:
    pnpx @earendil-works/pi-coding-agent list
    pnpx @earendil-works/pi-coding-agent --help
    

Report Format

Report a compact table with:

  • package name
  • local version
  • npm version
  • install result
  • ephemeral load result
  • notes

Call out local/npm version drift separately. Version drift is not a failure when it is explained by release timing, changesets, or minimumReleaseAge; the user-facing check should use the published npm version that normal Pi users can install.

Failure Patterns

Treat these as failures unless explained by the sandbox environment:

  • npm package cannot be resolved
  • pi install npm:<package>@<version> exits non-zero
  • pi -e npm:<package>@<version> --help exits non-zero
  • startup output includes Cannot find module, ERR_MODULE_NOT_FOUND, SyntaxError, TypeError, or ReferenceError
  • packages pass alone but fail when installed together
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. 12d ago First seen · 67 lines · 40 tokens per session scan A 88bac5971a28

Subscribe to this mod's changes

pi-package-sandbox-test is a skill published in the GitHub repository spences10/my-pi (125 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 539 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.