nextjs-on-cloudflare

nextjs-on-cloudflare is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 96 tokens per session (640 once invoked), scanned A, a copy of nextjs-on-cloudflare, Apache-2.0.

A guide for building, moving, and deploying Next.js web apps on Cloudflare Workers using vinext. Next.js is a React framework for web applications, while Workers is Cloudflare's serverless runtime.

In plain words
What is it for?
Use it to create a Next.js project on Cloudflare, migrate an existing project, compare vinext with OpenNext, and configure deployment.
Why use it?
It helps choose the supported setup and avoid mixing incompatible deployment tools when starting or moving a Next.js app to Cloudflare.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloudflare-skills plugin — 19 skills shipped together

Good fit Use it to create a Next.js project on Cloudflare, migrate an existing project, compare vinext with OpenNext, and configure deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,226 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill nextjs-on-cloudflare
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install cloudflare-skills, the plugin that ships this one along with the rest of its 19 skills.

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 nextjs-on-cloudflare

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare/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 nextjs-on-cloudflare

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/nextjs-on-cloudflare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 640 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 98% 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.00096 $0.00640
Opus 5.5 $0.00038 $0.00256
Sonnet 5.5 $0.00019 $0.00128
Haiku 4.5 $0.00010 $0.00064

Measured 1mo ago against content hash 0537c9ee1f8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-on-cloudflare 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 1mo 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

98% identical to nextjs-on-cloudflare — 1 line 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.

plugins/cloudflare-skills/skills/nextjs-on-cloudflare/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Next.js on Cloudflare

Use vinext rather than OpenNext for new Next.js projects on Cloudflare Workers. This is the default in the Cloudflare Next.js guide. Preserve existing OpenNext setups during unrelated maintenance and respect explicit user choices.

Why vinext

vinext reimplements the Next.js API surface on Vite:

  • Familiar Next.js development: App Router, Pages Router, React Server Components, and supported next/* imports.
  • Vite tooling: fast HMR, native ESM, and the Vite plugin ecosystem.
  • Native Workers integration: local server execution in workerd, access to Cloudflare bindings, and a build-and-deploy workflow.
  • Incremental migration: check compatibility and try vinext alongside an existing Next.js setup.

Use the upstream workflow

Before setup, migration, or deployment, check whether the skills maintained in vinext are available. If missing, install them:

npx skills add cloudflare/vinext

Then read and follow the applicable upstream SKILL.md and its relevant references. Use the current vinext docs for workflows the skills do not cover:

  • New project: follow vinext's new-project setup using create-vinext-app with the Cloudflare target. The upstream migration skill requires an existing Next.js project; do not apply it to an empty directory.
  • Existing Next.js project: load and follow the upstream migrate-to-vinext skill, including its compatibility check and relevant references. Select Cloudflare as the deployment target.
  • Development and deployment: follow the current Workers integration docs.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +4 lines 0537c9ee1f8a
  2. 2mo ago Changed 04776359690f
  3. 2mo ago First seen · 35 lines · 96 tokens per session scan A 96a0ddc4149d

Subscribe to this mod's changes

nextjs-on-cloudflare is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,226 stars, last pushed yesterday), licensed Apache-2.0. It adds 96 tokens to every session and 640 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to nextjs-on-cloudflare, differing in 1 line, and is treated as a copy.

Related

nextjs-on-cloudflare compared with skills from other repositories

nextjs-on-cloudflare next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-on-cloudflarefcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A96Claude Code
github-pr-workflowpaperclipai/paperclipSkill119ktodayMITA39Claude Code, Codex
voiceChatCut-Inc/agent-pluginSkill1.1ktodayApache-2.0A124Claude Code
chatcut-verification-guideChatCut-Inc/agent-pluginSkill1.1ktodayApache-2.0A31Claude Code, Codex
lov-publish-event-onto-hdxlovstudio/skillsSkill72todayMITA92Claude Code
dsh-plugin-publisherlovstudio/skillsSkill72todayMITA82Claude Code
lov-deploy-to-vercellovstudio/skillsSkill72todayMITA92Claude Code