Works with the AI Agents you already use

    Scope Guardian: Catch AI Changes Outside the Agreed Scope

    by a365ngay

    1

    Agree on what may change, then check every changed path: in scope, protected, or out of scope. Fix the requested thing without silently changing everything else.

    Free

    Security scanned

    What it does

    • Creates a clear contract of which files are allowed to change and which are protected
    • Compares current files against a saved snapshot to find every single edit
    • Flags any changes made to files that were supposed to be off-limits
    • Produces a detailed report of in-scope and out-of-scope work for your review
    • Works without changing your files or deleting your work accidentally

    Who it's for

    Founders managing freelance developers

    Make sure your developer only touches the files you agreed on and doesn't break other parts of the app.

    Try asking: “Review these changes against our original plan for the login screen.”

    Software teams doing big refactors

    Keep your code clean by flagging every file changed that was not part of the official refactor list.

    Try asking: “Check if any protected files were edited during the database update.”

    Project managers overseeing code updates

    Get a clear report of what was changed and if any of it was outside the project scope.

    Try asking: “Compare the current files to the snapshot I took before the contractor started.”

    Scope Guardian: Catch AI Changes Outside the Agreed Scope

    Scope Guardian: Catch AI Changes Outside the Agreed Scope

    Example session with this skill installed

    Use Scope Guardian. You were asked to fix the login flow only: src/auth/ and tests/auth/. Payments and package.json are off limits. Check the files you changed against that scope before I review the PR.

    • Read your context and instructions
    • Compiled the scope guardian

    Summary

    5 files changed, only 2 are inside the agreed scope. Status

    REVIEW_REQUIRED: 2 protected files and 1 out-of-scope file were touched. I have not reverted anything; you decide what stays.

    Change contract

    • Allow: src/auth/*, tests/auth/*
    • Protect: src/payment/*, package.json
    • Everything else is out of scope unless you approve it.

    Path report

    PathStatusWhy it changed (my explanation)Action needed
    src/auth/login.tsIN_SCOPEThe fix itselfReview diff
    tests/auth/login.test.tsIN_SCOPERegression test for the fixReview diff
    package.jsonPROTECTEDI bumped a dependency while debuggingRevert or approve explicitly
    src/payment/pay.tsPROTECTEDShared helper import was renamedRevert or approve explicitly
    src/dashboard.tsOUT_OF_SCOPEFormatting onlyRevert or approve scope change

    Engine output (python3 scripts/engine.py scope.json)

    {
      "status": "REVIEW_REQUIRED",
      "flagged": [
        {"path": "package.json", "status": "PROTECTED"},
        {"path": "src/dashboard.ts", "status": "OUT_OF_SCOPE"},
        {"path": "src/payment/pay.ts", "status": "PROTECTED"}
      ],
      "coverage_warnings": [],
      "semantic_review_required": true,
      "write_blocked": false
    }
    

    Limits of this check

    Path matching cannot see unrelated logic inside login.ts; the in-scope diffs still need a line-by-line review. A clear path report is not proof the fix works.

    Next steps

    1. Tell me which flagged files to revert. I will not touch them without your OK.
    2. Run the auth test suite once the scope is clean.
    package.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    It is common for small fixes to turn into big, messy changes that break parts of your project you didn't want touched. This skill helps you keep control by checking every change against a plan you approve first. It acts like a digital guard that watches which files are being edited and warns you if something unexpected happens.

    How it works

    1. You tell your AI agent what you want to change and which files are "off-limits."
    2. The skill records how your project looks right now as a baseline.
    3. Once work starts or finishes, the skill compares the new files to the baseline.
    4. It flags any files that were changed but weren't on your "allowed" list.
    5. You get a clear report showing what was in scope, what was out of scope, and any warnings.

    Frameworks & tools

    This skill uses Python scripts to compare files and create snapshots. It works best with Git to track changes but can also manually check files on Windows, macOS, or Linux.

    Why this beats prompting it yourself

    Standard AI agents often get carried away and edit files they weren't asked to touch, or they lose track of what the original files looked like. This skill uses a strict contract and specialized scripts to prove exactly what changed, ensuring nothing is missed or hidden in a large project.

    Use cases

    • Preventing a freelancer from editing core security files during a UI update.
    • Checking for "scope creep" where a simple fix turns into a massive rewrite.
    • Verifying that a code cleanup stayed within specific folders.
    • Spotting accidental changes to important configuration files.

    Known limitations

    It cannot see inside hidden files, submodules, or very large files. It only checks if files changed, not if the new code inside them actually works correctly.

    Uses scripts/snapshot.py for file hashing and scripts/engine.py for contract validation via fnmatchcase patterns. Requires Python 3.10+ and operates on JSON input/output schemas. Designed for read-only advisory checks across Git-tracked and untracked files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Nothing to install. It runs in your AI agent.

    Optional
    Python 3.10+Git (snapshot helper only)

    On Windows, install Git for Windows if you want the optional snapshot helper.

    Permissions

    Terminal / Shell
    Read Files

    Shell and file read are for the optional scripts: the engine reads the scope JSON you give it; the snapshot helper runs read-only git ls-files and hashes files. Neither writes files, uses network, installs hooks or runs git reset/checkout/clean.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill prevents an AI from making unrequested changes to your project files. It compares your files before and after work starts to flag any edits that fall outside the specific list of files you allowed it to touch.

    You need Python installed on your computer to run the included check scripts. If you want to track changes automatically, having Git installed is helpful, but the skill can also check files manually on Windows, macOS, or Linux.

    You will receive a clear report showing which changes were within your approved plan, which were protected, and which were unexpected. It also alerts you to any areas it could not check, such as very large files or hidden folders.

    It cannot see inside hidden files, submodules, or very large files. It only detects that a file was changed and does not verify if the new code inside those files actually works or is free of bugs.

    Tell your agent which files are off-limits and which ones it is allowed to edit. Then, ask the agent to use this skill to record a baseline of your project before it begins any work.

    No, this skill is strictly read-only and will never automatically revert your code or delete files. It acts as an advisor, flagging issues for you to review and decide on yourself.

    New in Business & Operations

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.

    Free