Generate AGENTS.md and CLAUDE.md for AI coding agents (Cursor, Copilot, Claude Code, etc.).
Points your AI assistant to node_modules/@nuxt/docs/ for accurate Nuxt API references.
# Run directly with bunx
bunx nuxt-agent-md
# Or install globally
bun add -g nuxt-agent-md
nuxt-agent-md
package.json@nuxt/docs if not already installedAGENTS.md pointing to node_modules/@nuxt/docs/CLAUDE.md that references @AGENTS.mdAGENTS.md # Instructions pointing to node_modules/@nuxt/docs/
CLAUDE.md # Contains @AGENTS.md for Claude Code compatibility
undefinedAGENTS.md:undefined
<!-- BEGIN:nuxt-agent-rules -->
# This is NOT the Nuxt.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/@nuxt/docs/` before writing any code.
This project uses **Nuxt 4** (v4.0.0).
<!-- END:nuxt-agent-rules -->
undefinedCLAUDE.md:undefined
@AGENTS.md
-o, --output <path> Output AGENTS.md path (default: AGENTS.md)
-h, --help Show this help message
AI coding agents work better when they have access to accurate documentation rather than relying on training data that may be outdated. By pointing to node_modules/@nuxt/docs/, the agent can read the exact documentation for your installed Nuxt version.
Inspired by Vercel’s Next.js approach.
MIT
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.