I've been using this and it works fine, mostly. Odd thing is that when I want them to train, I only seem to have the option to train archery unless I use the party training option. But then when I select train melee, they just stand there in a ready stance.
Also, I wanted a hand to hand fighter, so I used the CS to make a fighter strong in hand to hand. I should mention that I was level 19 at the time. When I loaded the companion, they had a hand to hand skill of 27. It should be a lot higher than that for a companion of level 18.
Also, the only way I could get them to stop running for a weapon and focus on beating enemies with their fists is to give them a bow but no arrows. Leaving them with no weapons at all seems to force them into a loop of always running around during every fight until they find a weapon.