frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

3•smudgy3746•2h ago
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) 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 they're invoked remotely) via the llm of my choosing.

This way LLM tools are never granted SSH access to the server, and nothing needs to be installed to the server. In fact, the server does not even need outbound internet connections to be enabled.

Eager to get feedback!

Github: https://github.com/tgalal/promptcmd/

Comments

abhi-3•1h ago
How does it handle large outputs? If I pipe a big config file through, does the full content travel back to local for LLM processing, or is there any streaming/chunking?
smudgy3746•1h ago
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: Argo – Turn Playwright scripts into polished demos with AI voiceover

1•shreyask•13s ago•0 comments

Free Email List Cleaner – Improve Email Deliverability and Campaign Performance

1•Johnhenryer•34s ago•0 comments

AI, Layoffs and the Shifting Tech Job Landscape

https://inc42.com/buzz/ai-layoffs-and-the-shifting-tech-job-landscape/
1•saikatsg•4m ago•0 comments

Made-in-Canada Circuit Boards

https://www.reilindustrial.com/
2•jbm•8m ago•0 comments

The MacBook Air 13 (M5) is still the best ultraportable I've ever used

https://www.techradar.com/computing/macbooks/apple-macbook-air-13-inch-m5-review
1•mounram•9m ago•0 comments

Precious metals boom catches the attention of organized crime in Mexico

https://english.elpais.com/international/2026-02-21/precious-metals-boom-catches-the-attention-of...
2•PaulHoule•9m ago•0 comments

How Safe Is Plasma Donation?

https://www.nytimes.com/2026/03/13/health/plasma-donation-safety.html
1•koolba•9m ago•0 comments

Most EU startups use US hosting services

https://www.cloudinfraatlas.eu/scan/
1•domdaddydo•10m ago•2 comments

The anxiety driving AI's brutal work culture is a warning for all of us

https://www.theguardian.com/technology/ng-interactive/2026/feb/17/ai-startups-work-culture-san-fr...
5•saikatsg•12m ago•0 comments

The Boom in Autism Therapy Is Medicaid's Fastest-Growing Jackpot

https://www.wsj.com/health/healthcare/autism-therapy-medicaid-payments-640aa435
1•impish9208•13m ago•1 comments

Show HN: Anthrology – Time-Traveling Radio

https://anthrology.site/
3•airstrike•13m ago•0 comments

U.S. Tech Giants Flocked to the Persian Gulf. Now They Are Targets

https://www.nytimes.com/2026/03/13/technology/amazon-google-persian-gulf-war.html
9•standardUser•16m ago•0 comments

A one-question experiment to measure trust

https://trust-ledger-11.preview.emergentagent.com/trust-test
1•roeik•17m ago•0 comments

Show HN: Mutate – free inline text replacement for Mac

https://github.com/robert-v/Mutate-public
2•rob3rth•17m ago•1 comments

Evan You shows VOID: Vite-native deployment platform [video]

https://www.youtube.com/watch?v=Bp86buftbX8
1•CharlesW•18m ago•0 comments

Digg: A Hard Reset, and What Comes Next

https://digg.com/
2•pavel_lishin•20m ago•2 comments

Florida's New "Thought Police" Bill Is Real (HB 945) [video]

https://www.youtube.com/watch?v=9wjnBWnL8bM
1•hrimfaxi•20m ago•1 comments

AI engineer uses ChatGPT+AlphaFold to develop cancer vaccine for his dog

https://www.theaustralian.com.au/business/technology/tech-boss-uses-ai-and-chatgpt-to-create-canc...
4•bensandcastle•22m ago•1 comments

Right to Compute Act (NH HB1124)

https://legiscan.com/NH/text/HB1124/id/3286560
1•maxwell•24m ago•0 comments

GitHub infuriates students by removing some models from free Copilot plan

https://www.theregister.com/2026/03/13/microsoft_github_removes_models_student_plan/
2•raybb•27m ago•0 comments

Who Goes Nazi? (1941)

https://harpers.org/archive/1941/08/who-goes-nazi/
12•Anon84•28m ago•2 comments

Reverse-engineering Claude's generative UI – then building it for the terminal

https://michaellivs.com/blog/reverse-engineering-claude-generative-ui/
1•gmays•28m ago•0 comments

coming soon: fashion critique newsletter

https://igasped.substack.com/about
2•kholiflower•31m ago•1 comments

Show HN: I save £300/mo by auto-scaling my staging cluster at night

https://github.com/tiny-systems/desktop-client
1•gtpoxa•31m ago•0 comments

Claude Visual and Interactive Content

https://support.claude.com/en/articles/13641943-visual-and-interactive-content
2•droidjj•32m ago•0 comments

Accidental complexity, essential complexity, and Kubernetes (2022)

https://jamsocket.com/blog/complexity-kubernetes
1•Tomte•34m ago•0 comments

US Gas spending increase since Feb 28

https://gas-cost-of-iran-war.netlify.app/
2•loss_flow•34m ago•2 comments

Show HN: DJX – Convention over Configuration for Django (Rails-Inspired CLI)

2•RedsonNgwira•35m ago•0 comments

Waller: A game teaching the fundamentals of drystone walling

https://www.orthodoxmasonry.com/waller
4•CGMthrowaway•36m ago•0 comments

How do you capture WHY engineering decisions were made, not just what?

14•zain__t•38m ago•11 comments