claudemods

All Claude Code modsyash-gadodia/claude-mods

scope-guard

A Claude Code mod in yash-gadodia/claude-mods

Counts the distinct files a turn edits and stops at a threshold to make the goal get restated, so a small ask cannot quietly become a refactor.

scope-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install scope-guard --marketplace yash-gadodia/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads env vars, reads the transcript, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, the system prompt
Hooks
session.start, prompt.submit, command.run {command=scope}, prompt.context, turn.start, tool.check {tool=?}, tool.check {tool=Bash}
API calls
$.clock.after, $.command.register, $.env.get, $.model.complete, $.session.cwd, $.session.messages, $.store.get, $.store.set, $.turn.abort, $.ui.ask, $.ui.invalidate, $.ui.log, $.ui.status
Validation on 2.1.302
Passed
Scanned revision
f4c1c751f679
Marketplace warnings
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from yash-gadodia/claude-mods

Badge for your README

Reach badge for scope-guard Validation badge for scope-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/yash-gadodia--claude-mods--scope-guard-reach.svg)](https://mods.aidojo.si/mods/yash-gadodia--claude-mods--scope-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/yash-gadodia--claude-mods--scope-guard-validates.svg)](https://mods.aidojo.si/mods/yash-gadodia--claude-mods--scope-guard/)