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

sanity-check

Skill by ElliotJLT

Validates assumptions before an AI assistant builds on them. It targets claims about how code works, what exists, or why something happens, to prevent wrong-guess solutions.

  • Score 53
  • 62 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sanity-check

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ElliotJLT/Claude-Skill-Potions /tmp/Claude-Skill-Potions && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-Skill-Potions/skills/sanity-check ~/.claude/skills/sanity-check

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

Step-by-step: install sanity-check in Claude Code

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

About

Sanity Check is an agent skill that makes an AI assistant list and verify its assumptions before building a solution. It applies to claims about how code works, what exists, or why something happens. The source says it prevents assumption cascades, where one wrong guess leads to a completely wrong solution.

The skill asks the assistant to write down its assumptions, then check each one by reading code, searching with grep or find, checking logs, or reproducing issues. If a key assumption proves wrong, the assistant should stop and reassess rather than patch. The allowed tools are bash grep, find and test, plus file read. It suits developers who want fewer confident but incorrect fixes during debugging and code explanation.

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

What it can do

  • Assumption listingAsks the assistant to list its assumptions explicitly before proposing a solution.
  • Existence checksVerifies that files, functions or endpoints exist using find, grep or ls.
  • Behavior checksReads the actual code before explaining what it does.
  • Causation checksReproduces issues, checks logs and traces execution before diagnosing a bug.
  • State checksChecks schemas and actual values for database columns and environment variables.
  • Reassessment stopStops and reassesses when a key assumption proves wrong instead of patching.

What you need

  • Bash access for grep, find and test
  • File read access

Try asking

  • Before fixing this bug, list your assumptions and verify each one
  • Check whether the auth middleware actually exists before changing it
  • Explain how this function works by reading the code first

Good to know

  • Allowed tools are limited to bash grep, find and test, and file read

Security check

A

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

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

Alternatives to sanity-check

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

sanity-check: common questions

What does the sanity-check skill do?

It makes the assistant list and verify its assumptions before building on them. The source says this prevents assumption cascades where one wrong guess leads to a wrong solution.

When does sanity-check activate?

The source says it activates when making claims about how code works, what exists, or why something happens. Trigger words include probably, likely and I assume.

Which tools does sanity-check use?

The allowed-tools field lists bash with grep, find and test, and file read. The source does not describe other tools.

How do I install sanity-check?

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

Is sanity-check free?

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

Is sanity-check safe to use?

It scores 53 of 100. Grades: maintenance D, licence A, quality B. 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-check?

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

sanity-check Install

Add to stack

Loading.