cosmprund
is a tool designed to prune a Tendermint database of blocks and a Cosmos-SDK application database of all but the last X versions.
This helps users avoid the need to state sync every few days.
While it currently supports a subset of modules, it effectively prunes the default SDK module and the Osmosis added module.
Note that due to inefficiencies in IAVL and the simple approach of this tool, pruning large nodes can take a significant amount of time. The team is working on integrating this functionality natively into the Cosmos-SDK and Tendermint.