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 skills add sky-valley/pi --skill pi-syncgit clone --depth 1 https://github.com/sky-valley/piWrote 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.
[](https://agentmods.dev/skills/sky-valley/pi/pi-sync)<a href="https://agentmods.dev/skills/sky-valley/pi/pi-sync"><img src="https://agentmods.dev/badge/skills/sky-valley/pi/pi-sync/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.
<a href="https://agentmods.dev/skills/sky-valley/pi/pi-sync"><img src="https://agentmods.dev/badge/skills/sky-valley/pi/pi-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.05508 |
| Opus 5.5 | $0.00026 | $0.02203 |
| Sonnet 5.5 | $0.00013 | $0.01102 |
| Haiku 4.5 | $0.00007 | $0.00551 |
Grade A, and why
pi-sync scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
sky-valley/pi -w release -L 1`, or without gh auth `curl -s How it starts
The opening of the file, as written. The whole thing — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pi-sync — the daily porting job
Orchestrates one sync cycle. State lives in docs/UPSTREAM.md (the pin + the
ledger); this skill is restartable — a half-finished ledger resumes where it
stopped.
0. Preflight
- Repo: clean working tree on
main,git pullfirst. Full gate must be green BEFORE starting (go build ./... && go vet ./... && go test ./..., and the env module's gate from §4); never start a sync on a broken base. - Upstream clone at
$PI_UPSTREAM_DIR(default~/.cache/pi-upstream); clone if missing,git fetch origin main, then fast-forward its working tree:git -C "$dir" checkout -B main origin/main. The clone is a read-only mirror — nothing is ever committed to it, and the differential harness extracts from it withgit archive <sha>— so this is always safe. Without it the checkout drifts arbitrarily far behind: at the 2026-08-11 sync it was still on a 2026-06-07 commit, ~2 months stale, and a plaingrepof it reported the OPPOSITE of what the pin contained, reading as though upstream had reverted the change being ported. - Standing rule, independent of the above: never read the clone's working
tree. Every upstream read names a sha —
git show <sha>:<path>,git diff <sha>^1..<sha>,git grep <pattern> <sha> -- <path>. A fast-forwarded tree is atorigin/main, which mid-cycle is AHEAD of the pin, so it is not the thing under triage or review either. Pass this rule to every triage/review subagent you spawn; the 2026-08-11 cycle is on record because a reviewer nearly filed a phantom finding from it. - Read the pin from
docs/UPSTREAM.md. Delta = the union rangepin..origin/main(git log, not--first-parent); report the first-parent count beside it. Merged side branches carry real mainline commits: on 2026-09-23 the first-parent line ran along upstream'sdurablebranch, and both the pin and two ported commits were reachable only through merge second parents. Judge a merge by diffing it against EACH parent. If empty: record the check date in UPSTREAM.md and stop. - If the delta contains a release tag: refresh the npm reference build
(
npm i @earendil-works/pi-ai@<ver> @earendil-works/pi-coding-agent@<ver> @earendil-works/pi-env@<ver> @earendil-works/pi-durable@<ver>in the scratch dir) so parity review compares against what now ships. pi-env'sbin/holds the Rust daemonsenv/daemon's oracle is captured from, and the env daemon'sVersionfollows pi-env's npm version (hello.versionreports it). - Re-capture
coding/testdata/defaultmodelsat EVERY re-pin (npm build at a release,capture.mjs --src <sha>between releases): it pins the wholedefaultModelPerProvidertable, which has caused a miss twice.
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.
- 5d ago Changed · +97 lines 0d356ca6bbff
- 1mo ago Changed 2bcce903ccfe
- 1mo ago Changed · +34 lines 8b097753b143
- 2mo ago Changed · +9 lines eb68e95742db
- 2mo ago Changed · +23 lines 817ac727b730
- 2mo ago Changed · +1 lines 16ea0f061cf3
- 3mo ago Changed · +6 lines e1092a000fc8
- 3mo ago Changed · +35 lines 685684c08e1e
- 3mo ago First seen · 132 lines · 66 tokens per session scan A ff5f249dc1b3
pi-sync is a skill published in the GitHub repository sky-valley/pi (95 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 5,508 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
pi-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pi-syncsky-valley/pi | Skill | 95 | yesterday | MIT | A | 66 | Claude Code |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | today | Apache-2.0 | A | 86 | Codex |
| check-linters-before-commitdimetron/pi-go | Skill | 235 | 4d ago | MIT | A | 30 | Claude Code, Codex |
| releasegenai-io/san | Skill | 143 | today | Apache-2.0 | A | 75 | Claude Code |
| crawlkitvincentkoc/dotskills | Skill | 111 | 2d ago | MIT | A | 30 | Codex |
| releaseGentleman-Programming/gentle-pi | Skill | 804 | 2mo ago | MIT | A | 28 | Claude Code, Codex |
| python-formatGoldziher/ai-rulez | Skill | 183 | yesterday | MIT | A | 16 | Claude Code |