News for hackers. Stuff that matters.
Re:Let your Coding Agent debug the browser session with Chro... by quotemstr on Sunday March 15, 2026 @06:47PM (#47392827)
Imagine if, in addition to local MCP "servers", the MCP people had nurtured a structured CLI-based --help-equivalent consumable by LLMs and shell completion engines alike. Doing so, you unify "CLI" (trivial deployment; human accessibility) and MCP-style (structured and discoverable tool calling) in a single DWIM artifact.

But since when has this industry done the right thing informed by wisdom and hindsight?

Re:Let your Coding Agent debug the browser session with Chro... by rsalus on Sunday March 15, 2026 @07:19PM (#47393091)
that's a pretty interesting idea. It would be nice if there was such a standard. the approach I'm taking right now: a CLI that accepts structured JSON as input, with an 'mcp' subcommand that starts a stdio server. I bundle a 'help' command with a 'describe' action for self-service guidance scoped to a particular feature/tool.
Re:Let your Coding Agent debug the browser session with Chro... by yammosk on Sunday March 15, 2026 @10:51PM (#47394668)
There are actually a lot of great things you can to to make CLIs more helpful to agents. I use a structured help called '--capabilities' but there is a ton of JIT context you can do from the CLI as well https://keyboardsdown.com/posts/01-agent-first-clis/
Re:Let your Coding Agent debug the browser session with Chro... by debugnik on Monday March 16, 2026 @06:08AM (#47397096)
That structured CLI already exists: PowerShell cmdlets.
Re:Let your Coding Agent debug the browser session with Chro... by quotemstr on Monday March 16, 2026 @01:03PM (#47401657)
Not in any meaningful, general way on Unix systems it doesn't. Nobody uses psh outside Windows
Re:Let your Coding Agent debug the browser session with Chro... by AshleyGrant on Monday March 16, 2026 @04:10PM (#47404221)
Maybe they should consider using it.
Re:Let your Coding Agent debug the browser session with Chro... by quotemstr on Monday March 16, 2026 @09:18PM (#47407409)
Okay, but they won't. We both know that. Now what?
Re:Let your Coding Agent debug the browser session with Chro... by debugnik on Monday March 16, 2026 @02:17PM (#47402708)
But nobody is using your hypothetical "structured CLI-based --help-equivalent consumable by LLMs and shell completion engines alike" either. In terms of mindshare, you're starting from scratch either way.

I just remembered docopt, which maybe fits the bill in a more Unixy way, but it and its ports are mostly abandoned, for various reasons.