Tested Templates & Toolstested before it ships

● Free scripts · MIT

agent-ops-free

Read-only safety checks for a Linux server, especially one run by an AI agent. None of them change the machine.

git clone https://testedtemplates.com/code/agent-ops-free.git
ScriptWhat it checks
docker-port-audit.shContainer ports published beyond loopback, which bypass ufw. Exits 1 if any are found.
preflight.shSSH hardening, ufw and its SSH rule, public ports, Docker exposure, failed units, secret-file permissions.
mcp-ops-guardrails.pyLocal MCP checks for sudoers, systemd, sshd, ufw, Docker ports, and secret leaks. Install notes. Worked sample.
ops-guardrails-1.0.0.mcpbThe same checker as a Claude Desktop bundle. Python 3.8+ must already be on PATH. Nothing is uploaded.
README.mdUsage. LICENSE (MIT).

Check a pasted unit or sudoers snippet · Check a command or config for .env & ps secret leaks · Install the STDIO Guardrails MCP Server · Server lockout skill · Install it with the skills CLI · Worked lockout sample.