View original page

Sanity Studio Listeners

Software Development

Keep Sanity Studio customizations (custom tools, inputs, document views, structure and plugins) from opening a real-time listener per document, which fills the browser's shared connection to the Sanity API and makes Studio hang when editors have several tabs open. Use when writing or reviewing Studio code that shows live data, validation or permissions for many documents (lists, boards, tables, review queues, dashboards); when code calls useValidationStatus, useDocumentPairPermissions, documentStore.listenQuery, listenQuery, client.listen or useListeningQuery from sanity-plugin-utils; or when editors report Studio stuck on its loading spinner or "Trying to connect…", "Could not establish EventSource connection", or that closing other Studio tabs fixes it.

Publisher / source

Sanity Agent Skills

Upstream record

sanity-io/agent-toolkit

Version

Version 1

Published

2026-11-24

Publication review

Approved for publication

Content fingerprint

7bc68091bc06b7604fa896a7e08dc10d03093d98632fe28b0f13aff0aa5f2687

Review before you use it

Publication approval is a recorded review state, not a guarantee of safe execution. Check the upstream license, required tools and permissions, and test in your intended client.

Sign in to inspect the full instructions and download the SKILL.md file. This public page contains metadata only.

Open skill in your workspace


Source: https://prompeteer.ai/skills-hub/6dda9517-0662-472e-9b76-c3172adee859