June 13th, 2026

Generate game sprites in Codex with the SpriteCook plugin

Install the official SpriteCook plugin from the Codex plugin directory, then generate sprites, animations, and tilesets straight from a chat. Setup takes about a minute.

Pixel art goat samurai generated with SpriteCook, on the SpriteCook for Codex plugin setup guide

Codex supports plugins, and SpriteCook is in the official plugin directory. Once it's installed, Codex can generate sprites, animations, and tilesets while you work. Ask for a character in a chat and the file lands in your project.

This post is about the Codex app, where you install SpriteCook from the plugin directory and there's nothing to run in a terminal. If you're on a different editor, the agent setup guide covers those.

What you need

Install the plugin

Click Plugins in the sidebar.

The Plugins item in the Codex sidebar

Search for SpriteCook and open it.

SpriteCook in the plugin directory search results

Install it.

The SpriteCook listing in the plugin directory with the Install plugin button

Codex opens a browser to connect your SpriteCook account. Approve it once and you're set.

Authorizing SpriteCook access in the browser that Codex opens

The plugin bundles the SpriteCook MCP connection and a set of skills. The connection gives Codex the tools that do the generating. The skills teach Codex how to use them well, like generating one hero asset first and reusing it as a style reference so your whole set stays consistent. More on that in the agent guide.

ChatGPT uses the same plugin directory, so you can install SpriteCook there too from its Plugins tab.

Try it

Start a chat and ask for something.

Prompting Codex to generate a goat samurai with SpriteCook

Codex kicks off the generation, waits for the job to finish, and saves the result into your project.

Codex showing the generated goat samurai sprite and the saved file The generated pixel art goat samurai

From here you can ask for whatever your game needs. The same options from the web app are available, so these guides apply:

Prefer the terminal?

If you work in the Codex CLI, start codex and open the plugin browser:

/plugins

Find SpriteCook, install it, and start a new session. Codex connects your account through the browser the first time the agent uses a SpriteCook tool.

If SpriteCook doesn't show up, check that you signed in to Codex with ChatGPT, since an API key sign-in can hide directory plugins. You can also add the plugin from GitHub and then install it from /plugins:

codex plugin marketplace add SpriteCook/codex-plugin

That's the whole setup. Go make something.