CSSLab/maia3 ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python chess engine that can run as a UCI engine and plug into normal chess GUIs like Nibbler or any other UCI compatible app.

It should use a Maia 3 model checkpoint from Hugging Face, download it the first time, cache it, and then reuse it later. I want easy commands for the 5M, 23M, and 79M models, plus a way to pass a local checkpoint file. It should also let me set things like Elo, temperature, top p, and MultiPV from the command line.

Please make it work both from a normal install and by running directly from the repo, and include a small example using python chess. If there are any current library or UCI details that have changed, look them up online and follow the latest docs.