Grounded — Development skill for Claude Code
Claude Code hooks that enforce tool usage, prevent hallucinations and protect your codebase.
How to install Grounded
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Pinperepette/grounded and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Grounded does
Claude Code hooks that enforce tool usage, prevent hallucinations and protect your codebase.
Alternatives in Development
- Iterate Implementation Plan — You are tasked with updating existing implementation plans based on user feedback 10k ★
- Notebooklm Skill — Use this skill to enable Claude Code to communicate directly with your Google NotebookLM notebooks 5.9k ★
- Cac — Isolate, protect, and manage your Claude Code 378 ★
README
grounded
**Make Claude use your codebase, not its imagination.**
Claude Code is getting worse.
Recent models:
- hallucinate functions that don't exist
- edit files they haven't read
- get stuck in loops
- ignore instructions after a few turns
Everyone using it has seen this.
`grounded` fixes it.
TL;DR
Claude doesn't fail because it's dumb.
It fails because nothing enforces correct behavior.
`grounded` enforces:
- read before edit
- real file verification (no hallucinations)
- deterministic tool usage
- loop prevention
Result:
→ Claude becomes reliable → even weaker models become usable
Before vs After
**Without grounded**
"parseToken() exists in src/auth.ts" ❌ it doesn't
edits wrong file ❌ based on hallucinated context
infinite grep loops ❌ stuck forever
**With grounded**
NOT FOUND: parseToken → forces correct search
must Read before Edit → uses real code
loops detected and stopped → suggests alternative

Why this works
The problem isn't the model.
It's that we trust it too much.
LLMs are probabilistic. Your codebase is not.
`grounded` assumes the model is wrong — and verifies everything.
Works with weaker models
This doesn't make Claude smarter.
It makes it behave correctly.
When behavior is enforced:
- reasoning matters less
- correctness matters more
→ even smaller / local models become usable
Install
npm install -g @pinperepette/grounded
grounded install
Restart Claude Code. You're done.
grounded status # verify installation
grounded uninstall # remove all hooks
What it does
- Pre-flight planning (forces research before action)
- Truth layer (blocks hallucinated identifiers)
- Edit guard (read-before-edit enforcement)
- Loop detection with recovery suggestions
- Anti-bypass (prevents ignoring NOT FOUND results)
- Policy enforcement (repo-level rules)
Modes
- `sa
Related Skills
Lifeos Guardrails
Six battle-tested Claude Code guardrail hooks: block destructive commands without confirmation, protect core c
Claude React Kit
Enforce clean architecture and prevent technical debt in React projects with a drop-in Claude Code configurati
Naming Crusade
Unleash parallel Naming Purist agents to enforce file naming conventions, variable semantics, and code clarity
Pantheon Focus
Pin a session goal to prevent scope creep. Usage: /pantheon-focus
Hatch3r Ask
Answer a free-form question about the user's codebase, read-only. Triages question breadth, fans out one hatch
Lightningchart 72
Answer a LightningChart Ultimate 7.2 (Arction) API / property / usage question, grounded only in local 7.2 sou
Related Agents
RAG Coder
Context-aware coder that grounds all code generation in actual codebase using RAG to eliminate hallucinations
Aegis
You are a specialized security agent. Your job is to identify vulnerabilities, analyze security risks, and rec
Naming Purist
The linguistic guardian of code clarity. Use this agent to enforce naming conventions, file naming patterns, a