Manor Coding Guardrails
manor-os/manor-ai
A skill your agent uses when writing, reviewing, or refactoring Manor code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Behavioral guardrails for LLM-assisted coding. An agent skill from alirezarezvani/ClaudeForge.
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelines --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/karpathy-guidelines .claude/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .claude/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelinesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelines --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skill/karpathy-guidelines .agents/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .agents/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelines --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skill/karpathy-guidelines .cursor/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .cursor/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alirezarezvani/ClaudeForge.git --path skill/karpathy-guidelines--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelines --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skill/karpathy-guidelines .gemini/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .gemini/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelinesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .github/skills && cp -r skills-src/skill/karpathy-guidelines .github/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .github/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alirezarezvani/ClaudeForge karpathy-guidelines --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skill/karpathy-guidelines .opencode/skills/karpathy-guidelines && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "karpathy-guidelines" agent skill from https://github.com/alirezarezvani/ClaudeForge/tree/dev/skill/karpathy-guidelines into .opencode/skills/karpathy-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-guidelines", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
karpathy-guidelinesBehavioral guardrails for LLM-assisted coding. An agent skill from alirezarezvani/ClaudeForge.
Karpathy Guidelines is an agent skill from alirezarezvani/ClaudeForge. Behavioral guardrails for LLM-assisted coding. Use when writing, reviewing, or refactoring code in any project to avoid overcomplication, keep changes surgical, surface assumptions early, and execute against verifiable success criteria.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Refactoring and LLM guardrails. The repository describes itself as: A CLAUDE.md Generator and Maintenance tool for for Claude Code to create high-quality CLAUDE.md instruction files — aligned with Anthropic’s best practices for Claude Code. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 032c5e5. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Karpathy Guidelines loads about 1.2k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 569 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from alirezarezvani/ClaudeForge at commit 032c5e5, republished under its MIT licence (© alirezarezvani). 569 words, ~1,225 tokens.
.claude/skills/karpathy-guidelines/SKILL.md (or your agent's skills folder).Behavioral guardrails for code generation in Claude Code projects, distilled from observations on common LLM coding failure modes. Apply these to every editing, reviewing, and refactoring task.
Attribution: adapted from the MIT-licensed
karpathy-guidelinesskill by Forrest Chang (https://github.com/forrestchang/andrej-karpathy-skills), inspired by Andrej Karpathy's commentary on where LLM-generated code typically goes wrong. ClaudeForge integrates these principles so every project initialised or enhanced through/enhance-claude-mdships with them in its CLAUDE.md.
Apply on every non-trivial task: writing new code, editing existing code, code review, refactoring, and bug fixing. They are intentionally conservative — bias toward caution over speed.
Surface what is uncertain. Do not paper over confusion with plausible-sounding code.
Write the minimum code that solves the stated problem. Nothing speculative.
Self-check: a senior engineer skimming this diff — would they say it is overcomplicated for what was asked? If yes, simplify.
Touch only what the task requires. Do not opportunistically refactor.
When your own changes leave orphans:
Diff test: every changed line should be traceable to the user's request. If a line is not, drop it.
Turn the task into a verifiable goal, then iterate until the verification passes.
1. <step> → verify: <how you will check>
2. <step> → verify: <how you will check>
3. <step> → verify: <how you will check>Strong success criteria let you loop without supervision. Vague ones ("make it work") force the user back into the loop.
/enhance-claude-md injects a ## Behavioral Guidelines section into every generated or enhanced CLAUDE.md, summarising these four principles with a link back to this skill.claude-md-guardian agent preserves the section across automated maintenance updates.skill/generator.py and skill/template_selector.py insert the section unconditionally — these principles are not opt-in.The guidelines are working when diffs trend smaller, rewrites caused by overcomplication drop, and clarifying questions arrive before implementation rather than after a failed attempt.
© alirezarezvani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skill/karpathy-guidelines of alirezarezvani/ClaudeForge.
Open the folder on GitHubat commit 032c5e5
Karpathy Guidelines next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Karpathy Guidelines this skillalirezarezvani/ClaudeForge | 429 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Manor Coding Guardrailsmanor-os/manor-ai | 162 | — | ~816 | Automated safety check: Pass | MIT | |
| Refactor React Effectslangfuse/langfuse | 36k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| Concern Patternsdilolabs/nosia | 213 | 1 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Elixirstreamband/hydra-srt | 146 | — | ~804 | Automated safety check: Pass | Apache-2.0 | |
| Change CleanupSimon-Initiative/oli-torus | 119 | — | ~3.7k | Automated safety check: Pass | MIT |
manor-os/manor-ai
A skill your agent uses when writing, reviewing, or refactoring Manor code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
langfuse/langfuse
Refactor avoidable React useEffect usage in Langfuse frontend code.
dilolabs/nosia
Creates and refactors model and controller concerns for shared behavior.
streamband/hydra-srt
A skill your agent uses for Elixir/Phoenix development in this repo: implementing features, refactors, debugging, tests, Ecto changes, and production-safe fixes.
Simon-Initiative/oli-torus
Clean up and harden code introduced by the current branch without drifting into broad refactors.
tetherto/qvac
Review C++ changes for string parameter and call-site efficiency conventions (std::stringview, std::string&&, const std::string&, const char, and TransparentStringMap lookup).
alirezarezvani/ClaudeForge
Re-detect this project's tech stack from package.json / requirements.txt / pyproject.toml / go.mod / Cargo.toml and diff it against the Tech Stack section of every CLAUDE.md.
alirezarezvani/ClaudeForge
Audit every CLAUDE.md in this project for drift against the last week of git history.
alirezarezvani/ClaudeForge
Verify every @path chain import and every markdown link inside every CLAUDE.md in this project resolves to an existing file.
Categories
Behavioral guardrails for LLM-assisted coding. An agent skill from alirezarezvani/ClaudeForge. Karpathy Guidelines is an agent skill from alirezarezvani/ClaudeForge. Behavioral guardrails for LLM-assisted coding.
Karpathy Guidelines fits situations like: refactoring code in any project to avoid overcomplication; keep changes surgical; surface assumptions early; execute against verifiable success criteria.
Run `npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a claude-code`. Or copy the skill folder (skill/karpathy-guidelines in alirezarezvani/ClaudeForge) into .claude/skills/karpathy-guidelines in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a codex`. Or copy the skill folder (skill/karpathy-guidelines in alirezarezvani/ClaudeForge) into .agents/skills/karpathy-guidelines in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/ClaudeForge --skill karpathy-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/karpathy-guidelines, .gemini/skills/karpathy-guidelines, .github/skills/karpathy-guidelines and .opencode/skills/karpathy-guidelines in your project.
SKILL.md names no scripts, command-line tools or credentials: Karpathy Guidelines is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Karpathy Guidelines is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Karpathy Guidelines: Manor Coding Guardrails (manor-os/manor-ai, 162 stars), Refactor React Effects (langfuse/langfuse, 36k stars), Concern Patterns (dilolabs/nosia, 213 stars) and Elixir (streamband/hydra-srt, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alirezarezvani (a GitHub user) maintains it in alirezarezvani/ClaudeForge, which has 429 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on May 19, 2026.
Source: alirezarezvani/ClaudeForge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.