Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
1–10 of 11 posts
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#2Can you give an example of your use case?
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#3Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#4They do. See: Claude Code leak.
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#5I am writing my own harness, and I would love to hear more about what you have in mind. Can you give an example of your use case?
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#6create a skill that transformed the json then "/ "
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#7I am writing my own harness, and I would love to hear more about what you have in mind. Can you give an example of your use case?
i have a bunch of md templates at my disposal, which serve as the basis for my prompt toolbelt... these templates are populated and crystalized with concrete json instances... the json instances are tailored & scoped for various tasks... currently i have to synthesize a bunch of markdown artifacts that pollute my project directory and are at risk of becoming stale and out-of-sync... prompt-time middleware hooks that…
The newer models are nice, but the harness is the secret sauce that can make or break the experience. I wish we had better open tools for using/modifying these types of things.
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#8Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#9that's sort of what skills are. create a skill that transformed the json then "/ "
Re: Ask HN: Why don't LLM harnesses enable/expose custom middleware hooks?
#10https://pi.dev specifically prides itself on having many extensions hook points. Is that one you've looked at? If so, it might be something they'd be willing to add a hook for if you open an issue.