Capturing procedures as skills