inspect-quality

inspect-quality is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 61 tokens per session (1,147 once invoked), scanned A, original, MIT.

Interactive QA session where user reports bugs or issues conversationally, and the agent logs them to specs/bugs/registry.yaml with a structured audit schema. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, or mentions "QA session".

Cursor rule for Cursor

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 rules/danielvm-git/bigpowers/inspect-quality
Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: 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 inspect-quality

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/inspect-quality.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/inspect-quality)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/inspect-quality"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/inspect-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00061 $0.01147
Opus 5 $0.00030 $0.00574
Sonnet 5 $0.00012 $0.00229
Haiku 4.5 $0.00006 $0.00115

Measured today against content hash 5095a8fa10ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

inspect-quality 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 today.

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/rules/inspect-quality.mdc · 106 lines

How it starts

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

Inspect Quality

HARD GATEHARD GATE — Quality metrics (coverage, lint, cyclomatic complexity, security scans) must be monitored. If a metric degrades, surface it as a blocker. Do NOT accept regressions.

Run an interactive QA session. The user describes problems they're encountering. You clarify, explore the codebase for context, and log each issue to specs/bugs/registry.yaml with a structured, durable format.

For each issue the user raises

1. Listen and lightly clarify

Let the user describe the problem in their own words. Ask at most 2–3 short clarifying questions focused on:

  • What they expected vs what actually happened
  • Steps to reproduce (if not obvious)
  • Whether it's consistent or intermittent

Do NOT over-interview. If the description is clear enough to log, move on.

2. Explore the codebase in the background

Kick off an Agent (subagent_type=Explore) to understand the relevant area. The goal is NOT to find a fix — it's to:

  • Learn the domain language used in that area (check specs/UBIQUITOUS_LANGUAGE_LATEST.md if present)
  • Understand what the feature is supposed to do
  • Identify the user-facing behavior boundary

3. Assess scope: single issue or breakdown?

Break down when:

  • The fix spans multiple independent areas
  • There are clearly separable concerns that could be worked on in parallel
  • The user describes something with multiple distinct failure modes

Keep as a single issue when:

  • It's one behavior that's wrong in one place
  • The symptoms are all caused by the same root behavior

4. Log to specs/bugs/registry.yaml

Append the issue to specs/bugs/registry.yaml. Create the specs/bugs/ directory if it doesn't exist.

registry.yaml format

The file maintains a Markdown table with the following columns (derived from structured audit practice):

Field Description
bug_id BUG-YYYY-MM-DDTHHMMSS
date YYYY-MM-DD
severity critical / high / medium / low
priority p0 / p1 / p2 / p3
scope kebab-case area (e.g. auth, checkout)
what_happened actual behavior (user-facing terms)
what_expected expected behavior
steps_to_reproduce numbered steps
root_cause one-line hypothesis
files_changed filled in after fix
approach filled in after fix
risk_level low / medium / high
new_tests count (filled in after fix)
type_check pass / fail (filled in after fix)
lint pass / fail (filled in after fix)
commit_type fix / fix! / feat (filled in after fix)
release_type patch / minor / major (filled in after fix)
commit_message Conventional Commits message (filled in after fix)
follow_ups semicolon-separated follow-up items
file path to detailed specs/bugs/BUG-*.md (filled in by investigate-bug)
status open / in-progress / fixed / wont-fix

Read the full file on GitHub · 106 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. today First seen · 106 lines · 61 tokens per session scan A 5095a8fa10ca

Subscribe to this mod's changes

inspect-quality is a cursor rule published in the GitHub repository danielvm-git/bigpowers (163 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 1,147 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-09-03.