This is Andrej Karpathy's educational GPT implementation packaged as a Claude skill, designed for learning how transformers actually work under the hood. It's deliberately minimal so you can see what's happening at each step. The Shakespeare training example runs in about 5 minutes on a CPU, which makes it accessible for experimentation without needing a GPU cluster. If you're trying to understand the fundamentals of GPT architecture or want a codebase you can actually modify and break without wading through production abstractions, this is the right starting point. It's teaching code, not production code, and that's exactly the point.

skills.sh installs
320
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill nanogpt --agent claude-code

Installs into .claude/skills of the current project.

Files

This is Andrej Karpathy's educational GPT implementation packaged as a Claude skill, designed for learning how transformers actually work under the hood. It's deliberately minimal so you can see what's happening at each step. The Shakespeare training example runs in about 5 minutes on a CPU, which makes it accessible for experimentation without needing a GPU cluster. If you're trying to understand the fundamentals of GPT architecture or want a codebase you can actually modify and break without wading through production abstractions, this is the right starting point. It's teaching code, not production code, and that's exactly the point.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Code Review & Quality
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1yoanbernabeu avatarslidev-stylingyoanbernabeu/slidev-skillsStyle Slidev slides with UnoCSS and custom CSS. Use this skill for custom colors, typography, animations, and responsive designs.320skills.sh installs
2glincker avatarthesvgglincker/thesvgFetch brand SVG logos and cloud architecture icons (AWS, Azure, GCP) from theSVG. Use when the user asks for a brand logo, company icon, framework mark, service318skills.sh installs
3pproenca avatar12-factor-apppproenca/dot-skillsThe Twelve-Factor App methodology for building scalable, maintainable cloud-native applications. Use when designing backend services, APIs, microservices, or an318skills.sh installs
4ndpvt-web avatarlatex-documentndpvt-web/latex-document-skillUniversal LaTeX document skill: create, compile, and convert any document to professional PDF with PNG previews. Supports resumes, reports, cover letters, invoi317skills.sh installs
5robthepcguy avatarpatent-diagram-generatorrobthepcguy/claude-patent-creatorCreate patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz with reference numbering316skills.sh installs
6mrgoonie avatarmcp-buildermrgoonie/claudekit-skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when b315skills.sh installs