aet-scope

A scope-checking tool for reviewing whether an AI coding change matches the user’s authorized task. It groups changes, examines their dependencies, and assigns a scope decision.

In plain words
What is it for?
Use it only with an explicit /aet-scope request to assess code changes as in scope, justified expansion, possible expansion, out of scope, or lacking enough intent.
Why use it?
It helps identify necessary related changes while separating justified work from changes that may exceed the request.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/advancingtitans/agent-engineering-toolkit/aet-scope
Any agent
npx skills add AdvancingTitans/agent-engineering-toolkit --skill aet-scope
Clone the repo
git clone --depth 1 https://github.com/AdvancingTitans/agent-engineering-toolkit

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.00428
Opus 5 $0.00018 $0.00214
Sonnet 5 $0.00007 $0.00086
Haiku 4.5 $0.00004 $0.00043

Measured 2d ago against content hash 1a39f0e69149, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aet-scope 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 2d 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/aet-scope/SKILL.md · 45 lines

What it actually says

/aet-scope

Answer one question: does each change group fit the user's authorized task?

Boundary

Run aet quick scope <root> --base <revision> --intent <intent.json> --format json for the deterministic preflight. Recover intent in this order: current request, later authorization, explicit Intent, Issue/PR, Commit message, then clearly marked inference.

A path outside a declared surface is only a fact that triggers investigation. It is never sufficient by itself for OUT_OF_SCOPE.

Investigation

Group changes by purpose. For each material group, examine direct dependencies, shared infrastructure, interface migration, tests, generated files, later authorization, and a reasonable counter-hypothesis. Store each useful tool step in an Investigation Ledger with its question, immutable result reference, observation, hypothesis effect, decision value, and cost.

Allowed dispositions are IN_SCOPE, JUSTIFIED_EXPANSION, POSSIBLE_SCOPE_EXPANSION, OUT_OF_SCOPE, and INSUFFICIENT_INTENT.

Before rendering an Investigated Finding, pass the canonical Finding, Ledger, authorized-tool set, and Investigation Contract through aet.investigation.validate_investigated_finding. If that API is unavailable or rejects the record, preserve HYPOTHESIS/UNKNOWN and disclose why.

Budget: 45 seconds, four rounds, two LLM calls, eight tool calls, two authorized remote reads, one expensive call, and at most one low-cost discriminating test. No code writes.

For a Chinese /aet-scope request, use natural Simplified Chinese while keeping code and required technical terms in English. Otherwise use English.

Report facts, judgment, counter-explanation, uncertainty, location, and the smallest next action, then stop. Do not repair, prove, publish, or enter Lab.

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. 2d ago First seen · 45 lines · 36 tokens per session scan A 1a39f0e69149

Subscribe to this mod's changes

aet-scope is a skill published in the GitHub repository AdvancingTitans/agent-engineering-toolkit (2 stars, last pushed 25d ago), licensed MIT. It adds 36 tokens to every session and 428 once invoked, about $0.0002 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-31.