You could hardcode the script as a file within a skill too right? Skills can contain code, not just markdown files.