karpathy-guidelines SKILL.md skillA

karpathy-guidelines from madnpc/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add madnpc/skills/karpathy-guidelines@git:20260624.2d5338c

Pins git:20260624.2d5338c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
madnpc/skills
Path
skills/karpathy-guidelines/SKILL.md
Versions recorded
4
Latest version
git:20260624.2d5338c, committed Jun 24, 2026
First version recorded
Jun 24, 2026
Size
2,943 bytes
Repository stars
3
License
none declared

适用于代码改动容易过度设计、范围蔓延或需要严格审查时。Use when a code change risks overengineering, scope creep, broad refactors, or needs a conservative review for surgical changes and verifiable success criteria. 中文关键词:避免过度设计、最小改动、范围控制、明确假设、验收标准、保守审查、重构审查。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Karpathy Guidelines

Behavioral guidelines to reduce common LLM coding mistakes, derived from [Andrej Karpathy's observations](https://x.com/karpathy/status/2015883857489522876) on LLM coding pitfalls.

## 输出语言

默认使用简体中文与用户沟通,并以简体中文编写审查结论和说明。用户明确指定其他语言或既有文档语言另有约定时,遵从该约定;代码、命令、产品名和必须保持原文的引用不强行翻译。

**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.

## 1. Think Before Coding

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

Before implementing:
- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.

## 2. Simplicity First

**Minimum code that solves the problem. Nothing speculative.**

- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.

Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add madnpc/skills/karpathy-guidelines@sha256:7723a29c9416018f

The line at the top of this page pins the label git:20260624.2d5338c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_alc5wwzvsgliljvi.svg)](https://markdownregistry.com/a/art_alc5wwzvsgliljvi)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, all committed on Jun 24, 2026.

versioncommittedcommitsizeaudit
git:20260624.2d5338c latest2026-06-24 2d5338c 2,943 BA view · diff
git:20260624.211e8952026-06-24 211e895 2,672 BA view · diff
git:20260624.055aa442026-06-24 055aa44 2,683 BA view · diff
git:20260624.7d3de8b2026-06-24 7d3de8b 2,584 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2943 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

madnpc/skills · 3 stars · license none declared · pushed 2026-09-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_alc5wwzvsgliljvi
GET https://markdownregistry.com/api/v1/resolve?ref=madnpc/skills/karpathy-guidelines
GET https://markdownregistry.com/api/v1/blob/7723a29c9416018f7e4d790b437d1577bf014aba0a137fe3a0c45112a5715880

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from madnpc/skills

sync-skills SKILL.md skill
madnpc/skills · .claude/skills/sync-skills/SKILL.md · 适用于本仓库(npc404-skills)同步上游技能:运行 scripts/sync-skills.mjs 检测上游变化,逐个研判 diff 是否为有效更新(实质内容变化,还是排版、笔误等噪音),给出本地化建议,处理完成后推进版本记录。U…
git:20260702.eb2c7d7 · audit A · 3 stars
AGENTS.md AGENTS.md file
madnpc/skills · AGENTS.md
git:20260713.b7ab5e6 · audit A · 3 stars
CLAUDE.md CLAUDE.md file
madnpc/skills · CLAUDE.md
git:20260702.7a40591 · audit A · 3 stars
brainstorming SKILL.md skill
madnpc/skills · skills/brainstorming/SKILL.md · 适用于编写代码前,当需求或方向仍不清楚时,梳理模糊想法、比较方案并形成轻量设计文档。Use before implementation when the request is ambiguous or the direction is…
git:20260929.4fdade6 · audit A · 3 stars
codebase-design SKILL.md skill
madnpc/skills · skills/codebase-design/SKILL.md · 适用于设计或优化模块接口、决定 seam、提升模块深度与可测试性。Use when designing or improving module interfaces, deciding where a seam belongs…
git:20260624.2d5338c · audit A · 3 stars
diagnosing-bugs SKILL.md skill
madnpc/skills · skills/diagnosing-bugs/SKILL.md · 适用于根因不明确、反复出现、不稳定、跨组件或性能退化的故障。Use when a bug, test failure, runtime error, unexpected behavior, or performance…
git:20260905.d7ecf7d · audit A · 3 stars
domain-modeling SKILL.md skill
madnpc/skills · skills/domain-modeling/SKILL.md · 适用于构建或完善项目领域模型、统一代码库术语、创建或编辑 CONTEXT.md,以及记录或更新 ADR。Build and sharpen a project's domain model. Use when discussing…
git:20260905.d7ecf7d · audit A · 3 stars
grill-me SKILL.md skill
madnpc/skills · skills/grill-me/SKILL.md · 仅在用户明确调用 `$grill-me`、`/grill-me`,或明确要求“拷问我”“追问到底”时,启动一次按决策前沿分轮推进的高强度访谈,以澄清并压力测试计划、设计、决策或想法。Explicit-entry wrapper for a…
git:20260905.d7ecf7d · audit A · 3 stars
grill-with-docs SKILL.md skill
madnpc/skills · skills/grill-with-docs/SKILL.md · 仅在用户明确调用 `$grill-with-docs`、`/grill-with-docs`,或明确要求在高强度访谈中同步沉淀术语表和 ADR 时使用。Explicit-entry wrapper for a relentless…
git:20260929.4fdade6 · audit A · 3 stars
grilling SKILL.md skill
madnpc/skills · skills/grilling/SKILL.md · 适用于用户想对计划、设计、决策或想法进行高强度压力测试,或明确要求 grill、拷问、追问到底、深挖问题时。Relentlessly interview the user about a plan, design, decision…
git:20260905.d7ecf7d · audit A · 3 stars
handoff SKILL.md skill
madnpc/skills · skills/handoff/SKILL.md · 适用于将未完成任务及其上下文移交给新的代理或会话。Use when handing an unfinished task or its context to a fresh agent or a new session…
git:20260713.b7ab5e6 · audit A · 3 stars
planning-with-files-zh SKILL.md skill
madnpc/skills · skills/planning-with-files-zh/SKILL.md · 适用于需要跨会话持久追踪的复杂任务、研究或多阶段实施。自动恢复只读取项目规划文件;仅在用户明确要求时,session-catchup.py 才检查同项目会话元数据或输出受限且由 nonce 框定的不可信摘录。Use when work…
v3.21.0-npc404.1 · audit A · 3 stars

Every file in madnpc/skills

Other files named karpathy-guidelines

karpathy-guidelines SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/karpathy-guidelines/SKILL.md · 提供一组面向编码行为的轻量约束,帮助代理在动手前暴露假设、优先简单方案、保持改动外科化,并把任务改写成可验证目标。 当任务容易被误解、过度设计、顺手扩散改动,或需要先锁定成功标准时使用。
git:20260512.6523792 · audit A · 1,352 stars
karpathy-guidelines SKILL.md skill
coco-research/coco · skills/karpathy-guidelines/SKILL.md · Pointer to the upstream skill for behavioural guidelines that reduce common LLM coding mistakes, installed from…
git:20261008.3d24d40 · audit A · 827 stars
karpathy-guidelines SKILL.md skill
mxyhi/ok-skills · karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260508.0cab7e8 · audit A · 504 stars
karpathy-guidelines SKILL.md skill
cowork-os/cowork-os · resources/skills/karpathy-guidelines/SKILL.md · Surgical execution guardrails for coding, debugging, review, and refactor tasks
v1.0.0 · audit A · 496 stars
karpathy-guidelines SKILL.md skill
openyida/openyida · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260728.2c22517 · audit A · 228 stars
karpathy-guidelines SKILL.md skill
index-login/mobilere-skill · .kilo/skill/karpathy-guidelines/SKILL.md · 减少 LLM 常见编码错误的行为准则。在编写、审查或重构代码时使用,避免过度设计、精准修改、暴露假设、定义可验证的成功标准。
git:20260803.71f8be9 · audit A · 203 stars
karpathy-guidelines SKILL.md skill
youdotcom-oss/agent-skills · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260723.e470633 · audit A · 93 stars
karpathy-guidelines SKILL.md skill
rudycity/superagent · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral rules to minimize common LLM coding pitfalls. Applies to all code creation, modification, review, and…
git:20260702.4f76578 · audit A · 52 stars

Browse by kind, by grade A, or by owner.