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.
npx agentmods add rules/danielvm-git/bigpowers/inspect-qualitygit clone --depth 1 https://github.com/danielvm-git/bigpowersWrote 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.
[](https://agentmods.dev/rules/danielvm-git/bigpowers/inspect-quality)<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>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.
| Model | Per session | Once 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 |
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.
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 GATE — HARD 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.mdif 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 |
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.
- today First seen · 106 lines · 61 tokens per session scan A 5095a8fa10ca
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.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
app-router-patterns
Next.js 14+ App Router patterns — Server Components, Client Components, Route Handlers, Server Actions, and metadata API.
00-project-rules
ContextOS core project rules and role orchestration.
context-os
ContextOS rules for context-os.
database
Database architecture, schema design, Prisma, Drizzle ORM, indexing strategies, migrations, and N+1 query resolution.
vue
Rules for Vue (2 and 3) single-file components.