Constraints on the skewness coefficient of symmetric nuclear matter within the nonlinear relativistic mean field model