Execute local prompts in SSH remote shells
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) remote host I can: $ promptctl ssh user@host # Now on remote host $ llm-analyze-config /etc/nginx.conf $ cat docker-compose.yml | askai "add a load balancer" the prompts behind `llm-analyze-config` and `askai` execute on my local computer (even though…
Execute local prompts in SSH remote shells launched on March 11, 2026 with 7 votes, #1,458 of 23,380 launches that month and more than 75% of that year's launches.
What it does
Turn GenAI prompts into runnable programs
The SSH integration enables you to bring your prompts and execute them on a remote server via SSH. In interactive mode, your prompts become available in your remote shell session, executable exactly like on your computer. When executing a prompt, you can change the "execution context" to become that of a remote SSH server. log_analyzer --ssh-dest user@remote_host This tells remote-capable helpers to execute on the indicated server rather than on your local machine. {{ cat "/var/log/nginx.conf" }} then executing the prompt with --ssh-dest would fetch and render /var/log/nginx.conf from the specified server. Without --ssh-dest , it would be read locally. Interactive mode allows you to SSH…from docs.promptcmd.sh
In the maker’s words, at launch
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…
Does a similar job
all alternatives →
Prompting LLMs in Bash scripts2025 · elijahpotter.dev · ▲79https://github.com/elijah-potter/ofc
Get answers for shell commands from GPT3 from your terminal2022 · github.com · ▲159I was constantly googling CLI commands so I built this small CLI tool with GPT3. You can ask for shell commands right from the CLI. You'd need to use your own API KEY for this but it's pretty simple, instructions are in the README Not perfect but not bad either.
Llm2sh – Translate plain-language requests into shell commands2024 · github.com · ▲67This is my take on the common "use llms to generate shell commands" utility. Emphasis is placed on good CLI UX, simplicity, and flexibility. `llm2sh` supports multiple LLM providers and lets LLMs generate multi-command sequences to handle complex tasks. There is also limited support for commands requiring `sudo` and other basic input. I recommend using Groq llama3-70b for day-to-day use. The ultra-low latency is a game-changer - its near-instant responses helps `llm2sh` integrate seamlessly into day-to-day tasks without breaking you out of the 'zone'. For more advanced tasks, swapping to…

Runprompt – run .prompt files from the command lineNov 2025 · github.com · ▲134I built a single-file Python script that lets you run LLM prompts from the command line with templating, structured outputs, and the ability to chain prompts together. When I discovered Google's Dotprompt format (frontmatter + Handlebars templates), I realized it was perfect for something I'd been wanting: treating prompts as first-class programs you can pipe together Unix-style. Google uses Dotprompt in Firebase Genkit and I wanted something simpler - just run a .prompt file directly on the command line. Here's what it looks like: --- model: anthropic/claude-sonnet-4-20250514 output:…
A library to add a command promp (and telnet) to your programs2020 · github.com · ▲82Libmish adds a command prompt to your program, and telnet access. With your own commands. - buserror/libmish
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 21d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2026
the whole month →


Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com
Littlebird▲709Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.
AI · Mar 2026 · littlebird.ai

