Next Agents Md — AI skill for Claude Code
Inject version-matched Next.js docs into your AI agent's context (CLAUDE.md, AGENTS.md, etc.) for retrieval-led coding.
How to install Next Agents Md
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gaojude/next-agents-md and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Next Agents Md does
Inject version-matched Next.js docs into your AI agent's context (CLAUDE.md, AGENTS.md, etc.) for retrieval-led coding.
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- PRD: Agent Builder — Create Your Own Sub-Agent — Your ecosystem, your rules 1.9k ★
README
next-agents-md
Give AI coding agents (Claude, Cursor, etc.) access to Next.js documentation.
Why?
AI agents work better when they can reference up-to-date documentation instead of relying on training data. This tool downloads the official Next.js docs and creates a compact index that agents can use to look up the right documentation files.
Usage
Run in your Next.js project:
npx @judegao/next-agents-md
This will:
- Detect your Next.js version
- Download matching documentation to
.next-docs/ - Inject a docs index into your
CLAUDE.md(orAGENTS.md)
Non-interactive mode
# Auto-detect version, output to CLAUDE.md
npx @judegao/next-agents-md --md CLAUDE.md
# Specify version explicitly
npx @judegao/next-agents-md --version 15.1.3 --md CLAUDE.md
Options
| Flag | Description |
|---|---|
--version |
Next.js version (auto-detected if not provided) |
--md |
Target markdown file (default: CLAUDE.md) |
How it works
The tool injects a compressed index between `` and `` markers. This index tells the AI agent where to find documentation files in `.next-docs/`.
When working on Next.js tasks, the agent will read the relevant docs from `.next-docs/` rather than relying on potentially outdated training data.
License
MIT
Related Skills
SAP Skills - Project Context
Repository: https://github.com/secondsky/sap-skills Purpose: Production-ready skills for SAP development and A
Code Context Control
Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path
CodeContext OS
Task-aware code intelligence for Claude Code and AI coding agents — combining AST structure, hybrid BM25 + FAI
AI Coding Runbook
Multi-vendor AI coding knowledge base. Auto-synced docs for Claude Code, Cursor, Codex, OpenAI, Gemini. Long-t
Repocontext
Next-gen AST codebase map, token compression, and context packaging engine for AI coding agents & IDEs
Agent Workflow Kit
Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One
Related Agents
Issue Subagents PM
PM agent for issue-subagents skill. Feat-class only (PM-led roster). One-shot — reads the issue context, write
Idea Refiner
Improve an existing idea using reviewer feedback and write the next idea version.
Fetch Docs Haiku45
Fetch and save documentation from URLs using Haiku 4.5 model. Use for benchmarking documentation retrieval tas