Official agent skill

Next Upgrade

by vercel-labs in vercel-labs/openreview

Upgrade Next.js to the latest version following official migration guides and codemods

OfficialNo licenceAuto-check passedDevelopment

Install Next Upgrade

skills CLI
$ npx skills add vercel-labs/openreview --skill next-upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vercel-labs/openreview next-upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vercel-labs/openreview.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/next-upgrade .claude/skills/next-upgrade && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
next-upgrade
GitHub stars
1.7k
Used in
6 other repos
Token cost
~502 tokens
SKILL.md length
175 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Upgrade Next.js to the latest version following official migration guides and codemods

  • Works in 8 steps: Detect current version: Read… → Fetch the latest upgrade guide: Use… → Determine upgrade path: Based on current… → …
  • Tasks that involve Code migrations
  • Calls npm and npx

What it does

Next Upgrade is an agent skill from vercel-labs/openreview, published by the product's own GitHub organization. Upgrade Next.js to the latest version following official migration guides and codemods

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code migrations. It works with Next.js, Vercel and npm. The repository describes itself as: An open-source, self-hosted AI code review bot powered by Vercel.

When your agent uses it

  • Tasks that involve Code migrations

Example prompts

  • “/next-upgrade”

Requirements

  • Node.js

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Detect current version: Read package.json to identify the current Next.js version and related dependencies (React, React DOM, etc.)
  2. Fetch the latest upgrade guide: Use WebFetch to get the official upgrade documentation
  3. Determine upgrade path: Based on current version, identify which migration steps apply. For major version jumps, upgrade incrementally…
  4. Run codemods first: Next.js provides codemods to automate breaking changes
  5. Update dependencies: Upgrade Next.js and peer dependencies together
  6. Review breaking changes: Check the upgrade guide for manual changes needed
  7. Update TypeScript types (if applicable)
  8. Test the upgrade

What it can do on your machine

Read from SKILL.md and the folder at commit 672deb2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nextjs.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Next Upgrade loads about 502 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~502

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 175 words (~502 tokens).

“Upgrade the current project to the latest Next.js version following official migration guides.”

— opening of SKILL.md by vercel-labs
name
next-upgrade
argument-hint
[target-version]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/next-upgrade of vercel-labs/openreview.

Open the folder on GitHubat commit 672deb2

Used in 6 other repositories

We found 6 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 6 other GitHub owners. This page covers the copy in vercel-labs/openreview, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Next Upgrade next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Next Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Next Upgrade this skillvercel-labs/openreview1.7k6 repos~502Automated safety check: PassNone
Bun Nextjssecondsky/claude-skills227—~1.9kAutomated safety check: NotesMIT
Migrate Internal Package into GhostTryGhost/Ghost56k—~3.8kAutomated safety check: PassMIT
Next Cache Components Adoptionvercel/next.js143k6 repos~8.3kAutomated safety check: PassMIT
Library Migration GuideailyProject/aily-blockly3.8k—~3.1kAutomated safety check: PassGPL-3.0
Nextjsleonvanzyl/opencode-masterclass125—~4.5kAutomated safety check: PassNone

Similar skills

  • Bun Nextjs

    secondsky/claude-skills

    This skill should be used when the user asks about "Next.js with Bun", "Bun and Next", "running Next.js on Bun", "Next.js development with Bun", "create-next-app with Bun", or building Next.js…

    227 GitHub stars~1.9k tokensUpdated 11 days ago
    DevOps & CloudAuto-check: notes
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces.

    143k GitHub starsUsed in 6 repos~8.3k tokens
    DevelopmentAuto-check passed
  • Library Migration Guide

    ailyProject/aily-blockly

    Complete guide for converting Arduino/ESP32 hardware libraries into Aily Blockly compatible format.

    3.8k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Nextjs

    leonvanzyl/opencode-masterclass

    Next.js App Router expert guidance. An agent skill from leonvanzyl/opencode-masterclass.

    125 GitHub stars~4.5k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Create PR

    vercel/next.js

    Official

    Create Git branches, commits, pushes, and GitHub pull requests for Next.js.

    143k GitHub stars~978 tokensUpdated today
    DevelopmentAuto-check passed

More from vercel-labs/openreview

  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 97 repos~308 tokens
    Auto-check passed
  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    Auto-check passed
  • Next Cache Components

    vercel-labs/openreview

    Official

    Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag

    1.7k GitHub starsUsed in 9 repos~2.3k tokens
    Auto-check passed
  • Next Best Practices

    vercel-labs/openreview

    Official

    Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

    1.7k GitHub starsUsed in 18 repos~1k tokens
    Auto-check passed

Categories

Questions about Next Upgrade

What does Next Upgrade do?

Upgrade Next.js to the latest version following official migration guides and codemods. Next Upgrade is an agent skill from vercel-labs/openreview, published by the product's own GitHub organization.

When should I use Next Upgrade?

Next Upgrade fits situations like: tasks that involve Code migrations.

How do I install Next Upgrade in Claude Code?

Run `npx skills add vercel-labs/openreview --skill next-upgrade -a claude-code`. Or copy the skill folder (.agents/skills/next-upgrade in vercel-labs/openreview) into .claude/skills/next-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Next Upgrade in Codex?

Run `npx skills add vercel-labs/openreview --skill next-upgrade -a codex`. Or copy the skill folder (.agents/skills/next-upgrade in vercel-labs/openreview) into .agents/skills/next-upgrade in your project. Codex loads it when a task matches its description.

Can I use Next Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vercel-labs/openreview --skill next-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/next-upgrade, .gemini/skills/next-upgrade, .github/skills/next-upgrade and .opencode/skills/next-upgrade in your project.

What does Next Upgrade need to run?

Going by SKILL.md and its folder, Next Upgrade needs the command-line tools its instructions call (npm and npx). Our summary lists: Node.js.

Does Next Upgrade access the network?

SKILL.md names 1 domain. As links in the text: nextjs.org. This is read from the text; nothing was executed.

Is Next Upgrade safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Next Upgrade use?

No licence was found for Next Upgrade or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Next Upgrade use?

About 502 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Next Upgrade?

Skills that share tags, products or a category with Next Upgrade: Bun Nextjs (secondsky/claude-skills, 227 stars), Migrate Internal Package into Ghost (TryGhost/Ghost, 56k stars), Next Cache Components Adoption (vercel/next.js, 143k stars) and Library Migration Guide (ailyProject/aily-blockly, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Next Upgrade?

vercel-labs (a GitHub organization, an official publisher) maintains it in vercel-labs/openreview, which has 1,695 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on March 6, 2026.

Source: vercel-labs/openreview on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.