karpathy-guidelines SKILL.md skillA

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

Install it, pinned
mdr add qa-aman/claude-skills/karpathy-guidelines@git:20260502.aea5066

Pins git:20260502.aea5066 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qa-aman/claude-skills
Path
skills/by-role/engineer/karpathy-guidelines/SKILL.md
Versions recorded
3
Latest version
git:20260502.aea5066, committed May 2, 2026
First version recorded
Apr 20, 2026
Size
7,680 bytes
Repository stars
21
License
MIT

Behavioral guardrails against the six most common LLM coding failure modes. Apply on every coding task: writing, editing, reviewing, or refactoring.

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

Six failure modes. Six rules. Apply all six on every coding task.

Inspired by [Andrej Karpathy's observations](https://x.com/karpathy/status/2015883857489522876) (Jan 2026).

## Compliance Checklist

Run this before each phase:

**Before writing code:** rules 1, 2, 4
**While editing:** rule 3
**Before claiming done:** rules 5, 6

- [ ] 1. Did I name every assumption I'm making?
- [ ] 2. Is my solution the minimum that satisfies the request?
- [ ] 3. Did I change only what the request requires?
- [ ] 4. Did I define a verifiable success condition before starting?
- [ ] 5. Do I have command output proving completion?
- [ ] 6. Does my diff do exactly one thing?

---

## 1. Name Every Assumption Before Writing Code

**Trigger:** At the start of any task where the request requires an implicit choice - a library, a data structure, an architecture decision, an interpretation of ambiguous scope.

**Rule:** State every assumption before writing a line. If a requirement has multiple valid interpretations, list them and declare which one you will implement. Do not silently pick.

**Do:**
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qa-aman/claude-skills/karpathy-guidelines@sha256:fa31f564a0fef88d

The line at the top of this page pins the label git:20260502.aea5066, 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_266nqcmwg7vpucjv.svg)](https://markdownregistry.com/a/art_266nqcmwg7vpucjv)

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

Versions

The registry has recorded 3 versions of this file, between Apr 20, 2026 and May 2, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20260502.aea5066 latest2026-05-02 aea5066 7,680 BA view · diff
git:20260502.605bc562026-05-02 605bc56 7,678 BA view · diff
git:20260420.a5f389f2026-04-20 a5f389f 3,735 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 (7680 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

qa-aman/claude-skills · 21 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_266nqcmwg7vpucjv
GET https://markdownregistry.com/api/v1/resolve?ref=qa-aman/claude-skills/karpathy-guidelines
GET https://markdownregistry.com/api/v1/blob/fa31f564a0fef88d28811bc067e92541ddc6f7f68b233bea8a3fe409eda650d5

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 qa-aman/claude-skills

create-skill SKILL.md skill
qa-aman/claude-skills · .claude/skills/create-skill/SKILL.md · Create or update Claude Code skills following Anthropic's official skill standard. Use when user says "create a skill"…
git:20260303.4fa499f · audit A · 21 stars
sync-skills SKILL.md skill
qa-aman/claude-skills · .claude/skills/sync-skills/SKILL.md · Fetch skills from projects on the current system, genericize them, and add to the claude-skills repository. Use when…
git:20260303.4fa499f · audit A · 21 stars
CLAUDE.md CLAUDE.md file
qa-aman/claude-skills · CLAUDE.md
git:20260808.3d6e28d · audit A · 21 stars
audit-workpaper SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/audit-workpaper/SKILL.md · Write a clear, reviewable audit workpaper documenting procedures, evidence, and conclusions. Use when an auditor says…
git:20260307.8c0949a · audit A · 21 stars
budget-variance-analysis SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/budget-variance-analysis/SKILL.md · Analyze budget vs. actual variances, identify root causes, and recommend corrective actions. Use when an accountant or…
git:20260307.8c0949a · audit A · 21 stars
financial-statement-review SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/financial-statement-review/SKILL.md · Analyze and interpret financial statements to surface performance signals, quality concerns, and red flags. Use when an…
git:20260307.8c0949a · audit A · 21 stars
month-end-close SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/month-end-close/SKILL.md · Run, document, or review a structured month-end close process. Use when an accountant says "help me with month-end…
git:20260307.8c0949a · audit A · 21 stars
tax-position-memo SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/tax-position-memo/SKILL.md · Write a technical tax position memo that documents a tax filing position with authorities, facts, analysis, and…
git:20260307.8c0949a · audit A · 21 stars
acceptance-criteria-writer SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/acceptance-criteria-writer/SKILL.md · Write measurable acceptance criteria for requirements or user stories. Use when the user says "write acceptance…
git:20260323.771ca1c · audit A · 21 stars
brd-writer SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/brd-writer/SKILL.md · Write a Business Requirements Document. Use when the user says "write a BRD", "business requirements", "document the…
git:20260323.771ca1c · audit A · 21 stars
cost-benefit-analysis SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/cost-benefit-analysis/SKILL.md · Build a business case with costs, benefits, and ROI. Use when the user says "cost-benefit analysis", "business case"…
git:20260323.771ca1c · audit A · 21 stars
data-dictionary SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/data-dictionary/SKILL.md · Generate a data dictionary documenting entities, fields, and business rules. Use when the user says "data dictionary"…
git:20260323.771ca1c · audit A · 21 stars

Every file in qa-aman/claude-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.