# roblox-performance

An agent skill for hunting down Roblox performance problems: frame drops, extra draw calls, heavy loops.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 826 installs · ★ 28
- Author: sentinelcore
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sentinelcore/roblox-skills/tree/HEAD/roblox-performance/SKILL.md
- Updated: 2026-02-23
- HTML: https://affpapa.org/en/nevibecode/skills/sentinelcore-roblox-performance

## What it does

The skill covers Roblox performance topic by topic: StreamingEnabled for large open worlds, object pooling, caching references outside Heartbeat and RenderStepped, swapping `wait()` for `task.wait()`, LOD, merging parts into MeshParts, and reading frames in MicroProfiler. It ships with quick-reference tables, Lua examples, and a list of common mistakes.

There is a section on hot-path loops. The agent will tell you not to call `FindFirstChild`, `GetChildren` or `GetDescendants` inside Heartbeat, and to throttle work that does not need to run every frame. A ready ObjectPool module in Lua is included, with a bullet-firing example.

The skill targets the Roblox engine, so it does nothing for projects on other engines. Some fixes live in Studio rather than in code: `workspace.StreamingEnabled` and the streaming radii are set there. Turn streaming on and parts outside the radius become `nil` on the client, so you have to guard with `if part then` — otherwise code that used to work starts throwing errors.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sentinelcore/roblox-skills --skill roblox-performance -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/roblox-performance/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/roblox-performance/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sentinelcore/roblox-skills --skill roblox-performance -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/roblox-performance/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sentinelcore/roblox-skills --skill roblox-performance -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/roblox-performance/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sentinelcore/roblox-skills roblox-performance
```

2. **Manually: put the files in place**
- File: `.github/skills/roblox-performance/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sentinelcore/roblox-skills --skill roblox-performance -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sentinelcore/roblox-skills --path roblox-performance
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/roblox-performance/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sentinelcore/roblox-skills --skill roblox-performance -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/sentinelcore/roblox-skills/tree/HEAD/roblox-performance/SKILL.md

## When to use it
- cut frame drops on a large open map
- stop searching the hierarchy inside Heartbeat
- reuse bullets and effects instead of spawning new ones
- lower draw calls with MeshParts and shared materials
- find the heavy section of a frame in MicroProfiler

## Example prompts
- Turn on StreamingEnabled and show me how to guard against nil parts
- Why is my Roblox game dropping frames? Run it against the skill checklist
- Rewrite this Heartbeat loop: cache the references and drop the tree search

## Similar
- [roblox-luau-types](https://affpapa.org/en/nevibecode/skills/roblox-luau-types.md) — skill · 2000 installs
- [roblox-luau](https://affpapa.org/en/nevibecode/skills/roblox-luau.md) — skill · 6100 installs
- [roblox-ui](https://affpapa.org/en/nevibecode/skills/roblox-ui.md) — skill · 3800 installs
- [roblox-animation-vfx](https://affpapa.org/en/nevibecode/skills/roblox-animation-vfx.md) — skill · 2300 installs
- [m10-performance](https://affpapa.org/en/nevibecode/skills/m10-performance.md) — skill · 3600 installs
- [go-performance](https://affpapa.org/en/nevibecode/skills/go-performance.md) — skill · 1200 installs

## Other versions with the same name
- [roblox-performance · tabooharmony](https://affpapa.org/en/nevibecode/skills/roblox-performance.md) — 2000 installs

From the same set: [sentinelcore/roblox-skills](https://affpapa.org/en/nevibecode/by/sentinelcore/roblox-skills.md) — 6 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
