frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

2•smudgy3746•1h ago
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 in your terminal. For example:

So I built a tool where you write a .prompt file with a template (Handlebars-style), enable it with `promptctl enable`, and it becomes a command you can run:

  cat compose.yml | askdocker "add a load balancer"
  ai-analyze-logs --container nginx
It supports multiple providers (Anthropic, OpenAI, Ollama, OpenRouter, Google), load balancing across them, response caching, and custom model "variants" with different system prompts.

The feature I am most excited about is:

  promptctl ssh user@host
This makes all your local prompt commands available on the remote machine, but execution happens locally. The remote server never needs API keys, internet access, or any installation. It works by forwarding the prompts over the SSH connection.

I wrote this in Rust with 300+ commits in already. Would love feedback, especially on the SSH workflow.

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

Show HN: AgentClick – Human-in-the-loop review UI for AI coding agents

https://github.com/agentlayer-io/AgentClick
1•harvenstar•52s ago•1 comments

How QR Codes Work

https://www.guidavid.com/writing/qr-codes
1•gdss•1m ago•0 comments

The Government Surveillance Reform Act of 2026 [pdf]

https://www.wyden.senate.gov/imo/media/doc/government_surveillance_reform_act_of_2026pdf.pdf
1•jesseendahl•1m ago•0 comments

Section 230's Application to Account Terminations, CSAM, and More

https://blog.ericgoldman.org/archives/2026/03/section-230s-application-to-account-terminations-cs...
1•hn_acker•4m ago•0 comments

Is Using Airplane Mode on Flights Still Necessary?

https://www.insidehook.com/travel/airplane-mode-still-necessary
1•RickJWagner•4m ago•0 comments

Preventing agent drift: A guide to shipping serious code via vibe-coding

1•surajkrajan•4m ago•0 comments

Ask HN: How could a Starlink IPO possibly work?

2•infinitewars•4m ago•0 comments

We're writing agent grammar before the language exists

https://mvrckhckr.com/articles/were-writing-grammar-before-the-language-exists
1•mvrckhckr•7m ago•0 comments

The new economics of sex work

https://www.economist.com/finance-and-economics/2026/03/19/the-new-economics-of-sex-work
1•thunderbong•7m ago•0 comments

Show HN: Revspec – Review AI specs in the terminal with live AI replies

https://github.com/icyrainz/revspec-py
1•icyrainz•8m ago•0 comments

Composer 2

https://cursor.com/blog/composer-2
2•meetpateltech•10m ago•0 comments

Vivaldi 7.8 Is Here

https://vivaldi.com/blog/vivaldi-on-desktop-7-8/
1•andhuman•11m ago•0 comments

Pentagon asks for $200bn for Iran War

https://www.bloomberg.com/news/articles/2026-03-19/hegseth-says-iran-war-not-becoming-a-forever-w...
6•master_crab•13m ago•0 comments

Mastering the Spreadsheet of Everything

https://spreadsheetofeverything.com/
1•teleforce•15m ago•0 comments

Britain's geospatial data is a mess

https://takes.jamesomalley.co.uk/p/britains-geospatial-data-is-a-mess
2•DamonHD•16m ago•1 comments

Show HN: Dual-API Bash Weather CLI for Waybar and Hyprland (Wttr.in+Open-Meteo)

https://github.com/jimishol/weather-cli-dualprovider
2•jimishol•17m ago•0 comments

Physicists create formula for how many times you can fold a crêpe

https://www.newscientist.com/article/2519634-physicists-create-formula-for-how-many-times-you-can...
1•Brajeshwar•17m ago•0 comments

Decoded: GNU Coreutils (2019)

https://www.maizure.org/projects/decoded-gnu-coreutils/
1•csmantle•17m ago•0 comments

Using Rust and Postgres for everything: patterns learned over the years

https://kerkour.com/rust-postgres-everything
2•randomint64•17m ago•0 comments

Counter-Strike 2's new reload system could upend the game

https://arstechnica.com/gaming/2026/03/after-25-years-valve-reworks-counter-strikes-reload-system/
1•Tomte•17m ago•0 comments

Startup's agent hacked McKinsey AI – exposing volumes of sensitive data

https://www.thestack.technology/mckinsey-ai-agent-hacked-lilli/
1•gcanyon•17m ago•1 comments

The Hegseth Doctrine? Military-Academic De-Coupling Competition

https://www.lawfaremedia.org/article/the-hegseth-doctrine--military-academic-de-coupling-competition
2•hn_acker•20m ago•0 comments

DC Traffic Camera Ban Passes a Committee Vote in the House

https://washingtonian.com/2026/03/19/dc-traffic-camera-ban-passes-a-committee-vote-in-the-house/
4•cuuupid•21m ago•1 comments

How Google Maps is shaping where we eat [video]

https://www.theguardian.com/world/video/2026/mar/19/how-google-maps-is-shaping-where-we-eat-video
2•mykowebhn•22m ago•0 comments

Show HN: 3 AI agent trust systems cross-verified each other's delegation chains

https://github.com/kanoniv/agent-auth/issues/2
1•dreynow•23m ago•0 comments

Anthropic Major Outage

https://status.claude.com/incidents/bf1hsq5gbm9b
4•hmokiguess•23m ago•2 comments

World Happiness Report 2026

https://www.worldhappiness.report/ed/2026/
1•ChrisArchitect•24m ago•0 comments

Integrated Gauges: Lessons Learned Monitoring Seastar's IO Stack

https://www.scylladb.com/2026/03/17/integrated-gauges-lessons-learned-monitoring-seastars-io-stack/
1•cyndunlop•24m ago•0 comments

Show HN: Import Your AI Memory into ContextForge

https://contextforge.dev/blog/import-your-ai-memory-into-contextforge-claude-code-chatgpt-and-kno...
1•alfredoizjr•25m ago•0 comments

A Kaggle Grandmaster Tries to Semi-Automate Himself

https://github.com/ledmaster/ml-mania-2026
2•mariofilho•27m ago•0 comments