Skip to content

The first coding agent discipline system

Your agent doesn't get to finish until the tests pass.

Docs

Safeword is the first coding agent discipline system for Cursor, Claude Code, and Codex.


It runs alongside your existing stack — never modifies your application code or runtime dependencies.


Your agent ships fast. But it skips tests, ignores lint, and pushes whatever “looks right.”

Your senior engineers stop trusting it. Your vibe-coders can’t tell working code from confident garbage.

AI doesn’t decide when it’s done. You do.


Automatic Enforcement — Every edit gets linted. Every session ends with review. Your agent can’t skip it.

Strict Quality — Code, architecture, docs, dependencies. Nothing slips through.

Structured Discipline — BDD and TDD enforced. Debugging structured. Refactoring gated.

Human-friendly — Guardrails only fire during AI sessions. Your workflow stays the same. Use the linting in CI or precommit hooks if you want — your choice.


Terminal window
bunx safeword@latest setup

Works with Cursor, Claude Code, and Codex. Auto-detects TypeScript, Python (beta), Go (beta), Rust (beta), SQL/dbt (beta).


Safeword adds configuration files, hooks, and skills to your project — it never modifies your application code. Commits to your repo — your team gets discipline the moment they pull.

Under the hood, your agent now moves through five phases — clarify, classify, build, verify, done — with gates that stop it skipping straight to “done.” See The Workflow.


Terminal window
bunx safeword@latest upgrade


GitHub · MIT License · © 2026