·create-agent-with-sanity-context
</>

create-agent-with-sanity-context

sanity-io/agent-context

构建 AI 代理,通过 Context MCP 对 Sanity 内容进行结构化访问。涵盖 Studio 设置、代理实现以及客户端工具和自定义渲染等高级模式。

30安装·1热度·@sanity-io

安装

$npx skills add https://github.com/sanity-io/agent-context --skill create-agent-with-sanity-context

SKILL.md

Give AI agents intelligent access to your Sanity content. Unlike embedding-only approaches, Context MCP is schema-aware—agents can reason over your content structure, query with real field values, follow references, and combine structural filters with semantic search.

Note: Context MCP understands your schema structure but not your domain. You'll provide domain context (what your content is for, how to use it) through the agent's system prompt.

| Sanity Project ID | Your sanity.config.ts or sanity.io/manage | | Dataset name | Usually production — check your sanity.config.ts | | Sanity API read token | Create at sanity.io/manage → Project → API → Tokens. See HTTP Auth docs | | LLM API key | From your LLM provider (Anthropic, OpenAI, etc.) — any provider works |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/sanity-io/agent-context --skill create-agent-with-sanity-context
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 create-agent-with-sanity-context?

构建 AI 代理,通过 Context MCP 对 Sanity 内容进行结构化访问。涵盖 Studio 设置、代理实现以及客户端工具和自定义渲染等高级模式。 来源:sanity-io/agent-context。

如何安装 create-agent-with-sanity-context?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sanity-io/agent-context --skill create-agent-with-sanity-context 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/sanity-io/agent-context

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-05

相关 Skills

暂无