Agent Builder
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
Behavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.
$ npx skills add KbWen/agentic-os --skill karpathy-principles -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install KbWen/agentic-os karpathy-principles --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/KbWen/agentic-os.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/karpathy-principles .claude/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .claude/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principlesType 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 KbWen/agentic-os --skill karpathy-principles -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install KbWen/agentic-os karpathy-principles --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KbWen/agentic-os.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/karpathy-principles .agents/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .agents/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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 KbWen/agentic-os --skill karpathy-principles -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install KbWen/agentic-os karpathy-principles --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KbWen/agentic-os.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/karpathy-principles .cursor/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .cursor/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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/KbWen/agentic-os.git --path .agents/skills/karpathy-principles--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 KbWen/agentic-os --skill karpathy-principles -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install KbWen/agentic-os karpathy-principles --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KbWen/agentic-os.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/karpathy-principles .gemini/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .gemini/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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 KbWen/agentic-os karpathy-principlesInstalls 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 KbWen/agentic-os --skill karpathy-principles -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/KbWen/agentic-os.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/karpathy-principles .github/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .github/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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 KbWen/agentic-os --skill karpathy-principles -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install KbWen/agentic-os karpathy-principles --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KbWen/agentic-os.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/karpathy-principles .opencode/skills/karpathy-principles && 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-principles" agent skill from https://github.com/KbWen/agentic-os/tree/main/.agents/skills/karpathy-principles into .opencode/skills/karpathy-principles/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-principles", 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-principlesBehavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.
Karpathy Principles is an agent skill from KbWen/agentic-os. Behavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in AI & LLM Engineering. The repository describes itself as: Governance framework for AI coding agents. It runs them through a five-step workflow (plan, build, review, test, ship) where no step counts as done without evidence. Drop-in… The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 81a4034. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From 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.comx.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 Principles loads about 1.5k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 719 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 KbWen/agentic-os at commit 81a4034, republished under its MIT licence (© KbWen). 719 words, ~1,541 tokens.
.claude/skills/karpathy-principles/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Derived from Andrej Karpathy's observations on LLM coding pitfalls.
Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.
Don't assume. Don't hide confusion. Surface tradeoffs.
Before implementing:
Minimum code that solves the problem. Nothing speculative.
Self-check: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
Touch only what you must. Clean up only your own mess.
When editing existing code:
When your changes create orphans:
The test: Every changed line should trace directly to the user's request.
Define success criteria. Loop until verified.
Transform tasks into verifiable goals:
For multi-step tasks, state a brief plan:
1. [Step] → verify: [check]
2. [Step] → verify: [check]
3. [Step] → verify: [check]Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.
During /plan:
During /implement:
During /review:
When reviewing or refactoring, apply Chesterton's Fence — understand WHY before removing:
Simplification rules:
For phase-entry loading, read only:
When to ApplyChecklistCode Simplification ChecklistLoad numbered principle sections (## 1–## 4), Common Rationalizations, Anti-Patterns, and References on full read or cache miss only.
| Rationalization | Reality |
|---|---|
| "It works, that's good enough" | Working code that's unreadable or architecturally wrong creates debt that compounds. |
| "We'll clean it up later" | Later never comes. The current phase is the quality gate — use it. |
| "I'm confident about this approach" | Confidence is not evidence. State your assumptions explicitly or verify against docs. |
| "This abstraction might be useful later" | Don't preserve speculative abstractions. If there's only one caller, inline it. |
| "I'll just quickly improve this unrelated code too" | Unscoped changes create noisy diffs and obscure the actual intent. Touch only what you must. |
| "The tests pass, so it's good" | Tests are necessary but not sufficient. They don't catch architecture problems, security issues, or readability. |
writing-plans (Think Before Coding), verification-before-completion (Goal-Driven Execution).agent/rules/engineering_guardrails.md §7 Scope Discipline© KbWen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/karpathy-principles of KbWen/agentic-os.
Open the folder on GitHubat commit 81a4034
Karpathy Principles 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 Principles this skillKbWen/agentic-os | 207 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Agent BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Planning With Filesjarrodwatts/claude-code-config | 1.1k | 5 repos | ~967 | Automated safety check: Pass | None | |
| Codebase Managementgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.8k | Automated safety check: Pass | AGPL-3.0 | |
| Context Compressionguanyang/open-agent-hub | 977 | 2 repos | ~4.6k | Automated safety check: Pass | MIT | |
| Looperksimback/looper | 710 | — | ~2.7k | Automated safety check: Notes | MIT |
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
jarrodwatts/claude-code-config
Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage.
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
guanyang/open-agent-hub
This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve…
ksimback/looper
Scaffold a well-designed agent loop with best-practice coaching and a cross-model review council.
strands-agents/harness-sdk
Identify documentation gaps and prioritize the docs backlog.
KbWen/agentic-os
Design or review REST/GraphQL APIs when endpoints or contracts change.
KbWen/agentic-os
Apply frontend conventions when components, pages, forms, or client state change.
KbWen/agentic-os
Use at review and ship, automatically for feature or architecture changes and on request for error handling, logging, crash reporting, or observability; verify errors reach production monitoring.
KbWen/agentic-os
Check official docs when framework APIs or configuration may be version-sensitive.
KbWen/agentic-os
A skill your agent uses when investigating a bug, test failure, flaky test, unexpected behavior, or a hotfix, or an unexplained or failed fix; find the root cause first.
KbWen/agentic-os
Design schemas and migrations when persistent data structures change.
Categories
Behavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution. Karpathy Principles is an agent skill from KbWen/agentic-os. Behavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.
Karpathy Principles fits situations like: AI & LLM Engineering work in your project.
Run `npx skills add KbWen/agentic-os --skill karpathy-principles -a claude-code`. Or copy the skill folder (.agents/skills/karpathy-principles in KbWen/agentic-os) into .claude/skills/karpathy-principles in your project. Claude Code loads it when a task matches its description.
Run `npx skills add KbWen/agentic-os --skill karpathy-principles -a codex`. Or copy the skill folder (.agents/skills/karpathy-principles in KbWen/agentic-os) into .agents/skills/karpathy-principles 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 KbWen/agentic-os --skill karpathy-principles -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-principles, .gemini/skills/karpathy-principles, .github/skills/karpathy-principles and .opencode/skills/karpathy-principles in your project.
SKILL.md names no scripts, command-line tools or credentials: Karpathy Principles is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: github.com and x.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 Principles is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k 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 Principles: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Planning With Files (jarrodwatts/claude-code-config, 1.1k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and Context Compression (guanyang/open-agent-hub, 977 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
KbWen (a GitHub user) maintains it in KbWen/agentic-os, which has 207 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.
Source: KbWen/agentic-os on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.