Baking only set keyframes instead of whole animation?

I was working on this commission and was wondering, if somewhere exist a add-on or tool with that i can bake only set keyframes, without creating new one on every frame?

I explain it here with this example and hope its understandable, waht i would like to know.

2025-01-08 14-17-11.mp4