Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

studio-queries

Skill by supabase

Guides React Query conventions for data fetching in Supabase Studio. It is for developers writing or reviewing query hooks, mutation hooks and query keys in apps/studio/data/.

  • Score 89
  • 115k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install studio-queries

Built from the published package, never by AI.

git clone --depth 1 https://github.com/supabase/supabase /tmp/supabase && mkdir -p ~/.claude/skills && cp -r /tmp/supabase/.agents/skills/studio-queries ~/.claude/skills/studio-queries

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install studio-queries in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

studio-queries is an agent skill that gives an AI assistant the React Query patterns used in Supabase Studio's apps/studio/data/ folder. It covers the queryOptions pattern, keys.ts structure with array keys, a mutation hook template, grant-gated queries built with grantedQueryOptions, and imperative fetching with queryClient.fetchQuery.

The skill lists reference files in the repository to follow and sets rules for folder boundaries, key hygiene, polling and retries, caller overrides, and single-layer error toasts. It is written for developers working on the Supabase Studio codebase, especially when adding the first fetch or mutation for a new API endpoint or resource.

Written from the project's SKILL.md and checked against it.

What it can do

  • Query options patternDefines queryOptions with private fetch functions, exported types and enabled gates for platform-only queries.
  • Query keys structureSets up a keys.ts file per domain using array keys with as const.
  • Mutation hook templateProvides a mutation hook shape that invalidates related query keys in onSuccess and handles errors with toasts.
  • Grant-gated queriesDescribes using grantedQueryOptions so grant checks cannot be overridden by callers.
  • Imperative fetchingShows how to fetch with queryClient.fetchQuery outside React components.

What you need

  • Access to the Supabase Studio repository with apps/studio/data/

Try asking

  • Write a query options file for a new endpoint in apps/studio/data/
  • Review my keys.ts file for query key hygiene issues
  • Create a mutation hook that invalidates the list and detail keys

Good to know

  • Describes conventions for the Supabase Studio codebase only
  • Relies on repository files such as query-client.ts and grants that are referenced but not included in the skill

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/studio-queries/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB

Alternatives to studio-queries

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

studio-queries: common questions

What does the studio-queries skill cover?

It covers queryOptions, keys.ts structure, the mutation hook template, grant-gated queries and imperative fetching for React Query in Supabase Studio.

When should I use this skill?

The source says to use it when writing or reviewing query hooks, mutation hooks or query keys in apps/studio/data/, including the first fetch or mutation for a new API endpoint.

Does it cover polling and retries?

Yes. It advises a conservative refetch interval such as 5_000ms and retrying only 429 and 5xx errors when writing custom overrides.

How do I install studio-queries?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is studio-queries free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is studio-queries safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to studio-queries?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

studio-queries Install

Add to stack

Loading.