Isn't it basically automated? Just don't use normal attacks, but sneak attacks, and you crit if you should , you hit if you shouldn't.
Also there is an indicator by the hit chance % sign, which say if you've got advantage.