Have you ever asked Claude Code to "just fix this one bug" and gotten back a change that also reorganized nearby functions and renamed things?
To reduce this kind of thing, two approaches to agent instructions are common these days.
One is to bundle the whole development process, from planning to deployment, into skills so the agent follows the steps.
The other is to write principles such as "don't assume, change only as much as needed" into a single file that is read every time.
This article reads and compares addyosmani/agent-skills and multica-ai/andrej-karpathy-skills, the representative repositories for each approach, using their README files and the files from cloning them.
In the TOP 20 ranking compiled in Part 2, as of November 27, 2026, the Karpathy Guidelines had 235,936 stars (4th) and addyosmani/agent-skills had 120,615 stars (11th).
The two repositories split into one that changes the agent's
procedure
and one that changes its
attitude
.
๐๏ธ
The experiments in this article were run in a sample repository I made myself. The sample has a bug planted in a date function so that 3 of its 4 tests fail. Each of the three conditions was run once, using Haiku as the model. The sample is small, so please read the results as observations rather than conclusions.
The README introduces this repository as a package that bundles production-grade engineering skills for AI coding agents.
There are 26 skills. Of these, 25 are lifecycle skills, and the remaining one, using-agent-skills, is a meta skill that helps pick the right skill for a situation.
The lifecycle is split into six stages:
The README table attaches one slash command to each stage.
The summaries below are taken from the "What you're doing" column of the README table.
/spec: defines what to build as a specification before writing code.
/plan: splits the work into small, verifiable tasks.
/build: implements one slice at a time.
/test: proves behavior with tests.
/constraints: sets quality standards once and applies them to every task.
/review: checks the state of the code before merging.
/webperf: measures and audits web performance.
/a11y: audits accessibility.
/code-simplify: simplifies the code.
/ship: deploys to production.
/build auto is an option that, once you approve a plan, runs the remaining tasks autonomously.
According to the README, each task goes through tests and gets its own commit, and it stops at a failure or a risky step.
The number of times a person must approve goes down, but the verification steps are not skipped.
According to the README, these commands are installed as plugin commands in Claude Code.
Because they overlap with Claude Code's built-in /review, the README advises using a namespace such as /agent-skills:review.
These commands do not appear in GitHub Copilot, so you need to call the skills by name, such as /spec-driven-development.
Each skill has stages, checkpoints, and exit conditions.
The README explains that it lists, in a table, the excuses agents make when they skip steps along with the rebuttals, with "I'll add tests later" as an example.
Verification also needs evidence. The README says that "it looks plausible" is not enough.
The design draws on Google's engineering practices.
The README says concepts such as Hyrum's Law, the test pyramid, and change size criteria are included in the skills, and links to Software Engineering at Googleโ as the basis.
If you want to install into several agents at once, outside Claude Code, use npx skills add addyosmani/agent-skills.
You can view the list before installing with --list, and giving a name such as --skill code-review-and-quality installs only that one skill.
However, the README notes that installing individual skills with npx leaves out the references/ folder at the top level of the repository, and says this is tracked in issue #361โ.
Marketplace installation clones the repository over SSH. If you have no SSH key on GitHub, you may get a Permission denied (publickey) error, and the README recommends the setting below.
, so it affects every repository that used GitHub SSH addresses. Before running it, check the authentication method of your other projects first.
The skill repository also has hooks.
When you open the hooks/ folder for the Claude Code adapter in the cloned repository, you can see several shell scripts such as session-start.sh and sdd-cache-pre.sh.
It is safer to read which event each one attaches to before installing.
In this article, I only cloned the repository and read the files. I did not run the install commands or the hooks.
I could not find the telemetry default in the README, so it remains
The README introduces this repository as a single CLAUDE.md file built on LLM coding pitfalls that Andrej Karpathy observed.
The README lists three problems: the model pushes ahead on wrong assumptions without checking them, it inflates code and abstractions beyond what is needed, and it changes code or comments it does not understand, regardless of the task.
: state your assumptions, and when something is ambiguous, ask instead of guessing.
If there is a simpler approach, say so.
Simplicity First
: do not add features nobody asked for, abstractions used only once, or error handling for situations that cannot happen.
The README's judgment criterion is whether a senior engineer would call it overcomplicated.
Surgical Changes
: change only the scope that was requested.
If you find unrelated dead code, mention it rather than deleting it.
Goal-Driven Execution
: turn the task into a verifiable goal.
An example in the README is changing "fix the bug" into "write a test that reproduces the bug, then make that test pass."
The README says every changed line should trace directly back to the user's request.
Installed as a plugin, the same principles go into a skill file at skills/karpathy-guidelines/SKILL.md rather than into CLAUDE.md. The .claude-plugin/plugin.json in the cloned repository also points to this path as the skills entry.
In other words, the description "one file" applies to the CLAUDE.md method, and the plugin method takes the form of a skill.
The CLAUDE.md method means downloading the file into your project.
If you already have a CLAUDE.md, the README advises adding a blank line and then appending the file contents.
Read it first to check whether anything conflicts with your existing rules.
The forrestchang address in the install command redirects to the multica-ai/andrej-karpathy-skills repository.
When I queried both addresses with gh api on November 27, 2026, both returned multica-ai/andrej-karpathy-skills.
The repository appears to have moved, but I did not confirm the history of the move.
The license needs to be verified.
The README and plugin manifest say MIT.
However, the repository root has no LICENSE file, and the license field in the GitHub API was empty.
Context Cost: Heavy Skills vs. Lightweight Instructions ๐
This section is a
theoretical explanation
. The costs measured in the experiment below are totals for one run per condition, and the effect of the instruction file and skill invocation on context cost was not measured separately.
Instruction files like CLAUDE.md are loaded into the conversation context at session start and stay there while the session continues.
Even if the file is short, it occupies the same space every session.
Skills are designed differently.
The addyosmani/agent-skills README lists progressive disclosure as a design principle, explaining that SKILL.md is the entry point and supporting material is read only when needed.
In theory, even with many skills, the context used at session start can be small.
On the other hand, invoking a skill brings its body and steps into context, and one lifecycle command goes through several stages and checkpoints, so the cost grows with each invocation.
The actual difference depends on the size of the instruction file and how often skills are invoked. This article did not measure that size.
The scope of effect also differs.
Instructions change the
attitude
. A principle such as "state your assumptions" changes how the agent responds in everyday work.
Skills change the
procedure
. A flow of writing a spec first, verifying at each step, and passing a review gate runs only when the corresponding command is invoked.
The Karpathy Guidelines README also acknowledges this tradeoff.
The guidance leans toward caution over speed, and it explicitly says to apply judgment to trivial tasks such as fixing a typo. In other words, applied strictly, even small tasks can get slower.
Experiment: Results of Running All Three Conditions ๐
The experiment ran in a sample repository, sample-bugfix, that I built. The task was "Make the failing tests in test/dateUtils.test.js all pass. Do not modify the test file; change only src."
Three things were checked.
First, I checked the repository address. The result of gh api repos/forrestchang/andrej-karpathy-skills --jq .full_name was multica-ai/andrej-karpathy-skills.
Second, I checked the sample's baseline. Running node --test shows that only 1 of the 4 tests passes.
# tests 4 # pass 1 # fail 3
The failing tests cover the month handling in parseDate, the one-month calculation in addMonths, and the year-boundary handling in addMonths.
The formatDate test passes from the start.
Third, I ran each of the three conditions once. The first attempt stopped with Not logged in ยท Please run /login because Claude CLI authentication was not set up. After confirming authentication, I ran it again on November 28, 2026. Before and after the runs, I restored the sample to its original state.
Condition
Setup
Turns
Cost (USD)
Changed diff lines (added+deleted)
Tests
None
Only the task is given
8
0.009738
2 (+1 / -1)
4 of 4 pass
Karpathy Guidelines
Copied the CLAUDE.md text into the sample, then ran
9
0.010856
2 (+1 / -1)
4 of 4 pass
addyosmani/agent-skills
Loaded with --plugin-dir, prefixed the task with /build (did not use /spec)
7
0.008959
2 (+1 / -1)
4 of 4 pass
Actual command output from the Part 4 rerun. Text shows num_turns, cost, git diff --numstat, and node --test results for the three conditions
All three conditions changed one line in src/dateUtils.js to return new Date(year, month - 1, day);. They did not touch the test file, and no extra files were created. The CLAUDE.md used in the Karpathy condition was a file I copied as input, so I deleted it after the run.
The key observation from this experiment is that the results were the same. The differences in turns and cost (7 to 9 turns, 0.0090 to 0.0109 USD) may be variation from a single run per condition, so I do not use them to rank the conditions.
All three runs flagged the month-end overflow, where addMonths('2026-01-31', 1) becomes '2026-03-03', but said it was outside the task's scope and did not fix it.
Three things were not verified.
Whether the Karpathy CLAUDE.md was actually read was not confirmed. The result JSON has no file-read record.
Whether addyosmani /build was recognized and invoked as a plugin command was not confirmed. The result JSON has no skill or command record, and the final response does not mention the /build flow.
In all three conditions, an attempt to run npm test, which is outside the allowlist, was rejected, and the agent ran node --test instead.
The selection criteria below are judgments based on the README descriptions and structure, not measured values.
If you are trying it for the first time, the Karpathy file is better. Since the guidance is a single file, it is easy to apply and revert, and it changes only behavioral principles.
To standardize a team's development process, addyosmani/agent-skills is the right fit. You can call the specification, planning, verification, and review stages as commands, and pick only the skills you need from the 26.
Using both repositories together was not verified in this article.
in as skills, and the Karpathy Guidelines change the agent's
attitude
with a single file.
The difference in context cost is still explained only in theory.
In the sample experiment, the three conditions made the same one-line fix, and only turns and cost differed by condition. Whether the difference appears on larger tasks was not confirmed by this experiment.
What you can do right away is clone both repositories and read CLAUDE.md, skills/karpathy-guidelines/SKILL.md, and the hooks/ folder.
Reading before installing is the cheapest check.