skills/pi-upgrade/SKILL.md
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in package.json against releases on `earendil-works/pi`. Use this skill whenever the user asks to upgrade pi, update pi, check pi changelogs/releases, or migrate off the deprecated `@mariozechner/*` packages.
npx skillsauth add mrclrchtr/skills pi-upgradeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Upgrade pi framework dependencies, migrate legacy package names, and surface the new patterns available in the latest release.
gh) must be installed and authenticated.package.json containing either @earendil-works/pi-coding-agent or
@earendil-works/pi-tui (legacy @mariozechner/* names also work).The bundled helper (scripts/check-pi-version) handles the mechanical work:
package.json, lockfiles, or
node_modulesearendil-works/pi via ghpackage.json files@mariozechner/pi-* entries to @earendil-works/pi-*Dry-run is the default recommendation. The helper applies changes when run
without --dry-run, so ask the user which mode to use before invoking it.
Resolve scripts/check-pi-version relative to this SKILL.md file's directory;
do not assume the target project contains .agents/skills/pi-upgrade.
# Preview only (recommended/default)
bash "<skill-dir>/scripts/check-pi-version" --dry-run [path/to/package.json]
# Bump + install + report (only after the user chooses direct apply)
bash "<skill-dir>/scripts/check-pi-version" [path/to/package.json]
pi-coding-agent README,
docs/*.md, and type definitions for new features, APIs, patterns, and
deprecations.Before running the helper, ask the user whether to preview or directly apply:
Do not invoke the helper until the user chooses a mode. If they already stated a preference, follow it without asking again.
Run from the project root. Resolve the helper as <skill-dir>/scripts/check-pi-version,
where <skill-dir> is the directory containing this SKILL.md.
If it returns upToDate: true, congratulate the user and stop.
If it errors, surface the exact error and ask the user to fix it.
Use the JSON output to summarize the available upgrade, release notes, and files
that would be bumped. Do not analyze node_modules/ as the latest release yet:
dry-run does not install anything, so local docs and type definitions may still be
from the old version.
After the preview, ask whether the user wants to apply the upgrade. If they
confirm, rerun the helper without --dry-run, then continue with the installed-doc
analysis below. If they decline, stop after the preview.
The helper bumps package ranges and runs install immediately. If installExitCode
is non-zero, surface installOutput and stop; the latest docs may not be present.
If install succeeds, continue with the installed-doc analysis below.
After the helper succeeds with applied: true and installExitCode: 0, the
latest pi docs are available in node_modules/.
node_modules/@earendil-works/pi-coding-agent/README.md and docs/*.mdRead the project's pi-relevant files to understand current patterns:
package.json pi manifest (pi.extensions, pi.prompts, pi.skills)CLAUDE.md or project docs referencing pi APIsUse the helper output and the repo context to write a report that includes:
After presenting the report, ask what the user wants to do next:
^/~ prefixes unless the upgrade requires it.gh is missing, ask the user to install and authenticate it.installOutput and installExitCode.development
You MUST use this before creative OpenSpec work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation, then hands off to the best matching OpenSpec skill or command without managing OpenSpec artifacts.
development
Fetches and normalizes http(s) web pages into clean Markdown for LLM ingestion. Use when a task includes a URL, needs to fetch docs or asks to convert web docs/articles/pages into Markdown for summarizing, quoting, diffing, or saving.
development
Download Stitch (stitch.withgoogle.com) screen screenshots at best quality from `screenshot.downloadUrl` (often `lh3.googleusercontent.com`). Use to normalize googleusercontent size parameters from canvas dimensions, download with curl, optionally verify pixel dimensions, and avoid committing signed URLs.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.