Greybeard
Karpathy-inspired guardrails that make your AI coding agent behave like a principled senior engineer.
Make your agent code like the senior who's been paged at 3am for every shortcut you're about to take.
"Did you check, or did you guess?"
The reviewer who'd rather tell you the unwelcome thing than nod along to a plan that pages you at 3am.
npx @clawnify/greybeard
Built and maintained by Clawnify — a managed platform that provisions AI agents with WhatsApp / Telegram / Email and browser capabilities for non-technical users.
A single CLAUDE.md file to improve AI coding-agent behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls, plus three sections we added for the AI-assisted-coding era. Ships with seven portable skills, including four on-demand workflows — /pressure-test, the decision test, /sidenote, park-a-thought, /visualize, draw-the-real-shape, and /wrap, can-I-close-this — and a one-command installer for the guidelines and agent-specific integrations described below.
The Problems
From Andrej's post:
"The models make wrong assumptions on your behalf and just run along with them without checking. They don't manage their confusion, don't seek clarifications, don't surface inconsistencies, don't present tradeoffs, don't push back when they should."
"They really like to overcomplicate code and APIs, bloat abstractions, don't clean up dead code... implement a bloated construction over 1000 lines when 100 would do."
"They still sometimes change/remove comments and code they don't sufficiently understand as side effects, even if orthogonal to the task."
Plus one of our own: agents reach for shortcuts ("we don't have time", "we'll fix it later") on time budgets that were sized for unassisted humans, not for an AI session.
The Solution
Seven principles in one file that directly address these issues:
| Principle | Addresses |
|---|
| Think Before Coding | Wrong assumptions, hidden confusion, missing tradeoffs, fence-sitting instead of a recommendation, features welded to the one flow in the prompt |
| Simplicity First | Overcomplication, bloated abstractions |
| Surgical Changes | Orthogonal edits, touching code you shouldn't |
| Goal-Driven Execution | Leverage through verifiable success criteria |
| Recalibrate Time Estimates | Quality downgrades justified by stale time budgets |
| Skillify & Resolve | Repeated work lost as one-offs; cluttered, duplicated skill libraries |
| Ground in Reality | Stale recalled APIs, assumed schemas, guessing how the code works, fixing the reported symptom instead of the actual cause |
The Seven Principles in Detail
1. Think Before Coding
Don't assume. Don't hide confusion. Surface tradeoffs — then say what you'd do.
LLMs often pick an interpretation silently and run with it — or, just as often, dodge the risk by laying out a neutral menu and taking no position. This principle forces explicit reasoning and a stance: