← Back to Skills Marketplace
tuanvidev

Next Upgrade

by vi.dev · GitHub ↗ · v0.1.0
cross-platform ✓ Security Clean
608
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install next-upgrade
Description
Upgrade Next.js to the latest version following official migration guides and codemods
Usage Guidance
This skill is coherent for upgrading Next.js. Before running it: (1) run it in a clean git branch and fully commit or stash changes so you can review/undo edits; (2) review or pin the specific codemod transforms and versions instead of blindly running @latest; (3) inspect codemod output and run your test/build steps locally or in CI; (4) backup or ensure CI/tests are green before merging; (5) if you want stricter control, run the listed WebFetch URLs and codemods manually rather than letting an automated agent execute npx. If the SKILL.md later adds unknown network endpoints or requests credentials, stop and reassess.
Capability Analysis
Type: OpenClaw Skill Name: next-upgrade Version: 0.1.0 The skill's instructions in SKILL.md outline a standard process for upgrading a Next.js project, including reading `package.json`, fetching official documentation from nextjs.org, running official `@next/codemod` commands, and using `npm install` for dependency updates. While these actions involve powerful capabilities like shell command execution and network requests, they are all directly aligned with the stated purpose of upgrading a project. There is no evidence of malicious intent such as data exfiltration, unauthorized remote control, persistence, or deceptive prompt injection against the agent. The URLs accessed are legitimate Next.js documentation sites.
Capability Assessment
Purpose & Capability
Name/description match the actions in SKILL.md: reading package.json, consulting official Next.js upgrade docs, running codemods, updating dependencies, and testing are all expected for a Next.js upgrade helper.
Instruction Scope
Instructions stay within the upgrade task (reading package.json, next.config.js, applying codemods, updating deps, running build/dev). Notable: it instructs fetching docs from nextjs.org (expected) and running npx to execute codemods, which will read and modify project files — expected for the task but grants filesystem write capability to the codemod code.
Install Mechanism
There is no static install spec (instruction-only). However, the runtime instructions call npx @next/codemod@latest which downloads and executes code from the npm registry at runtime. This is a common pattern for codemods but carries the usual risk of executing third-party package code; pinning transforms/versions or reviewing the codemod before running reduces risk.
Credentials
The skill declares no required env vars, credentials, or config paths. The files it reads/writes (package.json, next.config.js, project files) are proportional to its purpose and are explicitly mentioned in the instructions.
Persistence & Privilege
The skill is not always-on and requests no elevated platform privileges. It does instruct commands that modify the project (npx codemods, npm install), which is appropriate for an upgrade tool but means it will change local repository state when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install next-upgrade
  3. After installation, invoke the skill by name or use /next-upgrade
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of next-upgrade skill. - Automates upgrading Next.js projects to the latest version following official migration guides. - Detects current Next.js and related dependency versions. - Fetches relevant migration documentation and codemods from nextjs.org. - Guides through codemod usage, dependency updates, and required manual changes. - Includes steps for updating TypeScript types and verifying the upgrade.
Metadata
Slug next-upgrade
Version 0.1.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Next Upgrade?

Upgrade Next.js to the latest version following official migration guides and codemods. It is an AI Agent Skill for Claude Code / OpenClaw, with 608 downloads so far.

How do I install Next Upgrade?

Run "/install next-upgrade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Next Upgrade free?

Yes, Next Upgrade is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Next Upgrade support?

Next Upgrade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Next Upgrade?

It is built and maintained by vi.dev (@tuanvidev); the current version is v0.1.0.

💬 Comments