Beachcomber is a daemon designed to cache shell environment state, enabling multiple consumers such as prompts, status bars, and editors to access shared information without redundant computation. It addresses the inefficiency of traditional workflows where each terminal pane, status bar, or editor independently computes the same environment details—such as git status or battery level—resulting in excessive CPU usage, hundreds of threads, and duplicated file system monitoring. By centralizing this work, Beachcomber reduces system overhead and streamlines access to environment data.
The tool operates as a single asynchronous daemon that monitors directories using native operating system APIs. When changes are detected or timers trigger, it runs providers to compute the relevant state, caching the results in memory. Consumers, including CLI tools, editors, and status bars, read from this cache via a Unix socket, ensuring rapid access—performance data cited includes 15 microsecond queries and sustained throughput of 45,000 requests per second on a single socket. The daemon supports 16 built-in providers for common environment details such as git status, hostname, user, load, uptime, Kubernetes context, and more. It also offers a script backend to extend caching to additional custom sources.
Beachcomber integrates with a wide range of terminal and development tools, including zsh, bash, fish, tmux, neovim, starship, polybar, waybar, sketchybar, and oh-my-posh. js, Go, Lua, Ruby, and C—published to their respective native registries. Installation can be performed through various package managers, including Homebrew, npm, pip, and Cargo. The daemon starts automatically upon the first query, facilitating seamless integration into existing workflows.
The project is distributed under the MIT License. Beachcomber is positioned as infrastructure for development environments, rather than a prompt theme, and is intended for developers and power users seeking to optimize terminal performance by eliminating redundant environment queries.
In the CLI tools & terminal space, Shell state, cached. takes a focused approach. It focuses on reducing redundant computation and latency in shell prompts and status bars by caching environment state. Shell state, cached. is an open-source project aimed at developers and power users. The project is open source (MIT). It runs on the command line, and it can be self-hosted.
It is developed by beachcomber contributors, and the product first shipped in 2026. The project is developed in the open on GitHub with 662 commits in the last 90 days. Among its 5 catalogued features are shell state caching, daemon process, and prompt acceleration.
Latest indexed changes and source events
Other apps tracked under the same category.