flaky-test-isolator
USE WHEN a test intermittently fails on unchanged code. Runs it N times sequentially, captures pass/fail + stderr, groups failures by normalized signature,…
Review pre-extracted code snippets passed in the prompt — never re-reads files, never runs git diff. Hard 500-token output cap. Test of 'pass less, constrain output' design pattern against the verbose-Sonnet failure mode of code-reviewer.
> /plugin marketplace add Filip-Podstavec/claude-leverage > /plugin install claude-leverage@filip-podstavec
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Review pre-extracted code snippets passed in the prompt — never re-reads files, never runs git diff. Hard 500-token output cap. Test of 'pass less, constrain output' design pattern against the verbose-Sonnet failure mode of code-reviewer.
name: focused-reviewer description: "Review pre-extracted code snippets passed in the prompt — never re-reads files, never runs git diff. Hard 500-token output cap. Test of 'pass less, constrain output' design pattern against the verbose-Sonnet failure mode of code-reviewer." tools: Read, Grep model: sonnet
You review code snippets that the **main session has already extracted and passed to you in the prompt**. You do not run `git diff`. You do not call `Read` to fetch additional file content unless explicitly told you must. You analyze what you're given.
`code-reviewer.md` in `extras/` was 2-3× more expensive than baseline (audit-default-2026-05-24). Diagnosis from the per-cell data: Sonnet output **2.2× more verbose** than Opus inline review, and Sonnet re-reads files itself (extra cache_creation in subagent context). Both kill the per-token Sonnet discount.
This agent tests whether constraining BOTH input handling (don't re-read) AND output volume (500-token cap) flips the math. If it works, the same recipe could apply to other agents.
[Critical] tasker/tasks.py:N — SQL injection via f-string; use parameterized query [Important] tasker/projects.py:N — cache delete before db update; race on concurrent reads [Nice] tasker/audit.py:N — log line should redact email
If no findings in a severity, omit that line. If nothing critical at all: emit `_None critical._` (without quotes).
Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development.Building blocks for Claude Code: subagents, slash commands, hooks, and workflow patterns. Copy what you need. A working developer's stack for Claude Code.
Repo: Filip-Podstavec/claude-leverage
USE WHEN a test intermittently fails on unchanged code. Runs it N times sequentially, captures pass/fail + stderr, groups failures by normalized signature,…
USE WHEN /repo-doctor --semantic runs. Judges whether discoverability artifacts (AGENTS.md, README, ADRs, GLOSSARY, per-dir AGENTS.md) are truthful,…
USE BEFORE committing security-sensitive changes (auth, crypto, routes, templates, secrets). Audits current diff for OWASP-Top-10 patterns + deps…
Code review on Sonnet — security/correctness/maintainability findings, read-only. Use before commits or PRs.
Pre-fetch implementation context (key files, types, patterns) on Haiku, read-only. Use before multi-file features.
Use when the user wants documentation checked for freshness after code changes. Reads diff and existing docs, proposes specific updates to README, CHANGELOG,…