Pinperepette

Claude Code hooks that enforce tool usage, prevent hallucinations and protect your codebase

16
0
100% credibility
Found Apr 24, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

Grounded enforces rules on AI coding assistants to prevent hallucinations, loops, unauthorized edits, and other errors by verifying actions against the real codebase.

How It Works

1
😩 Frustrated with AI mistakes

Your smart coding assistant imagines functions that aren't there, edits wrong files, or gets stuck repeating itself.

2
🔍 Discover grounded

You find grounded, a simple add-on that forces your assistant to check real code before acting, making it reliable.

3
⚙️ Add it with one click

Run a quick install command, and it sets up safeguards automatically without hassle.

4
🔄 Restart your assistant

Refresh your coding tool, and the new rules kick in right away.

5
💬 Give it a task

Tell it to fix a bug or add a feature, and it now searches your real files first.

6
See perfect behavior

It reads files, verifies everything exists, avoids loops, and only edits what it knows – no more guesses!

🎉 Reliable coding magic

Your assistant becomes a trustworthy partner, delivering accurate changes every time you work together.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is grounded?

Grounded is a JavaScript toolset of hooks for Claude Code that clamps down on AI hallucinations, infinite loops, and unsafe edits by enforcing tool usage like read-before-edit and real codebase verification with ripgrep. Install it free via npm as a claude code cli (`npm install -g @pinperepette/grounded && grounded install`), and it auto-configures Claude Code settings for modes like safe or strict. Check status with `grounded score` or trace decisions via `grounded trace`—your codebase stays protected without changing workflows.

Why is it gaining traction?

Unlike basic claude github integration or copilot plugins, grounded's scoring engine dynamically tightens enforcement as Claude slips (e.g., blocking stale edits or not-found identifiers), plus repo policies in `.grounded.json` for teams. Devs love the pre-flight plans that force Grep before action and CLI insights into blocks/loops, turning flaky sessions into reliable ones—even for cheaper models. Solid claude code docs and one-line claude code install hook users tired of babysitting AI.

Who should use this?

Claude Code power users debugging or refactoring large JS/TS/Python repos, where hallucinations waste hours on ghost functions. Frontend/backend devs on GitHub projects needing claude github plugin-like safety without connector issues, or teams enforcing no-edit on migrations via policies. Ideal if you're evaluating claude code pro pricing but want grounded skills now.

Verdict

Try it if Claude Code frustrates you—excellent README and CLI make setup trivial despite 16 stars and 1.0% credibility score signaling early maturity. Unproven at scale, but MIT license and claude code free vibe mean low risk for solo testing.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.