interrogate — Claude Code skill: code review and installation
This skill sends code changes to independent model reviewers and combines their findings into a verdict. Use it to challenge a diff and surface blind spots before review.
npx skills add backnotprop/pstack --skill interrogate -a claude-codeWhat interrogate does
The skill scopes the review to the files, diff, or recent work in question. Before launching reviewers, it states the change’s intent; if that intent is unclear, it asks the user. Each reviewer receives the relevant code and context, along with a shared prompt, rubric, and code-quality criteria from the project files.
Reviewers run as subagents. The skill merges overlapping findings, notes which models raised them, and records disagreements. It sorts each finding into one of four groups, from actionable issues to dismissed claims, with a short rationale. Reviewers are read-only, and the skill does not apply changes automatically.
You can configure reviewer models in the interrogate reviewers line of the pstack-models settings file; otherwise, the skill uses its defaults. Claude Code needs the Agent subagent tool. The skill also consults poteto-mode for reasoning level and speed; without a subagent tool, it runs reviewers one at a time.
What it helps with
- review a branch diff before opening a PR
- surface blind spots in a code change
- compare findings from independent models
- sort blocking issues from lower-priority feedback
- resolve disagreements between reviewers
Example prompts for the agent
- Run
interrogateon the current branch changes and give me a synthesized verdict. - Review this diff with multiple independent models and group the findings by severity.
- Check
src/auth.tsfor blind spots and explain which findings would block a PR.
How to install interrogate
1Skills CLI (Vercel)
npx skills add backnotprop/pstack --skill interrogate -a claude-code2Manually: put the files in place
~/.claude/skills/interrogate/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/interrogate/
1Skills CLI (Vercel)
npx skills add backnotprop/pstack --skill interrogate -a codex2Manually: put the files in place
.agents/skills/interrogate/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add backnotprop/pstack --skill interrogate -a cursor2Manually: put the files in place
.cursor/skills/interrogate/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install backnotprop/pstack interrogate2Manually: put the files in place
.github/skills/interrogate/SKILL.md1Skills CLI (Vercel)
npx skills add backnotprop/pstack --skill interrogate -a gemini-cli2Platform CLI
gemini skills install https://github.com/backnotprop/pstack --path skills/interrogateManually: put the files in place
.devin/skills/interrogate/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add backnotprop/pstack --skill interrogate -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about interrogate
How do I install interrogate in Claude Code?
Run npx skills add backnotprop/pstack --skill interrogate -a claude-code. The skill file is available at ~/.claude/skills/interrogate/SKILL.md.
What does interrogate do?
It asks multiple models to review code changes independently, combines their findings, and assigns each finding a category with a rationale. It does not apply changes automatically.
How do I configure the reviewer models?
Set the models on the interrogate reviewers line in ~/.claude/rules/pstack-models.md. If that line is missing, the skill uses its default models.
Source text
SKILL.md · MIT
--- name: interrogate description: "Use for \"interrogate\", \"adversarial review\", \"multi-model review\", \"challenge this\", \"stress test this code\", \"find blind spots\", or \"tear this apart\". Multiple LLM reviewers challenge changes from independent angles." disable-model-invocation: true --- # Interrogate Spawn one reviewer per configured model to adversarially review code changes. The adversarial signal comes from model diversity, not assigned personas. The deliverable is a synthesized verdict. Do NOT auto-apply changes. ## Step 1, Scope Identify what to review from context: - If the user points at specific files or a diff, use that. - If on a feature branch, run `git diff main...HEAD` (or the appropriate base branch) for the full changeset. - If the user's message references recent work, gather the relevant files. Package the diff or file contents with any surrounding context files the reviewers need to understand the code. ## Step 2, Intent Before spawning reviewers, state the intent in one clear paragraph from the user's message, commit messages, the PR description if one exists, and the code. If you're unsure about the intent, ask the user before proceeding. ## Step 3, Spawn Reviewers Launch all reviewers in a single message with the Task tool, one per entry on the `interrogate reviewers` line in the pstack settings file (`~/.cursor/rules/pstack-models.mdc` in Cursor, `~/.claude/rules/pstack-models.md` in Claude Code, `~/.agents/pstack-models.md` in other harnesses), labeled Reviewer A, B, and so on to match the entry count. If the file or that line is missing, use the table defaults. **Other harnesses.** The spawns in this skill use Cursor's `Task` tool. In another harness, use its subagent tool: `Agent` in Claude Code (`subagent_type: general-purpose`), `task` in OpenCode (`subagent_type: general`), `spawn_agent` in Codex. Keep the prompt and the model. Drop parameters your tool doesn't have. If your harness has no subagent tool, as in Pi without an extension, run each reviewer yourself, one after another. | Subagent | Default model | |----------|---------------| | Reviewer A | `claude-opus-5-5-xhigh` | | Reviewer B | `grok-4.7-xhigh-fast` | Each reviewer gets `subagent_type: generalPurpose`, `readonly: true`, and `model` set to its configured entry, or its table default when there is no configured line. Omit `model` for an `auto` or `inherit-parent` entry, so that reviewer runs on the parent model. If your subagent tool rejects a configured entry, run that reviewer on its family's table default and say so. Families go by prefix: `claude-*`, and `grok-*` with `cursor-grok-*` and `composer-*`. A refused `composer-*` entry runs on Reviewer B's default. With no family match, use Reviewer A's default. If it rejects a table default, spawn with the closest equivalent from the valid slugs in its error message or your harness's model list (prefer the same family and reasoning tier), and open a separate PR to update the default table. Do not block the review on the slug issue. Never treat an alias entry as a rejected slug or apply either fallback to it. Read `references/reviewer-prompt.md` and fill in the same template for every reviewer with the stated intent, the diff or file contents, the rubric from `references/rubric.md`, and the code-quality lens from `references/code-quality-review.md`. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the **poteto-mode** skill. ## Step 4, Synthesize As results come back, build a unified picture. Parse every reviewer's findings. Merge findings that describe the same issue differently, and note which models raised each one. Findings two or more models raised independently are the highest signal. Read a lone model's finding, but weight it accordingly. Note disagreements. If one model flags something and another explicitly says the opposite, that is context for the verdict. ## Step 5, Lead Judgment You are the lead reviewer, a pragmatic senior engineer, not a neutral aggregator. Read `references/lead-judgment.md` for the full framework. Put every finding in one of four buckets, with the model(s) that raised it and a one-line rationale. - **Act on**. Real issues affecting correctness, security, or maintainability given the actual goals. They would block a real PR. - **Consider**. Legitimate, but you're not sure they outweigh the cost of addressing them now. Worth the user's attention. - **Noted**. Technically valid but not actionable. Context-dependent, premature optimization, or low-impact at this stage. - **Dismissed**. Wrong, nitpicky, or missing context, with a brief reason. ## Output Format ### Intent > [The stated intent paragraph from Step 2] ### Reviewers - Reviewer [label]: [model name], [N findings] (one bullet per reviewer) ### Act On [Each: description, which models raised it, why it matters.] ### Consider [Each: description, which models raised it, the tradeoff.] ### Noted [Brief list.] ### Dismissed [Each with a brief rationale.] ### Agreement Map [Where models agreed and diverged, and what that pattern tells us.]
© backnotprop · MIT · backnotprop/pstack