sanity-radar-investigate
Skill by sanity-io
Investigates suspected Studio performance regressions in the sanity-io/sanity monorepo. It checks host calibration, narrows commit ranges, runs A/B dispatches and bisects to name a culprit or call the signal noise.
Install sanity-radar-investigate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sanity-io/sanity /tmp/sanity && mkdir -p ~/.claude/skills && cp -r /tmp/sanity/.agents/skills/sanity-radar-investigate ~/.claude/skills/sanity-radar-investigateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install sanity-radar-investigate in Claude Code
git clone --depth 1 https://github.com/sanity-io/sanity /tmp/sanity && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sanity/.agents/skills/sanity-radar-investigate ~/.gemini/antigravity-cli/skills/sanity-radar-investigateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install sanity-radar-investigate in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through investigating a suspected performance regression in Sanity Studio. It starts from a Studio Radar investigation prompt, a drift flag, a red verdict in a bench PR comment, or a question about whether a commit, PR or release regressed a studio metric. The output is a verdict with evidence: a culprit commit or PR, a host or harness artifact, or noise.
The procedure checks runner calibration and CPU model, narrows the commit range, and confirms candidates with an interleaved A/B dispatch of the bench workflow in sanity-io/sanity. It can bisect a long range with repeated dispatches, and it can reproduce runs locally with pnpm. It is written for engineers who maintain or review Studio performance in that monorepo.
Written from the project's SKILL.md and checked against it.
What it can do
- Pin the signalIdentifies the metric series, the suspicious run and the previous run, and checks other runs of the same sha.
- Rule out host and harnessChecks calibration, CPU model and browser version for steps that match the metric change.
- Narrow the rangeUses a GitHub compare or a gitCommit window query to shortlist commits that could move the metric.
- A/B dispatchDispatches the bench.yml workflow with a reference sha and an experiment sha to get a bootstrap-gated verdict.
- BisectHalves a long commit range with further A/B dispatches to find the commit that changed the metric.
- Local reproductionRuns pnpm bench scenarios locally for profiling, with numbers that are host-relative.
- ReportProduces a culprit or host or noise verdict with the A/B metric table, confidence and what was not checked.
What you need
- GitHub CLI (gh) with access to the sanity-io/sanity repository
- Access to Studio Radar or bench run data
- pnpm for local bench runs
Try asking
- Investigate the Radar drift flag on the boot-cold scenario for this release
- Run an A/B dispatch between these two shas to check the INP regression
- Bisect the commit range between these two runs and name the culprit
Good to know
- The A/B verdict takes about 30 minutes.
- Run-to-run noise on main is about 12% at the median, above the 5% gate threshold.
- Point-to-point deltas are treated as hypotheses until an A/B run confirms them.
- Local numbers are host-relative and are not used for verdicts.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/sanity-radar-investigate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to sanity-radar-investigate
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sanity-radar-investigate: common questions
When does this skill apply?
It applies when handed a Studio Radar investigation prompt, a drift flag, a red verdict in a bench PR comment, or a question about whether a commit, PR or release regressed a studio metric.
Why not conclude from two absolute data points?
The source says run-to-run noise on main is about 12% at the median, above the gate's 5% threshold, so only an interleaved A/B run is treated as evidence.
What does an inconclusive result mean?
The source says an inconclusive result means the confidence interval stayed too wide, so the next step is to re-dispatch or check which side had failures.
How do I install sanity-radar-investigate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sanity-radar-investigate free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sanity-radar-investigate safe to use?
It scores 82 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 sanity-radar-investigate?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
