Maximal freedom at minimum cost: linear large-scale structure in general modifications of gravity

We present a turnkey solution, ready for implementation in numerical codes, for the study of linear structure formation in general scalar-tensor models involving a single universally coupled scalar field. We show that the totality of cosmological information on the gravitational sector can be com…