add-sanity-chatbot
Installation
SKILL.md
Add an AI Chatbot That Operates on Your Content
Add an AI chatbot to your existing Next.js + Sanity project. The chatbot connects to the Content Lake via Context MCP, giving the LLM structured, schema-aware access to your content. It can answer questions, run GROQ queries, and reason over your data, not just match keywords.
What this gives you:
- A chat widget in your Next.js app connected to an LLM
- Schema-aware content access: the agent understands your content model, not just text similarity
- Semantic search layered on top of structural GROQ queries against the Content Lake
- Client-side tools for page context and screenshots
Prerequisites
Before starting, confirm:
- Existing Next.js app (App Router) with a working frontend
- Existing Studio (v5.1.0+), either embedded or separate
- Sanity project credentials available
Related skills