Let
be a skeletal modified Rota-Baxter pre-Lie 2-algebra. By Proposition 5.3, we can consider the cohomology of modified Rota-Baxter pre-Lie algebra
with coefficients in the representation
. For any
, combining Equations (3.1) and (5.7), we have
By Equations (3.2) and (5.12), there holds that
Thus,
that is
is a 3-cocycle of modified Rota-Baxter pre-Lie algebra
with coefficients in the representation
.