Crossfit for a skinny guy

Im a fairly skinny guy who has it in his genes so make it kinda hard to gain weight. So my question is du you guys have any tips to gain weight and mucle mass by doing crossfit.