How to just apply an animation to a model once (in editor)?

I have a model (skinned mesh renderer) placed in the scene (it’s a normal humanoid).

Normally in the editor the model has its default pose; in most models that’s the T-Pose,
how can I change that?

How can I apply the first frame of an animation clip to the model as it is?
I simply want to move and rotate the bones so it looks like the model would be playing a given clip paused at 00:00.

The model only serves as a preview in the editor; so there’s no need for the animation to actually play.
Just a onetime setup that makes it nicer to look at in the editor.

I got the ExecuteInEditMode and I have a reference to the animator, but how do I actually apply the clip while not in play-mode?

Solved

Simplest possible example:

animatorController.runtimeAnimatorController.animationClips[0].SampleAnimation(myGameObject, 0f);