PossessedShell: A Victorian-Themed Terminal Companion Uses Local Gemma 2 to Diagnose Failed Commands
PossessedShell is an open-source companion for zsh and bash that uses a locally run Gemma 2 model to analyze commands that exit with errors. The tool captures the failing command, its error output, and exit code, then produces a plain-language diagnosis along with one suggested fix that is pre-filled for the user to accept or decline. It also intercepts destructive commands such as rm -rf and git push --force, asking for confirmation before they run. A background monitor additionally warns when CPU or memory usage becomes excessive. The developer built the project as an entry in a Hacktoberfest open-source AI challenge, and the whimsical Victorian ghost theme is layered over functional diagnostics.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in