Agree with 2/0 short run, and lots of clean contact area to frame.
Agree with "Same as largest wire . . ." to the extent that you may have multiple wires from a distribution point / busbar and if so I would also use 2/0 from the batts to that location on a short run.
If you go longer, go 3/0
.