# Next.js 16 Cloudflare Static SEO Kit

> Deploy a Next.js 16+ App Router site as a 100% static export to Cloudflare Workers Static Assets, hitting 100/100 PageSpeed with clean technical SEO.

Next.js 16 Cloudflare Static SEO Kit is a paid AI agent skill on Agensi by Enes Demirci, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Enes Demirci](https://www.agensi.io/creators/enes-demirci)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-07-18
- Security: scan passed (2026-07-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/next-js-16-cloudflare-static-seo-kit
- Tags: nextjs, cloudflare, seo, static-export, performance, pagespeed

## About this skill

Most "deploy Next.js to Cloudflare" guides assume you're running a server.
This skill is for the other case: a Next.js 16+ App Router site that ships
as a 100% static export (output: 'export') to Cloudflare Workers Static
Assets, with no Node.js server at runtime.

That constraint breaks things quietly. proxy.ts (the renamed middleware.ts
in Next.js 16), Server Actions, ISR, cookies, and next/image's default
loader all either fail the build or silently do nothing under static
export — and most teams find this out in production, not in development.
This skill front-loads that knowledge: a proven next.config.js, a
wrangler.toml tuned for Workers Static Assets (not Cloudflare Pages, which
is the legacy path here as of 2026), a self-hosted image pipeline (build-time
WebP generation + a custom next/image loader, no paid transform service), a
self-hosted/subsetted font setup, and a technical SEO checklist (Metadata
API, sitemap.ts/robots.ts, JSON-LD).

It ends with a verification procedure, not a promise — the steps to
actually confirm a 100/100 PageSpeed score on the live deployment, and what
to check first if it isn't 100.

Use this if you're setting up a new static Next.js + Cloudflare project, or
debugging one that's failing to build or scoring below 100 on PageSpeed.

## Requires

- Wrangler
- Node.js
- lighthouse

## Known limitations

Does not support ISR, Server Actions, proxy.ts (formerly middleware), cookies, or dynamic routes without generateStaticParams — all incompatible with output: 'export'. Requires Next.js 16+.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Next.js 16 Cloudflare Static SEO Kit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does this work with Cloudflare Pages?

It targets Workers Static Assets, which Cloudflare recommends for new Next.js projects as of 2026. Pages may still work but isn't what this skill configures.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
