Tools · Free · MIT · Open source

Image Guard

A session shouldn’t die because a screenshot got old.

Image Guard: keep long OpenCode sessions under the image limit. Original repository banner.
Original artwork from the Image Guard repository.

Inside the project

What it is.

OpenCode replays the conversation on every turn. Attach enough screenshots and the provider eventually refuses the whole request for carrying too many images. Image Guard keeps the newest images and replaces the older ones in the outgoing request with a short text marker.

Only the outgoing request changes. The session still shows every original image, and nothing is deleted from disk.

My part

The plugin, its options and its tests.

Newest images stay

By default the newest 24 images are kept in each request. Older ones become a short marker saying an image was left out.

Nothing is deleted

The session history and the files on disk are left alone. A pruning failure never blocks the request.

Scoped to one provider

It guards the OpenCode Go provider by default, and can be pointed at another provider or at all of them.

Another corner

More to explore.

Velocity Radar’s share card: “The ten fastest-moving Solana tokens, with the maths behind every score”, above a bar showing the score formula.
ToolsVelocity Radar

Velocity Radar

A Solana market-research project that brings token movement, liquidity and signal context into one place.

Official TradersTavern artwork with a TT monogram, rising-line mark and TradersTavern wordmark in purple, cyan and white.
ToolsPersonal project

TradersTavern

A trading community and education website, with TradingView indicators and custom tool development for TradingView and MT5.

Design Replayable Social Games: clear first actions, useful cooperation, reasons to return. Original Madebyhobo repository banner.
ToolsPersonal project

Design Replayable Social Games

A free design skill for shaping clear first actions, useful cooperation and one small, playable experiment.