You could have a skill that is the combination of a minimal markdown file and a set of orchestration scripts that do the deterministic work. The agent does not have to “run everything”, it just needs to know how to launch the right script.
And I wish I could make even more deterministic. Maybe I can, but it can also be a bit challenging to sort.