pi-validation-flow

pi-validation-flow is a skill for Claude Code, Codex from spences10/my-pi. It costs 37 tokens per session (309 once invoked), scanned A, original, MIT.

A validation workflow for changes in the Pi monorepo, which is a repository containing multiple related packages. It selects package or repository checks, TypeScript and Svelte diagnostics, and boundary checks based on the files changed.

In plain words
What is it for?
Use it after editing Pi packages, TypeScript or Svelte code, manifests, tests, registry entries, repository tools, skills, or documentation.
Why use it?
It helps catch errors in the right package and separates new failures from existing ones or checks that could not run.

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 after editing Pi packages, TypeScript or Svelte code, manifests, tests, registry entries, repository tools, skills, or documentation.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/spences10/my-pi/pi-validation-flow.svg)](https://agentmods.dev/skills/spences10/my-pi/pi-validation-flow)
Your own site
<a href="https://agentmods.dev/skills/spences10/my-pi/pi-validation-flow"><img src="https://agentmods.dev/badge/skills/spences10/my-pi/pi-validation-flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 309 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 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]
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.00037 $0.00309
Opus 5 $0.00018 $0.00154
Sonnet 5 $0.00007 $0.00062
Haiku 4.5 $0.00004 $0.00031

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

Security

Grade A, and why

pi-validation-flow 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-validation-flow/SKILL.md · 41 lines

What it actually says

Pi Validation Flow

Use this before saying implementation work is done.

Workflow

  1. Inspect changed files with git diff --name-only.
  2. Run the narrowest package validation for changed packages.
  3. Run LSP diagnostics for changed TypeScript/Svelte source files.
  4. Run root validation when shared files, root scripts, package manifests, lockfile, or built-in registry changed.
  5. Report failures honestly: separate new failures, pre-existing failures, skipped checks, and unavailable tools.

Command selection

  • Single package: pnpm --filter @spences10/<pkg> run check:self and test:self.
  • Root/shared changes: pnpm run check.
  • Boundary-sensitive changes: pnpm run check:boundaries if available or included by root check.
  • Svelte files: use Svelte-specific validation and LSP diagnostics.
  • Skills: run pnpx check-skills validate <skill-path> --json after every skill edit.

Reporting format

Keep the final report short:

  • Changed: files/packages touched.
  • Validation: commands run and results.
  • Risks: only unresolved failures or skipped checks.
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 · 41 lines · 37 tokens per session scan A 8510e1eccb67

Subscribe to this mod's changes

pi-validation-flow is a skill published in the GitHub repository spences10/my-pi (118 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 309 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.