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.
npx skills add build-with-dhiraj/ai-workflow-framework-portability-kit --skill cra-to-next-migrationgit clone --depth 1 https://github.com/build-with-dhiraj/ai-workflow-framework-portability-kitWrote 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.
[](https://agentmods.dev/skills/build-with-dhiraj/ai-workflow-framework-portability-kit/cra-to-next-migration)<a href="https://agentmods.dev/skills/build-with-dhiraj/ai-workflow-framework-portability-kit/cra-to-next-migration"><img src="https://agentmods.dev/badge/skills/build-with-dhiraj/ai-workflow-framework-portability-kit/cra-to-next-migration/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.
<a href="https://agentmods.dev/skills/build-with-dhiraj/ai-workflow-framework-portability-kit/cra-to-next-migration"><img src="https://agentmods.dev/badge/skills/build-with-dhiraj/ai-workflow-framework-portability-kit/cra-to-next-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.04028 |
| Opus 5.5 | $0.00012 | $0.01611 |
| Sonnet 5.5 | $0.00006 | $0.00806 |
| Haiku 4.5 | $0.00003 | $0.00403 |
Grade A, and why
cra-to-next-migration 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 25d 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.
How it starts
The opening of the file, as written. The whole thing — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CRA to Next.js Migration Guide
Comprehensive migration guide for converting Create React App projects to Next.js, covering routing, data fetching, components, styling, and deployment. Contains 148 rules across 17 categories, prioritized by migration impact. After a successful migration the application should work the same as it did before the migration.
When to Apply
Reference these guidelines when:
- Migrating an existing CRA application to Next.js
- Converting React Router routes to file-based routing
- Adopting Server Components in a client-heavy app
- Moving from client-side rendering to SSR/SSG
- Updating environment variables for Next.js
- Optimizing images and fonts with Next.js built-ins
Version Policy
Use Next.js 16.x or later. Do NOT use Next.js 14.x or 15.x.
Before starting migration, check the current latest version:
npm info next version
Use the latest version in your package.json with a caret for minor/patch updates. The minimum supported version for this migration guide is ^16.0.0.
Rule Categories by Priority
| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Project Setup | CRITICAL | setup- |
6 |
| 2 | Dependencies | CRITICAL | deps- |
1 |
| 3 | Routing | CRITICAL | routing- |
17 |
| 4 | Data Fetching | CRITICAL | data- |
11 |
| 5 | Components | HIGH | components- |
9 |
| 6 | Environment Variables | HIGH | env- |
6 |
| 7 | Styling | HIGH | styling- |
12 |
| 8 | Public Assets | MEDIUM | assets- |
5 |
| 9 | Images | MEDIUM | images- |
8 |
| 10 | Fonts | MEDIUM | fonts- |
6 |
| 11 | SEO & Metadata | MEDIUM | seo- |
9 |
| 12 | API Routes | MEDIUM | api- |
9 |
| 13 | State Management | MEDIUM | state- |
8 |
| 14 | Integrations | MEDIUM | integrations- |
1 |
| 15 | Testing | LOW | testing- |
9 |
| 16 | Build & Deploy | LOW | build- |
7 |
| 17 | Common Gotchas | HIGH | gotchas- |
24 |
What ships with it
60 files 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.
- rules/api-cors.md 2.1 KB
- rules/api-headers-cookies.md 2.0 KB
- rules/api-http-methods.md 1.8 KB
- rules/api-middleware.md 1.9 KB
- rules/api-query-params.md 2.0 KB
- rules/api-rate-limiting.md 2.3 KB
- rules/api-request-body.md 1.7 KB
- rules/api-response-types.md 1.6 KB
- rules/api-route-handlers.md 1.7 KB
- rules/assets-absolute-urls.md 1.3 KB
- rules/assets-favicon.md 1.6 KB
- rules/assets-manifest.md 3.3 KB
- rules/assets-public-folder.md 1.3 KB
- rules/assets-static-imports.md 4.4 KB
- rules/build-bundle-analysis.md 1.6 KB
- rules/build-docker.md 1.7 KB
- rules/build-output.md 1.7 KB
- rules/build-scripts.md 3.2 KB
- rules/build-standalone.md 1.5 KB
- rules/build-static-export.md 1.6 KB
- rules/build-vercel.md 1.5 KB
- rules/components-boundary-placement.md 2.2 KB
- rules/components-children-pattern.md 2.0 KB
- rules/components-composition.md 2.1 KB
- rules/components-context-providers.md 2.2 KB
- rules/components-interleaving.md 2.1 KB
- rules/components-props-serialization.md 2.0 KB
- rules/components-server-default.md 1.7 KB
- rules/components-third-party.md 4.5 KB
- rules/components-use-client.md 1.7 KB
- rules/data-caching.md 1.8 KB
- rules/data-client-fetch.md 2.0 KB
- rules/data-client-library-init.md 4.3 KB
- rules/data-parallel-fetching.md 2.0 KB
- rules/data-revalidation.md 2.4 KB
- rules/data-sequential-fetching.md 2.0 KB
- rules/data-server-actions.md 2.2 KB
- rules/data-streaming.md 2.1 KB
- rules/data-useeffect-to-rsc.md 1.9 KB
- rules/data-useeffect-to-ssg.md 2.0 KB
- rules/data-useeffect-to-ssr.md 1.9 KB
- rules/deps-react19-compatibility.md 1.6 KB
- rules/env-build-time.md 2.1 KB
- rules/env-local-files.md 1.5 KB
- rules/env-prefix-change.md 2.6 KB
- rules/env-runtime-config.md 1.6 KB
- rules/env-server-only.md 1.6 KB
- rules/env-validation.md 2.0 KB
- rules/fonts-font-display.md 1.6 KB
- rules/fonts-google-fonts.md 1.7 KB
- rules/fonts-local-fonts.md 1.7 KB
- rules/fonts-next-font.md 2.1 KB
- rules/fonts-preload.md 1.6 KB
- rules/fonts-variable-fonts.md 1.5 KB
- rules/gotchas-api-routes-edge.md 1.8 KB
- rules/gotchas-auth-race-conditions.md 4.0 KB
- rules/gotchas-auth-state-gating.md 3.1 KB
- rules/gotchas-configuration-idempotency.md 3.0 KB
- rules/gotchas-cookies.md 2.2 KB
- rules/gotchas-dynamic-imports.md 1.9 KB
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.
- 25d ago First seen · 378 lines · 29 tokens per session scan A 4f2b5d0e0098
cra-to-next-migration is a skill published in the GitHub repository build-with-dhiraj/ai-workflow-framework-portability-kit (5 stars, last pushed 12d ago), licensed MIT. It adds 29 tokens to every session and 4,028 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.
Other skills, from other repositories
frontend
Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.
huggingface-vision-trainer
Train object-detection, image-classification, or SAM segmentation models on Hugging Face Jobs. Use for vision fine-tuning and evaluation; use huggingface-llm-trainer for language models.
huggingface-paper-publisher
Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality and accessible markup. Use this skill when the user asks to build or beautify web components, pages, applications, landing pages, dashboards, artifacts, or React/HTML/CSS UI. Generates creative, polished code that avoids generic AI…
algolia-search
Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning.
nextjs-expert
Comprehensive Next.js expertise across App Router, server/client boundaries, data and caching patterns, and production operations. Use when building, debugging, or optimizing a Next.js app, deciding server vs client components, or resolving App Router gotchas.