datenwissenschaften

Retro Speedlab Core — AI skill for Claude Code

AI community

Engine of Retro Speedlab, an AI that speedruns NES games: Go-Explore TAS search over emulator save states, each level beaten on its own, every run verified frame-exact from power-on.

How to install Retro Speedlab Core

This entry records only its repository, not the path inside it, so there is no exact command to give. Open datenwissenschaften/retro-speedlab-core and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Retro Speedlab Core does

Engine of Retro Speedlab, an AI that speedruns NES games: Go-Explore TAS search over emulator save states, each level beaten on its own, every run verified frame-exact from power-on.

Alternatives in AI

  • Pebrel — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 670 ★
  • Nebula — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 587 ★
  • Tmux Agent Indicator — Tmux plugin that gives visual feedback for AI agent states (running/needs-input/done) 91 ★

README

Retro Speedlab Core

[![CI](https://github.com/datenwissenschaften/retro-speedlab-core/actions/workflows/ci.yml/badge.svg)](https://github.com/datenwissenschaften/retro-speedlab-core/actions/workflows/ci.yml) ![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg) [![Last commit](https://img.shields.io/github/last-commit/datenwissenschaften/retro-speedlab-core)](https://github.com/datenwissenschaften/retro-speedlab-core/commits/main) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](LICENSE) ![Ruff](https://img.shields.io/badge/lint-Ruff-D7FF64.svg) [![codecov](https://codecov.io/gh/datenwissenschaften/retro-speedlab-core/graph/badge.svg)](https://codecov.io/gh/datenwissenschaften/retro-speedlab-core)

Tool-assisted speedrun search for classic video games. The engine searches the fastest movie of buttons to press on every frame from power-on, verifies that it replays, and streams the run to [Retro Speedlab](https://www.retrospeedlab.com). Game packages supply the game knowledge (RAM map, states, rewards, actions); this repository turns it into a speedrun.

Highlights

  • Power-on start like a real speedrun: every movie boots the game at its title screen; levels are states of one full-game run
  • Go-Explore segment search on many emulator processes, split at the state machine's transitions
  • Every segment is verified: the whole movie replays from power-on before a new segment counts
  • Route memory from earlier runs guides the search towards a state's exit
  • .bk2 movie and MP4 video of the verified run
  • Live relay of the newest verified segment, the run's time, level splits and the lab's status to the Retro Speedlab backend
  • Lab runs: when the search is stuck or stalls, Claude Code improves the game package on its own branch

Architecture

flowchart TD
    Game["Game package
RAM · States · Rewards · Actions"] Env["Stable Retro emulator
StateMachineGymWrapper"]