Skip to content
Agentmart
Submit a tool

pi-upgrade

Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in…

Skill by mrclrchtr

IndexedMIT★ 103
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mrclrchtr-pi-upgrade

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pi-upgrade

What's inside

Skill name
pi-upgrade
Description
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.
License
MIT
Metadata
internal: true
Instructions
128 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • plugin.json · .claude-plugin/
  • README.md
  • SKILL.md
  • check-pi-version · scripts/
  • workspace-overrides.cjs · scripts/

SKILL.md (first lines)

# PI Upgrade Advisor

Upgrade pi framework dependencies, migrate legacy package names, and surface the
new patterns available in the latest release.

## Prerequisites

- GitHub CLI (`gh`) must be installed and authenticated.
- A `package.json` containing either `@earendil-works/pi-coding-agent` or
  `@earendil-works/pi-tui` (legacy `@mariozechner/*` names also work).

## What the script does

The bundled helper (`scripts/check-pi-version`) handles the mechanical work:

- Detects the current pi package version from `package.json`, lockfiles, or
  `node_modules`
- Fetches release delta from `earendil-works/pi` via `gh`
- Updates version ranges across workspace `package.json` files
- Updates existing Pi overrides in `pnpm-workspace.yaml`, including `@earendil-works/chord`
- Keeps Pi peer dependencies at `*` and preserves manifest range prefixes
- Migrates `@mariozechner/pi-*` entries to `@earendil-works/pi-*`
- Runs the detected package manager install
- Returns structured JSON with the current version, latest version, release
  notes, bumped files, and install status

The helper updates files and installs immediately. Run it for upgrade requests
without a separate confirmation.
A request to edit this skill or its helper is not approval to upgrade Pi.

Resolve `scripts/check-pi-version` relative to this `SKILL.md` file's directory;
do not assume the target project contains `.pi/skills/pi-upgrade`.

```bash
# Update versions, install, and report
bash "<skill-dir>/scripts/check-pi-version" [path/to/package.json]
```

## What YOU do after the helper runs

1. **Analyze the installed docs** — Read the installed `pi-coding-agent` README,
   `docs/*.md`, and type definitions for new features, APIs, patterns, and
   deprecations.
2. **Map findings to the user's codebase** — Look at the repo's existing pi
   extensions, skills, or config and point to specific files that could benefit.
3. **Generate actionable recommendations** — Explain what changed, what broke,
   what was renamed, and what the user should do next.

## Workflow

### Step 1: Run the helper

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.

### Step 2: Check the install result

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.
Continue only when install and resolved-version checks succeed. Check
`resolvedVersions` before reading the new docs.

### Step 3: Read the newly installed pi docs

After the helper succeeds with `applied: true` and `installExitCode: 0`, the
resolved versions must match the target release in `resolvedVersions`.
Only then read the docs in `node_modules/`.

- Prefer `node_modules/@earendil-works/pi-coding-agent/README.md` and `docs/*.md`
- If the project is still on the deprecated scope during an in-progress migration,
  read the matching installed path for whatever scope is actually present
- Focus on new APIs, config options, deprecations, and behavior changes that
  matter to the user's code

### Step 4: Investigate the user's pi usage

Read the project's pi-relevant files to understand current patterns:

- `package.json` pi manifest (`pi.extensions`, `pi.prompts`, `pi.skills`)
- Extension source files (event handlers, tool registrations, UI components)
- Existing skills and prompts
- Any `CLAUDE.md` or project docs referencing pi APIs

### Step 5: Generate the upgrade report

Use the helper output and the repo context to write a report that includes:

- What changed in pi
- Which files in the repo are affected
- Any breaking changes or deprecations
- Concrete follow-up steps

### Step 6: Offer to apply migrations

After presenting the report, ask what the user wants to do next:

1. Apply a specific migration
2. Create a task list
3. Leave it for later

## Guardrails

- Run upgrade requests without a separate confirmation.
- Respect version pinning; keep `^`/`~` prefixes unless the upgrade requires it.
- Handle pre-releases carefully.
- If `gh` is missing, ask the user to install and authenticate it.
- For private forks/mirrors, ask for the repo override before editing the helper.
- If install fails, surface `installOutput` and `installExitCode`.

## Workspace overrides

The helper updates existing direct `@earendil-works/pi-*`, legacy
`@mariozechner/pi-*`, and `@earendil-works/chord` overrides together. It does not
add overrides. Use a block mapping with scalar versions in `pnpm-workspace.yaml`.
Pi selectors and alias values need manual review; the helper stops before edits

From mrclrchtr/supi, MIT.

More from mrclrchtr/supi

Compare and alternatives

    Featured in

    Signals

    Stars
    103
    Forks
    7
    Open issues
    14
    Last commit (this folder)
    Oct 13, 2026 (14 days ago)
    Last release
    Oct 22, 2026 (5 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from mrclrchtr

    Cite this page

    pi-upgrade skill. Agent Mart. https://agentmart.dev/skills/mrclrchtr-pi-upgrade (last updated 2026-10-24)