mturac/promptguard
80 stars · Last commit 2026-07-22
Offline prompt-contract auditor for Hermes, Claude Code, Codex, OpenCode & OpenClaw. Pre-write guard before agents ship vague code. Zero deps. No model API.
README preview
<p align="center"> <img src="docs/assets/promptguard.png" alt="PromptGuard" width="560"> </p> <p align="center"> <strong>Prompt contracts for agent workflows.</strong><br> <em>Offline · deterministic · zero dependencies</em> </p> <p align="center"> <img src="docs/assets/hero-contract.jpg" alt="Contract gate" width="88%"> </p> --- Agents do what you ask — even when what you ask is incomplete. ```text Fix this bug and write code. ```