News for hackers. Stuff that matters.

smudgy3746

Show HN: LLM prompts as CLI progs with args, piping, and SSH forwarding

Hey HN!I am an avid terminal user who sees value in prompts executing like, and having the UX of native CLI programs, i.e., with --help, argument parsing, stdin/stdout, and composability via pipes.So I came up with a tool (not vibe-coded, built over 4+ months) where you write a .prompt file with a template (Handlebars-style), enable it with promptctl enable, and it becomes a command you can run...

( Read More... | no comments | 2 points | on HN )

Show HN: Execute local LLM prompts in remote SSH shell sessions

https://github.com/tgalal/promptcmd

Hi HN,This is a tool I've worked on the past few months (not vibe-coded).Instead of giving LLM tools SSH access or installing them on a server, the following command: $ promptctl ssh user@server makes a set of locally defined prompts "magically" appear within the remote shell as executable command line programs.For example, I have locally defined prompts for `llm-analyze-config` and `askai`....

( Read More... | no comments | 2 points | on HN )
It does travel back to local entirely. It's streamed, although buffered at local before making the completion. I also imagine on the fly compression at remote and decompression at local should be possible

Show HN: Execute local LLM prompts in remote SSH shell sessions

Hi HN,This is a tool I've worked on the past few months.Instead of giving LLM tools SSH access or installing them on a server, the following command: $ promptctl ssh user@server makes a set of locally defined prompts "magically" appear within the remote shell as executable command line programs.For example, I have locally defined prompts for `llm-analyze-config` and `askai`. Then on (any)...

( Read More... | 2 comments | 3 points | on HN )