What is shellfirm
Safety guardrails for ai coding agents and human terminal commands. Humans make mistakes. AI agents make them faster. shellfirm intercepts dangerous shell commands before the damage is done.
Features
- Safer alternatives, many checks suggest a safer command (e.g. --force-with-lease)
- Severity levels with configurable thresholds (Critical, High, Medium, Low, Info)
- MCP server and agent hooks, use shellfirm as a guardrail for Claude Code, Cursor and other agents
What shellfirm does
From the project README: "This is real output, captured in zsh with default settings on the protected main branch. (In bash the banner starts after a blank line. Off a protected branch the challenge is not escalated, and the banner also tells you how to stop being asked: shellfirm config ignore ; that hint is left out when the context raised the challenge.) The exact output depends on the command, your settings and where you run it."
Project details
shellfirm is a Rust project published on GitHub by kaplanelad, under the Apache-2.0 license. It has about 953 GitHub stars. The repository was last updated in October 2026. The project also lists a homepage at https://shellfirm.vercel.app/.
Topics
The maintainers tag shellfirm with: agent, ai, captcha, devops, devops-tools, mcp, prompt, rust, shell, terminal.
FAQs
Is shellfirm free to use?
Yes. shellfirm is open source and published under the Apache-2.0 license.
What language is shellfirm written in?
shellfirm is mainly written in Rust, according to its GitHub repository.
Is shellfirm still maintained?
It was last updated in October 2026. Check the repository's issues and releases for current activity.