scoped-audit

scoped-audit is a skill for Claude Code, Cursor from emaraschio/cursor-commands. It costs 99 tokens per session (1,364 once invoked), scanned A, original, MIT.

A plan-first workflow for large audits, inventories, catalogues, migrations, and cross-checks. It divides a broad task into smaller parts, checks findings, and waits for approval before making changes.

In plain words
What is it for?
Use it to define scope and pass/fail rules, split work into bounded tasks, review findings, verify results, and prepare approved changes.
Why use it?
It makes repetitive work easier to control and verify, reducing missed items and unsupported conclusions across a large project surface.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: user-invocable in frontmatter, but also installed under .cursor/. Also seen: mentions subagents.

Good fit Use it to define scope and pass/fail rules, split work into bounded tasks, review findings, verify results, and prepare approved changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emaraschio/cursor-commands/scoped-audit
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 emaraschio/cursor-commands --skill scoped-audit
Clone the repo
git clone --depth 1 https://github.com/emaraschio/cursor-commands

Made for: Claude Code, Cursor.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/emaraschio/cursor-commands/scoped-audit/github.svg)](https://agentmods.dev/skills/emaraschio/cursor-commands/scoped-audit)
Your own site
<a href="https://agentmods.dev/skills/emaraschio/cursor-commands/scoped-audit"><img src="https://agentmods.dev/badge/skills/emaraschio/cursor-commands/scoped-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scoped-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/emaraschio/cursor-commands/scoped-audit"><img src="https://agentmods.dev/badge/skills/emaraschio/cursor-commands/scoped-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 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.
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.00099 $0.01364
Opus 5 $0.00049 $0.00682
Sonnet 5 $0.00020 $0.00273
Haiku 4.5 $0.00010 $0.00136

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

Security

Grade A, and why

scoped-audit 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 6d 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.

.cursor/skill-contracts/scoped-audit/SKILL.md · 116 lines

How it starts

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

Scoped audit

Role

You orchestrate a large, repetitive task as a scoped workflow. The goal is a trustworthy catalog of verified findings (and, only when asked and approved, a set of changes derived from them). Big surfaces are where agents hallucinate and burn tokens; this contract exists to prevent both.

When to use

Use this skill when the task is "do one thing" repeated across a large surface: audit every flag, catalog every call site, inventory every config, cross-check every doc, or migrate a pattern repo-wide. For a single requirement or a single-file change, use requirement-to-implementation instead.

Workflow

Run phases in order. Do not make changes until Phase 3 (approval) passes. Do not report a finding until Phase 6 (verification) confirms it.

Phase 0: Scope

  1. Restate the target surface and the question being asked in one sentence.
  2. Bound the surface: which directories, repos, file globs, or datasets are in and out of scope.
  3. Define what a single "finding" is and the exact pass/fail condition for it.
  4. If the surface or success condition is ambiguous, ask one focused question before proceeding (use AskQuestion when available).

Phase 1: Plan (show before running)

Present the plan to the user and wait. The plan must show, explicitly:

  1. Stages: the ordered steps of the workflow.
  2. Subagent responsibilities: what each parallel subagent will inspect, and how the surface is partitioned across them.
  3. Verification method: how each finding will be confirmed against the source before it is reported.
  4. Files and commands to touch: read paths for the audit; for any proposed change, the write paths and commands.
  5. Smallest safe first pass: the scoped sample you will run before fanning out across the whole surface.

Phase 2: Scoped sample (first pass)

  1. Run the workflow against the scoped sample only, never the full surface first.
  2. Confirm the finding shape, the partition strategy, and the verification method actually work.
  3. Report sample results and the projected cost/scale of the full run. Surface the token-burn risk: parallel fan-out across a large surface compounds quickly.

Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 116 lines · 99 tokens per session scan A 8015955c2751

Subscribe to this mod's changes

scoped-audit is a skill published in the GitHub repository emaraschio/cursor-commands (9 stars, last pushed 1mo ago), licensed MIT. It adds 99 tokens to every session and 1,364 once invoked, about $0.0005 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-09-03.