logoalt Hacker News

fnytoday at 4:27 AM2 repliesview on HN

Secret: "compile" that orchestration prompt. Determinism is solved by turning prompts into code that can in turn run agents or run code or both.

Everyone misses this pattern with skills: you can just drop code alongside a SKILL.md to guarantee certain behaviors, but for some reason everyone's addicted to writing prompts. You don't even need to build a CLI. A simple skill.py with tasks does it. You can even have helpers that call `claude -p`!


Replies

robinducketttoday at 12:13 PM

Exactly this, I tend to work this way. I built an ingestion pipeline to pull concepts out of a novel using Qwen and push them into falkordb this way

krzyktoday at 9:28 AM

Could you elaborate what does "compiling orchestration prompt" mean?

show 1 reply