# nanogpt

> Educational GPT implementation in ~300 lines.

Educational GPT implementation in ~300 lines. Reproduces GPT-2 (124M) on OpenWebText. Clean, hackable code for learning transformers. By Andrej Karpathy. Perfect for understanding GPT architecture from scratch. Train on Shakespeare (CPU) or OpenWebText (multi-GPU).

- Type: Skill
- Made by: Orchestra-Research
- Category: AI & agents
- Formats: Skills
- Version: 3b77abf
- Source: https://github.com/orchestra-research/ai-research-skills/tree/HEAD/01-model-architecture/nanogpt
- Page: https://pluginboard.ai/skills/nanogpt-orchestra-research

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the nanogpt folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Claude

In Claude (web or desktop): Download the nanogpt folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Gemini

In Gemini: Download the nanogpt folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.copilot/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Cursor

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.cursor/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Claude Code

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.claude/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

Or all of AI Research Skills (Orchestra), in Claude Code:

```text
/plugin marketplace add Orchestra-Research/AI-Research-SKILLs
/plugin install rag@ai-research-skills
```

### Codex

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.agents/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Antigravity

In Antigravity: Copy the nanogpt folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Gemini CLI

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.gemini/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Replit

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt .agents/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### OpenClaw

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.openclaw/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### OpenCode

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.config/opencode/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

### Hermes Agent

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/01-model-architecture/nanogpt ~/.hermes/skills/nanogpt
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/01-model-architecture/nanogpt

---
From Pluginboard (https://pluginboard.ai).
