next-upgrade

next-upgrade is a skill for Claude Code from figueroaignacio/ignaciofigueroa.dev. It costs 19 tokens per session (493 once invoked), scanned A, a copy of next-upgrade, MIT.

A guide for upgrading a Next.js application, a web framework for React. It checks the current version, follows the official migration guidance, and uses available codemods to update breaking APIs where appropriate.

In plain words
What is it for?
Use it to inspect Next.js and related dependency versions, plan major-version upgrades, run migration codemods, and apply the relevant official upgrade steps.
Why use it?
It provides a version-aware upgrade path and highlights changes that may break an application. Codemods can automate some repetitive code updates before testing.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to inspect Next.js and related dependency versions, plan major-version upgrades, run migration codemods, and apply the relevant official upgrade steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade
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 figueroaignacio/ignaciofigueroa.dev --skill next-upgrade
Clone the repo
git clone --depth 1 https://github.com/figueroaignacio/ignaciofigueroa.dev

Made for: Claude Code.

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 next-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade/github.svg)](https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade)
Your own site
<a href="https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade"><img src="https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade/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.

agentmods 80×15 button for next-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade"><img src="https://agentmods.dev/badge/skills/figueroaignacio/ignaciofigueroa.dev/next-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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.
Origin 100% copy Near-identical to another mod 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.00019 $0.00493
Opus 5 $0.00010 $0.00246
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

next-upgrade 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 10d 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.

Origin

This is a copy

100% identical to next-upgrade — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/next-upgrade/SKILL.md · 55 lines

What it actually says

Upgrade Next.js

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

Instructions

  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 (e.g., 13 → 14 → 15).

  4. Run codemods first: Next.js provides codemods to automate breaking changes:

    npx @next/codemod@latest <transform> <path>
    

    Common transforms:

    • next-async-request-api - Updates async Request APIs (v15)
    • next-request-geo-ip - Migrates geo/ip properties (v15)
    • next-dynamic-access-named-export - Transforms dynamic imports (v15)
  5. Update dependencies: Upgrade Next.js and peer dependencies together:

    npm install next@latest react@latest react-dom@latest
    
  6. Review breaking changes: Check the upgrade guide for manual changes needed:

    • API changes (e.g., async params in v15)
    • Configuration changes in next.config.js
    • Deprecated features being removed
  7. Update TypeScript types (if applicable):

    npm install @types/react@latest @types/react-dom@latest
    
  8. Test the upgrade:

    • Run npm run build to check for build errors
    • Run npm run dev and test key functionality
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. 10d ago First seen · 55 lines · 19 tokens per session scan A ae9cc6f801d0

Subscribe to this mod's changes

next-upgrade is a skill published in the GitHub repository figueroaignacio/ignaciofigueroa.dev (5 stars, last pushed 6d ago), licensed MIT. It adds 19 tokens to every session and 493 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to next-upgrade, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

ThinkInAIXYZ/deepchat · 64 tokens

frontend-code-review

Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.

sangrokjung/claude-forge · 42 tokens

panel-app-react-vite-creator

Create or update an engineering-style NextClaw Panel component with pnpm, Vite, React, TypeScript, and Tailwind CSS, then build it into a static .panel directory inside a schema v2 package or an explicitly loose workspace Panel. Use for modern, reusable, complex, Agent-powered, typed Panel interfaces.

Peiiii/nextclaw · 73 tokens

react-form-validator

This skill should be used when the user asks to "create a form", "add validation", "handle form submission", "use React Hook Form", or when creating login, signup, or data entry forms. Enforces React Hook Form + Zod pattern.

smicolon/ai-kit · 56 tokens

react-accessibility-validator

Automatically validate React/Next.js components meet WCAG 2.1 AA standards. Use when creating components, forms, buttons, modals, navigation, or any interactive UI elements.

smicolon/ai-kit · 42 tokens

TanStack Form Patterns

Auto-enforce TanStack Form best practices with Zod validation. Activates when creating forms, handling form state, implementing validation, or building input components in React applications.

smicolon/ai-kit · 39 tokens