karpathy-guidelines

karpathy-guidelines is a skill for Claude Code from VKirill/claude-lane-stack. It costs 39 tokens per session (536 once invoked), scanned A, original, MIT.

A set of guidelines for writing, reviewing, or refactoring code with care and with only the changes the task requires.

In plain words
What is it for?
Use it to clarify assumptions, choose simple solutions, keep edits focused, define success criteria, and check that the result works.
Why use it?
It reduces common coding-agent mistakes such as guessing, adding unnecessary features, making broad edits, or stopping without verification.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the lane-stack plugin — 62 skills, 4 commands, 24 agents, 1 MCP server shipped together

Good fit Use it to clarify assumptions, choose simple solutions, keep edits focused, define success criteria, and check that the result works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vkirill/claude-lane-stack/karpathy-guidelines
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VKirill/claude-lane-stack --skill karpathy-guidelines
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 24 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for karpathy-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/karpathy-guidelines/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/karpathy-guidelines)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/karpathy-guidelines/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for karpathy-guidelines

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/karpathy-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 53
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 54
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00536
Opus 5.5 $0.00016 $0.00214
Sonnet 5.5 $0.00008 $0.00107
Haiku 4.5 $0.00004 $0.00054

Measured 1mo ago against content hash 6866c0045f83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

karpathy-guidelines scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lane-stack/skills/karpathy-guidelines/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Karpathy Guidelines

Derived from Karpathy on LLM coding pitfalls. Bias: caution over reckless speed. Trivial tasks — use judgment.

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

  • State assumptions explicitly. If uncertain, ask (Lane Pilot writer: see below).
  • Multiple interpretations → present them; don't pick silently.
  • Prefer simpler approaches; push back when warranted.
  • Unclear → stop, name the confusion, ask.

Inside a Lane Pilot writer thread (LANE_PILOT_AGENT_TYPE set) nobody answers mid-task, and a question in prose is not recognised: when the contract is unclear or contradictory, change no files and make the first line of your answer NEEDS_HUMAN: <one question for the project owner>. Everything you can look up or decide yourself (see Autonomy zone) you decide.

2. Simplicity First

Minimum code that solves the problem. Nothing speculative.

  • No features beyond the ask.
  • No single-use abstractions or fake "flexibility".
  • No error handling for impossible cases.
  • 200 lines that could be 50 → rewrite.

3. Surgical Changes

Touch only what you must. Clean up only your own mess.

  • Don't "improve" adjacent code, comments, or formatting.
  • Don't refactor what isn't broken.
  • Match existing style.
  • Unrelated dead code → mention, don't delete.
  • Remove only what your change made unused.

Test: every changed line traces to the user request.

4. Goal-Driven Execution

Define success criteria. Loop until verified.

  • "Add validation" → tests for invalid inputs, then make them pass.
  • "Fix the bug" → failing test first, then green.
  • Multi-step: step → verify: command list.

Strong criteria → autonomous loop. Weak ("make it work") → clarify first (in a Lane Pilot writer thread: the NEEDS_HUMAN: first line above).

Autonomy zone (MAY)

Inside the task scope, decide tech details, edit order, and local design without asking.
Do not ask the user what you can look up in the repo or docs.

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 6866c0045f83
  2. 3mo ago First seen · 55 lines · 39 tokens per session scan A 118fb4f69a0b

Subscribe to this mod's changes

karpathy-guidelines is a skill published in the GitHub repository VKirill/claude-lane-stack (125 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 536 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

karpathy-guidelines compared with skills from other repositories

karpathy-guidelines next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
karpathy-guidelinesVKirill/claude-lane-stackSkill1253d agoMITA39Claude Code
design-patternsFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A59Claude Code
eval-skillsFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A60Claude Code
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A41Claude Code
eval-rulesFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A82Claude Code
pr-triageFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A73Claude Code
review-prFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A45Claude Code