# Game art in an Aider session, by /run

> Aider has no MCP, and needs none for game art: run the asset CLI with /run, keep its output in the chat, and let Aider write the code that loads it.

- URL: https://tyrbo.ai/ai-game-assets-for-aider
- Title: AI Game Assets for Aider: /run the Asset CLI
- Language: English (en)
- Updated: 2026-11-26

Aider pairs with you in the terminal and edits your files from a chat, without MCP. That is fine for asset gen, which is a plain command. Type `/run asset …` (or `!` for short) and the output can be added to the chat, so Aider sees which files were written and can write the code that uses them. Aider can also propose shell commands itself while it works, and runs one only after you say yes. The torchlit dungeon below came from a handful of those calls.

Send this to your agent

```
Set up Tyrbo asset gen for me so I can make my game's art, sprite sheets, animated characters, 3D models, UI and sound from here, all in one look.
1. Install the CLI: run `npm install -g @tyrbo/asset` (Node 20.11 or later).
2. Add the skill: in Claude Code, run `claude plugin marketplace add https://cdn.jsdelivr.net/npm/@tyrbo/asset/.claude-plugin/marketplace.json`, then `claude plugin install tyrbo-asset@tyrbo`. In another MCP client, add the MCP server `npx -y @tyrbo/asset mcp`. In any other agent, read `asset --help` before the first call.
3. Check it, free: in an empty scratch folder, not my game's, run `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`. It needs no key and writes stand-in files there.
4. Authenticate: ask me to make an asset key at https://app.tyrbo.ai/?from=/asset-generator#/settings/assets (Settings, Asset gen) and to run `asset login` in my own terminal, pasting the key there. Never ask me for the key in chat, and never run `asset login` yourself. Once I have, run `asset spend` to see it works.
Once that's done, let me know when it's ready.
```

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)[Read the docs](https://tyrbo.ai/asset-generator/docs)

## Set it up in Aider

1. **Install the CLI** Install the asset command (Node 20.11 or later). `npm install -g @tyrbo/asset`
2. **Let Aider run it** Aider takes no MCP server: run `/run asset …` in its chat (or `!`), or accept a shell command it suggests, and the output joins the chat.
3. **Try it free** In an empty scratch folder, a mock call checks the setup with no key: it writes stand-in files and spends nothing. `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`
4. **Log in in your own terminal** Make an asset key in the Tyrbo app (Settings, Asset gen) and paste it into asset login yourself. The agent never asks for the key and never runs the login. `asset login`

Aider’s own docs, read November 25, 2026:

- [https://aider.chat/docs/usage/commands.html](https://aider.chat/docs/usage/commands.html)
- [https://aider.chat/docs/config/options.html](https://aider.chat/docs/config/options.html)

## The commands

```
asset image room "a small square dungeon room seen from above at a slant, filling the whole picture: the back wall of big stone blocks with its face showing, short side walls, a worn flagstone floor, a doorway in the back wall, empty, no characters, no props, no torches"
asset image props "a dungeon's furniture and clutter" --kind props --names barrel,crate,table,chest,weapon-rack,banner,bones,candles,pillar,well
asset icons "a dungeon crawler's loot" --names health-potion,mana-potion,key,sword,shield,coin,scroll,gem
asset ui "a torchlit dungeon crawler's HUD in carved stone and dark iron with gold trim" --desktop
asset spend
```

## Made by the CLI, not drawn for this page

Real files the asset CLI wrote, each under the command that made it.

![A small square dungeon room seen from above at a slant: stone walls, a carved door, a sun set in the flagstones](https://tyrbo.ai/asset-gen/crypt/room.webp)

### See prompt

`asset image room "a small square dungeon room seen from above at a slant, filling the whole picture: the back wall of big stone blocks with its face showing, short side walls, a worn flagstone floor, a doorway in the back wall, empty, no characters, no props, no torches"`

![The room’s props on one sheet: a barrel, a crate, a table, a chest, a weapon rack, a banner, bones, candles, a pillar and a well](https://tyrbo.ai/asset-gen/crypt/props.webp)

### See prompt

`asset image props "a dungeon's furniture and clutter" --kind props --names barrel,crate,table,chest,weapon-rack,banner,bones,candles,pillar,well`

![A sheet of 64 loot icons in the same look: potions, a key, a sword, a shield, coins, a scroll, gems and more](https://tyrbo.ai/asset-gen/crypt/icons.webp)

### See prompt

`asset icons "a dungeon crawler's loot" --names health-potion,mana-potion,key,sword,shield,coin,scroll,gem`

![The interface laid out on a desktop: the HUD over the keep, its pause menu, and its end screen](https://tyrbo.ai/asset-gen/crypt/ui-desktop.webp)

### See prompt

`asset ui "a torchlit dungeon crawler's HUD in carved stone and dark iron with gold trim" --desktop`

## How the art gets into the chat

There are two paths, and you hold the key to both:

1. **You run it.** `/run asset image props "…" --names barrel,crate` runs the command, then Aider offers to add what it printed to the chat. Say yes, and the JSON line naming `barrel.png`, `crate.png` and the sheet is in front of the model.
2. **Aider suggests it.** Shell suggestions are on by default. When Aider proposes an `asset` command, you read it, and it runs only if you agree. `--no-suggest-shell-commands` turns this off if you would rather type every call.

Either way, nothing is spent behind your back: a paid call is quoted first and refused when your credits cannot cover it.

## Conventions Aider keeps reading

Aider can load a conventions file read-only with `/read`, or every time with `--read` on the command line. Put the agent lines from the [docs](https://tyrbo.ai/asset-generator/docs) in it: the look first, `--mock` before a real call, `asset <verb> --help` for flags, and the title screen once the rest is in. Add the paths your loader expects, so the code Aider writes matches the files the CLI makes.

This dungeon started without `asset look`, which is allowed: with no look set, the first picture becomes it, and the props, the icons and the interface followed the room.

## One call, many files

Two calls on this page do a lot each. `asset image props` with `--names` draws ten pieces of furniture on one sheet at one scale and cuts them apart. `asset icons` always draws a full sheet of 64 in one picture, the named ones first, which is cheaper than asking for icons one at a time. Then `asset ui --desktop` builds the interface from the same stone and iron, previewed as `ui-desktop.png` beside a `UI.md` that says what a last look found wrong.

When a call fails, the reason prints on stderr and the exit code is 1, which is in the output Aider reads, so it can suggest a better command.

## Questions people ask

### Do I need an MCP bridge for Aider?

No. Asset gen is a normal command, so `/run` covers everything the server would do. Aider’s own docs describe no MCP support.

### Can I try the commands before I log in?

Yes. Add `--mock` to any of them: it runs offline with no key and writes stand-ins under the real file names, which is a good way to let Aider write the loader first.

### Does Aider see the pictures themselves?

It sees the file names and numbers in the output. If your model reads images, add a picture to the chat as you would any file and ask Aider what to change.

## For your coding agent

- [Game assets for Claude Code](https://tyrbo.ai/ai-game-assets-for-claude-code)
- [Game assets for Cursor](https://tyrbo.ai/ai-game-assets-for-cursor)
- [Game assets for Codex](https://tyrbo.ai/ai-game-assets-for-codex)
- [Game assets for Gemini CLI](https://tyrbo.ai/ai-game-assets-for-gemini-cli)
- [Game assets for Cline](https://tyrbo.ai/ai-game-assets-for-cline)
- [Game assets for Kilo Code](https://tyrbo.ai/ai-game-assets-for-kilo-code)
- [Game assets for Roo Code](https://tyrbo.ai/ai-game-assets-for-roo-code)
- [Game assets for OpenCode](https://tyrbo.ai/ai-game-assets-for-opencode)
- [Game assets for Windsurf](https://tyrbo.ai/ai-game-assets-for-windsurf)
- [Game assets for GitHub Copilot](https://tyrbo.ai/ai-game-assets-for-github-copilot)
- [Game assets for Zed](https://tyrbo.ai/ai-game-assets-for-zed)
- [Game assets with Ollama](https://tyrbo.ai/ai-game-assets-with-ollama)

## More from the asset generator

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Docs](https://tyrbo.ai/asset-generator/docs)
- [Top-down RPG character sprite sheet](https://tyrbo.ai/top-down-rpg-character-sprite-sheet)
- [AI 3D model generator for games](https://tyrbo.ai/ai-3d-model-generator-for-games)
- [Auto-rig a 3D model for games](https://tyrbo.ai/auto-rig-3d-model-for-games)
- [Game UI generator](https://tyrbo.ai/game-ui-generator)
- [AI sprites for Godot](https://tyrbo.ai/ai-sprites-for-godot)
- [Pixel art asset generator](https://tyrbo.ai/pixel-art-asset-generator)

## Install it, then ask for the look.

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)

Make a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.

---

This is the Markdown version of https://tyrbo.ai/ai-game-assets-for-aider, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt