·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

暫無