Nextjs Afk SDK — AI skill for Claude Code
AFK skill: integrate the agent-afk SDK into Next.js projects with programmatic API routes for AI agent invocation.
How to install Nextjs Afk SDK
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open griffinwork40/nextjs-afk-sdk and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Nextjs Afk SDK does
AFK skill: integrate the agent-afk SDK into Next.js projects with programmatic API routes for AI agent invocation.
Alternatives in AI
- Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★
- Gemini Skills — Skills for Gemini API, SDK and model interactions 2.3k ★
- Jadx AI MCP — Plugin for JADX to integrate MCP server 1.8k ★
README
nextjs-afk-sdk
An [agent-afk](https://github.com/griffinwork40/agent-afk) skill that transforms Next.js projects into **agent-native** applications -- where agent-afk is the runtime that orchestrates operations through discoverable MCP tools, skills, and plugins.
What It Does
Adds to any Next.js 14+ App Router project:
.afk/project directory -- skills, plugins, plans (the agent's brain).mcp.json+servers/-- TypeScript MCP servers the agent discovers and composesPOST /api/agent-- Batch agent invocation with auth and concurrency controlPOST /api/agent/stream-- SSE streaming agent endpoint viaquery()generatorGET /api/health-- Health check for SDK, MCP, and project config- Chat UI -- Floating panel wired to the streaming endpoint
- Project-aware config --
buildQueryOptions()loads AFK.md, .mcp.json, plugins, sets cwd - Deployment config -- Dockerfile + Railway setup, production-ready
Inspired by AgentGRAI-web's `.claude/` architecture, generalized for agent-afk's `.afk/` conventions.
Quick Start
Install as an AFK Skill
git clone https://github.com/griffinwork40/nextjs-afk-sdk.git ~/.afk/skills/nextjs-afk-sdk
The skill auto-loads in all future AFK sessions. Then in any session, tell the agent:
"Make this Next.js project agent-native"
What Gets Created
your-nextjs-project/
├── .afk/
│ ├── skills/ # Project-local skill definitions
│ ├── plugins/ # Symlinks to ~/.afk/plugins/
│ └── plans/ # Agent plans directory
├── servers/
│ └── example-server.ts # TypeScript MCP server template
├── src/
│ ├── app/api/
│ │ ├── agent/
│ │ │ ├── route.ts # Batch agent endpoint
│ │ │ └── stream/route.ts # SSE streaming endpoint
│ │ └── health/route.ts # Health check
│ ├── components/chat/
│ │ └── chat-panel.tsx # Floating chat UI
│ └── lib/
│
Related Skills
Slash Nextjs
Token-optimized AI chat. Next.js + Vercel AI SDK + slash-tokens/auto. One import. Every call optimized.
Nextjs With AI
A comprehensive CLAUDE.md template for modern Next.js 16 App Router projects. Drop it in and Claude Code autom
Pseo AI Kit
Programmatic SEO toolkit for AI apps — Next.js 15 + Vercel + LLM content generator + sitemap / JSON-LD / inter
Meta Ads Skill
Teach your AI coding agent to run Meta ads: API setup, programmatic campaigns, browser control, and conversion
MCP Notebooklm Go
Unofficial Go API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—i
My Jupyter Lab
Python API and agentic skill for Google Gemini Notebook. Full programmatic access to NotebookLM's features—inc
Related Agents
Nextjs Developer
Next.js 14+ full-stack specialist. Use for App Router, Server Components, Server Actions, and API Routes.
Research Utilization Assessor
Assess whether an existing skill, agent, or workflow in this repo could directly call, depend on, or integrate
Keel Wayfind Researcher
【探路/研究】解一張研究票:答案在外部世界(別的系統、API、既有程式碼、公開資料),不需要使用者的偏好判斷。findings 回傳給控制器寫進票檔,可背景平行跑。Pre-stage of the keel pipeli