Adding cask task for go-agent and go-server

Closes #5352. Commits are squashed. The new preferred syntax is added.