June 13th, 2026

Generate game sprites in Codex with the SpriteCook plugin

Add the SpriteCook plugin to Codex from the plugin marketplace, then generate sprites, animations, and tilesets straight from a chat. Setup takes a couple of minutes.

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

Generate game sprites in Codex with the SpriteCook plugin

Codex supports plugins, and SpriteCook has one. 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 installation works through the plugin marketplace 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

Add the marketplace

The plugin lives in a public GitHub repo. You add that repo as a marketplace once, then install the plugin from it.

Click Plugins in the sidebar.

The Plugins item in the Codex sidebar

Click the + in the top right, then Add marketplace.

The Add marketplace option in the Codex plus menu

Paste the plugin repo URL and click Add marketplace:

https://github.com/SpriteCook/codex-plugin
Entering the SpriteCook plugin repository URL in the Add marketplace dialog

Install the plugin

The SpriteCook marketplace now shows up in your plugin directory. Open it.

The SpriteCook marketplace tab in the Codex plugins overview

Click Add plugin on the SpriteCook card.

The Add plugin button on the SpriteCook card in Codex

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.

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, you can add the same marketplace and install the plugin with two commands:

codex plugin marketplace add SpriteCook/codex-plugin
codex plugin add spritecook@spritecook

Codex connects your account through the browser the first time the agent uses a SpriteCook tool.

That's the whole setup. Go make something.

Got questions? Building something?

Drop into the Discord. People post WIPs, share prompts that actually worked, and help each other debug weird outputs. We're in there daily too.

Join the Discord