karpathy-guidelines

karpathy-guidelines is a skill for Claude Code from coco-research/coco. It costs 25 tokens per session (222 once invoked), scanned A, original, Apache-2.0.

A set of coding guidelines for writing, reviewing, and refactoring software. It focuses on small changes, clear assumptions, simple solutions, and ways to check that the result is correct.

In plain words
What is it for?
Use it when implementing a change, reviewing code, or refactoring an existing module with clear success checks.
Why use it?
It helps reduce overcomplicated edits and common mistakes made while changing code.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Claude Code.

Good fit Use it when implementing a change, reviewing code, or refactoring an existing module with clear success checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coco-research/coco/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 coco-research/coco --skill karpathy-guidelines
Clone the repo
git clone --depth 1 https://github.com/coco-research/coco

Made for: Claude Code.

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/coco-research/coco/karpathy-guidelines/github.svg)](https://agentmods.dev/skills/coco-research/coco/karpathy-guidelines)
Your own site
<a href="https://agentmods.dev/skills/coco-research/coco/karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/coco-research/coco/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/coco-research/coco/karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/coco-research/coco/karpathy-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 222 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.
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.00025 $0.00222
Opus 5.5 $0.00010 $0.00089
Sonnet 5.5 $0.00005 $0.00044
Haiku 4.5 $0.00003 $0.00022

Measured 1mo ago against content hash 90453e927e23, 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.

skills/karpathy-guidelines/SKILL.md · 25 lines

What it actually says

Karpathy guidelines (pointer)

Coco does not ship this skill because the upstream has no licence file, so this file only points to the original.

Install from upstream

Review the upstream repository before you run its installer; Coco does not vet or pin it.

The lines below are Claude Code slash commands, not shell commands.

/plugin marketplace add forrestchang/andrej-karpathy-skills
/plugin install andrej-karpathy-skills@karpathy-skills

Source: https://github.com/multica-ai/andrej-karpathy-skills/blob/2c606141936f1eeef17fa3043a72095b4765b9c2/skills/karpathy-guidelines/SKILL.md

Coco will not reproduce the upstream text. If you are the author and want this link removed or changed, see docs/personas/TAKEDOWN.md.

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 · -44 lines · -21 tokens per session 90453e927e23
  2. 2mo ago First seen · 69 lines · 46 tokens per session scan A 659b0e1bc06d

Subscribe to this mod's changes

karpathy-guidelines is a skill published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 222 once invoked, about $0.0001 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-09-03.

Related

karpathy-guidelines compared with skills from other repositories

karpathy-guidelines next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
karpathy-guidelinescoco-research/cocoSkill323yesterdayApache-2.0A25Claude Code
template-comprehensive-assessmentdocxology/templateSkill25todayApache-2.0A77Claude Code, Codex
code-reviewfastagent-sh/fastagentSkill68todayMITA22Claude Code, Codex
readinessjrenaldi79/harness-engineeringSkill12720d agoMITB62Claude Code
hk-code-quality-auditdeepklarity/harness-kitSkill10820d agoMITA102Claude Code
hk-pr-reviewdeepklarity/harness-kitSkill10820d agoMITA94Claude Code
matt-codebase-designdeepklarity/harness-kitSkill10820d agoMITA88Claude Code