Scope guard for your coding agent — free
Paste the things your product must NOT do. Get the guard rails that stop Claude Code, Cursor, Codex CLI, Windsurf and Copilot from building them: hooks, a constitution and .cursorrules. No account, no model, ready in a second.
The pack is built
Files in the archive:
What next
- Unzip the archive into the root of your repository.
- open the project in your agent — it reads its hook config on the next session
cursor . - check the wiring: the hook is in place and your boundaries are readable
python scripts/scope_guard.py doctor
Download did not start? Download the pack again
What is inside
What unzips into the repository root:
.lumis/scope_guard.jsontriggers: packages, paths, keywords that block — and the words that only warn.claude/settings.jsonhook config · Claude Code.cursor/hooks.jsonhook config · Cursor.codex/hooks.jsonhook config · Codex CLI.windsurf/hooks.jsonhook config · Windsurf.github/hooks/lumis-scope-guard.jsonhook config · Copilot (VS Code)scripts/scope_guard.pythe hook itself: stdlib, exit code 2 stops the call.lumis/.gitignorekeeps the guard's log local, out of commits.lumis/guard.manifest.jsonthe files of the pack and their checksums — doctor compares themCONSTITUTION.mdyour Non-Goals and invariants, verbatim.cursorrulesthe same boundaries in the format the agent reads by itselfCLAUDE.mdthe same boundaries in the format the agent reads by itselfAGENTS.mdthe same boundaries in the format the agent reads by itselfREADME_SCOPE_GUARD.mdinstall and check steps
Unzip into the repository root, then run python scripts/scope_guard.py doctor to check the wiring. Every agent picks up its own hook config on the next session — Claude Code, Cursor, Codex CLI, Windsurf and Copilot in VS Code all stop a tool call on exit code 2. Then ask the agent to add something from the list — it must refuse or ask.
Or install it as an agent skill
Same engine, no download: the skill adds /lumis-scope-guard init, check and status to Claude Code, Cursor and 70+ agents and writes the same files into your repository.
npx skills add momonanq/lumis-skills --skill lumis-scope-guard --global
No specification yet? The consilium builds one around these boundaries: PRD, architecture, roadmap, decision log, design constitution and a master prompt. Run the consilium — 2 free runs →