Topic

CLI

CLI tooling news covering command-line utilities, developer tool creation, and terminal productivity tips from Hacker News and Lobsters.

What this topic tracks

  • Developer tool releases and ecosystem updates
  • Workflow automation and productivity practices
  • Practical setup, debugging, and integration lessons

CLI · 326 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Agent Mode in the DuckDB CLI

duckdb.org · 9 Oct

Artificial Intelligence · CLI · Database · AI Agents

DuckDB v2.0 CLI adds agent mode, automatically detecting AI coding agents and producing compact Markdown tables, explicit truncation markers, JSON errors, compact query plans, cost estimates, progress updates, and early query termination.

In a Claude Code test answering 22 TPC-H questions, all 132 runs were correct while output tokens fell 59% (123.6k to 50.8k), though overall cost and runtime barely changed because system prompts dominated input. Explicit format flags and CLI settings override the mode.

Introducing Kwi, a new KDE terminal emulator

blogs.kde.org · 1 Nov

CLI · Linux · Terminal

KDE developer has introduced Kwi, an experimental terminal emulator for KDE Plasma and other free desktops.

Built with libghostty-vt, KDE Frameworks, and Qt Quick/Kirigami, it provides Vulkan/OpenGL GPU-accelerated rendering and a public QML module for embedding terminals in modern KDE apps. Claimed benchmarks show 3x–35x higher performance than Konsole, alongside improved graphics, accessibility, and modern TUI protocol support. Kwi is pre-0.1.0, actively developing, and available through KDE Invent and nightly Flatpaks.

A Terminal Protocol for Program Status (OSC 7501)

mitchellh.com · 6 Oct

CLI · Terminal

Mitchell Hashimoto proposed OSC 7501, a generic terminal-native protocol for programs to report status such as idle, working, done, blocked, or error.

Sent through the existing pty as key=value pairs, it can include progress, app names, messages, and hierarchical task records. The specification avoids screen-reading heuristics and inbox-specific APIs, works over SSH and containers, and is simple to implement in POSIX sh. Implementations exist in libghostty, Rex, and prototypes for Terraform, Claude Code, Codex, and Homebrew.

I Built slothd: A Local-First, Offline-Capable AI Daemon That Patiently Organizes Your Messy Workspace

dev.to · 21 Oct

Artificial Intelligence · CLI · Python · Software Architecture

slothd is a local-first, offline-capable AI daemon that organizes messy workspaces when the user is idle.

Its two-stage funnel uses a 7-signal local heuristic or Prior Labs TabPFN for fast anomaly and duplicate detection, then Gemma 3 through Ollama for document and image understanding. Files are handled non-destructively with dry runs, SQLite WAL manifests, collision avoidance, and undo. Semantic search uses Tiger Data pgvector or a local SQLite fallback. A fixture scanned 10 files offline, flagged two anomalies, and found one duplicate set.

macOS 27 does not support CoreStorage volumes

wadetregaskis.com · 3 Nov

CLI · macOS · Operating Systems

macOS 27 effectively breaks CoreStorage and encrypted HFS+ volumes: they cannot be mounted, converted to APFS, or erased through normal tools, and misleadingly trigger a warning about macOS 28.

Direct read-only mounting with `mount_hfs` still works, but read-write access fails with “Resource busy.” A workaround is to delete the logical volumes, restart, then erase the physical volume; the author ultimately rebuilt affected storage from backups.

Is your Postgres migration safe or not safe?

safenotsafe.dev · 26 Sept

CLI · Database · SQL

safe-not-safe is an offline tool for checking PostgreSQL migrations, using libpg_query compiled to WASM in a browser worker and offering a CLI.

In the shown empty-file run, it finds no statements and flags none. The interface says telemetry is disabled and links to GitHub.

FIM – Linux framebuffer image viewer

nongnu.org · 17 Apr

CLI · Linux · Shell

FIM (Fbi IMproved) is an advanced command-line image viewer for GNU/Linux, inspired by VIM.

It supports multiple graphical devices, EXIF metadata display, and powerful scripting for navigation and batch processing. The software is released under the GPLv2 license and is highly customizable via configuration files.

Apideck CLI – An AI-agent interface with much lower context consumption than MCP

apideck.com · 16 Mar

Artificial Intelligence · CLI · Large Language Models

Using MCP servers to integrate services for AI agents often consumes excessive tokens due to large, upfront schema definitions.

This 'trilemma' forces a tradeoff between context space, integration depth, and complexity. CLIs offer a more efficient, reliable, and secure alternative through progressive disclosure and structural permission enforcement, drastically reducing token overhead compared to MCP.

DeepSeek v4.1 Flash 1017 for Dwarfstar (ds4)

huggingface.co · 18 Oct

Artificial Intelligence · CLI · Large Language Models

A 2.36 bpw GGUF quantization of DeepSeek-V4.1-Flash-1017 was built for DwarfStar (ds4), using 2.25 bpw routed experts and 8-bit-or-higher precision elsewhere.

The 340.60 GiB language file retains 188.83 GiB of native FP8 Engram tables, which ds4 streams from a local SSD, enabling up to 20 tps decoding with expert caching on 128 GB systems. Language inference works in current ds4; vision requires PR #1225 and the matching 0.90 GiB vision file.

Show HN: MDV – a Markdown superset for docs, dashboards, and slides with data

github.com · 18 Apr

CLI · Productivity · VS Code

mdv is a lightweight Markdown superset designed for creating documents, dashboards, and slides.

It adds YAML front-matter, fenced blocks for charts and stats, and simple containers for layouts. Renders include self-contained HTML and PDF outputs, supported by a CLI and a VS Code extension for live previewing. It avoids complex code, focusing on style-driven document rendering.

Show HN: DenchClaw – Local CRM on Top of OpenClaw

github.com · 9 Mar

Backend · CLI · Node.js

DenchClaw is an MIT-licensed tool requiring Node 22+ for managing OpenClaw profiles.

It features a web-based UI accessible at localhost:3100, an onboarding wizard, and a comprehensive CLI for managing gateways, configurations, and services. Developers can extend the project through its open-source repository using pnpm for building and web development.

Matchlock – Secures AI agent workloads with a Linux-based sandbox

github.com · 5 Feb

Artificial Intelligence · CLI · Linux

Matchlock is a specialized CLI tool and SDK designed to run AI agents within secure, ephemeral microVMs.

It addresses the significant security risks associated with agents executing code by leveraging Firecracker and Virtualization.framework to create isolated Linux environments that boot in under a second. Key features include a network allowlisting system and a unique secret injection mechanism using a Transparent Proxy with TLS MITM. This ensures that sensitive credentials never actually enter the VM; instead, the host injects them in-flight during API calls. Matchlock supports OCI images, local development on macOS and Linux, and provides Go and Python SDKs for programmatic sandbox management.

Show HN: Rudel – Claude Code Session Analytics

github.com · 12 Mar

Artificial Intelligence · CLI · Monitoring

Rudel.ai provides an analytics dashboard for Claude Code, tracking token usage, session duration, and model activity.

Utilizing a Bun-based CLI and ClickHouse for data storage, it enables developers to monitor coding-agent transcripts. While offering deep git-context and sub-agent insights, users should note it processes sensitive session content, including source code and secrets.

Getting debug access on a Brother printer over Telnet

inventor7777.github.io · 26 Oct

CLI · Cybersecurity

Reverse engineering the Brother MFC-L8900CDW firmware revealed a 32-bit ARM system running T-Kernel, with Datalight storage components, Lua 5.2.3, and separate printer-engine control.

The firmware includes T-Monitor and a distinct Brother debug console. With Telnet enabled and the admin password, the console reportedly enters debug mode after a blank username and `SET USER 640184.571119`; additional wireless QA/development modes use other codes. Commands expose tasks, heap, diagnostics, and redirection, but were not extensively tested.

Git Gud!

dev.to · 17 Aug

CLI · Git · GitHub

This beginner-friendly guide helps GitHub Desktop users transition to Git CLI.

It explains a practical workflow—git init or git clone, git add and git restore, git commit, git fetch/pull/push, branch creation and switching, and git status—using Hollow Knight: Silksong analogies. It emphasizes meaningful commit messages and encourages consulting official documentation.

Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build

github.com · 24 Mar

Artificial Intelligence · CLI · Testing

ProofShot is an open-source, agent-agnostic CLI that enhances AI coding agents with a browser-based verification workflow.

It records video, captures screenshots, and logs browser/server errors, providing a complete proof bundle for human review. It integrates seamlessly with tools like Claude Code and Cursor, enabling agents to verify UI features independently without vendor lock-in.

A retro terminal music player inspired by Winamp

github.com · 23 Mar

CLI · Go · Terminal

cliamp is a retro-style terminal music player inspired by Winamp.

Built with Go, it supports local files, podcasts, streaming services, and platforms like YouTube and Spotify. It includes a spectrum visualizer, parametric EQ, and playlist management, offering extensive configuration via a CLI.

Show HN: Mcp2cli – One CLI for every API, 96-99% fewer tokens than native MCP

github.com · 9 Mar

CLI · Large Language Models · Performance

mcp2cli is a runtime CLI generator for MCP servers and OpenAPI specs that eliminates code generation.

It reduces LLM token usage by 96-99% by replacing massive tool schemas with deferred, on-demand discovery. Compatible with any LLM, it features built-in caching, authentication support, and token-efficient TOON encoding for optimized AI consumption.

Where it came fromHacker NewsLobstersDev.toDuckDBRedditCreate a Snapbyte.dev digest and choose CLI as one of your topics.Build your digest