← ClaudeAtlas

create-agent-with-sanity-contextlisted

Build AI agents with structured access to Sanity content via Sanity Context. Use when setting up a Sanity-powered chatbot, connecting an AI assistant to Sanity content, or adding client-side tools to an agent. Covers Studio setup, agent implementation, and advanced patterns. Always use this skill when users mention building a chatbot with Sanity, creating an AI assistant for their content, setting up the Sanity Context MCP server, integrating Sanity with Claude/GPT/any LLM, making content searchable by AI, implementing semantic search over Sanity data, or connecting their CMS to an AI agent.
Aymenjdily/biblion-testing-agentic-ai-skills · ★ 2 · AI & Automation · score 52
Install: claude install-skill Aymenjdily/biblion-testing-agentic-ai-skills
# Build an Agent with Sanity Context Give AI agents intelligent access to your Sanity content. Unlike embedding-only approaches, Sanity Context is schema-aware—agents can reason over your content structure, query with real field values, follow references, and combine structural filters with semantic search. **What this enables:** - Agents understand the relationships between your content types - Queries use actual schema fields, not just text similarity - Results respect your content model (categories, tags, references) - Semantic search is available when needed, layered on structure Sanity Context gives agents your schema and teaches them GROQ, but it can't know your domain. You close that gap through the **Instructions field** (dataset-specific query guidance) and optionally the **system prompt** (agent behavior and tone). **Three actors in this workflow:** - **You** — the agent executing this skill, helping the user set things up - **The user** — the human you're working with, who knows their domain and data - **The production agent** — the agent being built, which will serve end users ## What You'll Need Before starting, gather these credentials: | Credential | Where to get it | | ------------------------- | -----------------