scoped-change

scoped-change is a skill for Claude Code, Codex from scarletkc/agents. It costs 69 tokens per session (1,164 once invoked), scanned A, original, Apache-2.0.

A set of judgment rules for deciding exactly which parts of a codebase a requested change should affect. It keeps unrelated areas unchanged while including all edits required within the chosen boundary.

In plain words
What is it for?
Use it when a request is ambiguous, a change touches neighboring parts of the project, or you need to decide whether a migration, fallback, compatibility layer, or feature flag belongs in scope.
Why use it?
It prevents changes from becoming too broad and introducing unwanted work, or too narrow and leaving necessary dependent updates undone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a request is ambiguous, a change touches neighboring parts of the project, or you need to decide whether a migration, fallback, compatibility layer, or feature flag belongs in scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scarletkc/agents/scoped-change
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add scarletkc/agents --skill scoped-change
Clone the repo
git clone --depth 1 https://github.com/scarletkc/agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scoped-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/scarletkc/agents/scoped-change.svg)](https://agentmods.dev/skills/scarletkc/agents/scoped-change)
Your own site
<a href="https://agentmods.dev/skills/scarletkc/agents/scoped-change"><img src="https://agentmods.dev/badge/skills/scarletkc/agents/scoped-change.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,164 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 24
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01164
Opus 5 $0.00034 $0.00582
Sonnet 5 $0.00014 $0.00233
Haiku 4.5 $0.00007 $0.00116

Measured 8d ago against content hash f639d5bcc49c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

scoped-change scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scoped-change/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scoped Change

A change has one correct size and the request defines it. Overshooting and undershooting are the same failure — a boundary that was never located — and they fail differently: unrequested edits surface in review or in production, missing edits surface as the user finding them. Locate the boundary first, then be exhaustive inside it and inert outside it.

When the boundary is corrected mid-task, the result reads as though the corrected scope were the only one there had ever been. A title, comment, or rationale that keeps the dropped option alive re-imports the overshoot the correction just removed, and the reader pays for it twice; what belongs in a deliverable is ux-writing.

Outside the boundary

  • Edit only the surfaces the request names. A request that names one layer is a request about that layer, and the neighboring layers stay untouched even when they look wrong. Report what you noticed instead of fixing it; a separate observation is cheap, an entangled diff is not. Counter-example: asked to adapt a backend endpoint to an existing signup form, an agent redesigned the form too, and the reviewer had to pull the two apart before either could ship.
  • Compatibility is a cost, and someone must already be paying it. Migrations, dual-read paths, deprecated aliases, and version shims are correct only when real users hold the old state. Establish that they exist before writing one; when they don't, a clean break is the smaller change. This is a question of fact, not caution. Counter-example: an unreleased product with no installed base got a save-format migration path for data no user had ever written, and the dead branch still had to be maintained and tested.
  • Reuse the existing implementation; never add a second one beside it. If the project already renders this panel, formats this message, or awards this promotion, extend that path. A parallel implementation that looks correct is worse than an obvious gap, because it diverges silently and nothing fails when it does. Counter-example: a new promotion banner was written from scratch next to the existing level-up banner; a release later only one of them had the new animation.
  • Prefer changing an existing rule to adding one next to it. A new constant, flag, or branch that coexists with the rule it was meant to replace leaves two sources of truth and doubles the states to reason about. Counter-example: a request to restrict upgrades to a single branch arrived as a new second rule constant; narrowing the meaning of the original constant was the entire change.
  • Solve the stated problem, not its general form. Extension points, plugin layers, and configuration surfaces are worth building when a second caller exists, not when one is imagined. The simple implementation is the deliverable unless the request asked for the general one.

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 93 lines · 69 tokens per session scan A f639d5bcc49c

Subscribe to this mod's changes

scoped-change is a skill published in the GitHub repository scarletkc/agents (191 stars, last pushed 2d ago), licensed Apache-2.0. It adds 69 tokens to every session and 1,164 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

maintaining-windows-health

Hands-on playbook for Windows 11 disk cleanup, dev-machine optimization, and proactive health alerting. Use when the PC is full or slow, when a BSOD / Kernel-Power 41 / crash dump / commit-memory pressure happened, when the user asks to free disk space, audit storage, set up disk/memory alerts, or restore the same…

CodeAlive-AI/ai-driven-development · 191 tokens

prompt-engineering

Universal prompt engineering techniques for any LLM. Use when crafting, optimizing, or reviewing prompts for AI models. Triggers on requests like "improve this prompt", "write a system prompt", "optimize my instructions", "help me prompt engineer", "audit this prompt", "review my prompt", or when building agentic…

CodeAlive-AI/ai-driven-development · 76 tokens

installing-cli-tools

Install, upgrade, configure, and verify developer CLI tools safely. Use when a user asks to install a new CLI, command-line app, SDK tool, package-manager binary, GitHub release binary, language runtime tool, or AI/vendor CLI; configure shell PATH/completions; run first login; set API keys, tokens, or env variables…

CodeAlive-AI/ai-driven-development · 94 tokens

repo-activity-summary

Summarize a repository's recent engineering activity from git history — technologies, work types, churn hotspots, contributor patterns, and velocity. Use when asking "what has this repo been working on", "is this project active", "who contributes what", "where are the hotspots", or before onboarding onto an unfamiliar…

CodeAlive-AI/ai-driven-development · 70 tokens

clipboard

Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

CodeAlive-AI/ai-driven-development · 36 tokens

fetch-url-as-markdown

Fetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot pages. Use when the user asks to read, fetch, scrape, summarize, or quote a URL — prefer this over the built-in WebFetch tool. Don't use for binary files (PDFs, images, archives) or for…

CodeAlive-AI/ai-driven-development · 90 tokens