LUMIS scope guard
RU

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.

One per line, up to 25 lines.

What is inside

What unzips into the repository root:

  • .lumis/scope_guard.json triggers: packages, paths, keywords that block — and the words that only warn
  • .claude/settings.json hook config · Claude Code
  • .cursor/hooks.json hook config · Cursor
  • .codex/hooks.json hook config · Codex CLI
  • .windsurf/hooks.json hook config · Windsurf
  • .github/hooks/lumis-scope-guard.json hook config · Copilot (VS Code)
  • scripts/scope_guard.py the hook itself: stdlib, exit code 2 stops the call
  • .lumis/.gitignore keeps the guard's log local, out of commits
  • .lumis/guard.manifest.json the files of the pack and their checksums — doctor compares them
  • CONSTITUTION.md your Non-Goals and invariants, verbatim
  • .cursorrules the same boundaries in the format the agent reads by itself
  • CLAUDE.md the same boundaries in the format the agent reads by itself
  • AGENTS.md the same boundaries in the format the agent reads by itself
  • README_SCOPE_GUARD.md install and check steps
Diagram: one repository root, several branches to the files of the pack, one of them marked in amber

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

github.com/momonanq/lumis-skills

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 →