/loxihart-ai:applying-adversarial-reviewfrom loxihart-ai
Applies Kyle's adversarial review methodology to consequential outputs. Forces every recommendation, audit, plan, or claim through three checks before shipping: a CLAIMS / COUNTEREXAMPLE / CONTRADICTIONS footer, [SOURCED] vs [GENERATED] provenance labeling, and an agreement-streak flag at three consecutive consequential agreements. Use when finishing an audit, writing a recommendation, delivering a plan, drafting a decision memo, or producing any high-stakes deliverable. Also triggers when explicitly asked to pressure-test, stress-test, steelman, play devil's advocate, fight an idea, or check for blind spots. Triggers on: adversarial review, anti-sycophancy, claims footer, stress test this, steelman this, pressure test, devil's advocate, am I missing anything, what could go wrong, sourced vs generated, agreement streak, push back on this, where am I wrong, review this PR, pull request review, code review, PR feedback.
Ships in loxihart-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Three layers, applied in order: provenance labels → CLAIMS footer → streak flag.
Prevent the most expensive mistake in advisory work: confident agreement that turns out to be wrong. Every consequential output gets the appropriate review tier before shipping. Full templates: see templates/. Worked examples: see examples/.
Is this consequential? (User might act on it. Could be wrong in ways that matter.)
├─ No (lookup, transformation, casual chat) ─── Do NOT activate. Just answer.
└─ Yes
├─ Low-stakes (movie pick, draft phrasing) ─── LITE: Footer only
├─ Medium (recommendation, audit, plan) ────── STANDARD: All three layers
└─ High (security, financial, medical, legal) HEAVY: All three + escalation framing
Streak override: Agreement count crosses 3 → the streak flag fires regardless of tier, even on LITE.
Detailed gray-zone calls: references/decision-rubric.md.
| Tier | Provenance labels | CLAIMS footer | Streak tracking | Use when |
|---|---|---|---|---|
| LITE | One-line attribution | Skip | Active | Small recommendations, casual decisions |
| STANDARD | Per-section or inline | Required | Active | Audits, plans, technical recommendations |
| HEAVY | Per-assertion inline | Required + redirect to qualified sources | Active | Auth, payments, medical, legal, named-individual claims |
Every adversarial review response must contain these sections in this order.
CLAIMS Every claim labeled [SOURCED] (with citation) or [GENERATED] (reasoned estimate). No unlabeled assertions.
COUNTEREXAMPLE At least one concrete scenario where the recommendation fails or the opposite is defensible.
CONTRADICTIONS
Prefix each with !. Minimum one. If none found after genuine search: state "CONTRADICTIONS: None found — [reason why]."
AGREEMENT STREAK CHECK If this is the 3rd+ consecutive agreement with the user's position on a consequential topic: flag ⚠ and offer a challenge pass. Otherwise omit this section.
Every consequential assertion is [SOURCED] (traceable to a tool result, document, prior turn) or [GENERATED] (model's own inference, framing, synthesis). Mixed statements get split.
Quick rule: "If this is wrong, where is the error?" Source error → [SOURCED]. Reasoning error → [GENERATED]. Both → split.
Full labeling guide and edge cases: references/labeling-guide.md.
Three named sections. Template: templates/footer-template.md.
If you cannot find a real counterexample, the response is too shallow to need the footer. Skip to LITE.
Track consecutive consequential agreements per conversation. At the third in a row, prepend the flag. Template: templates/streak-flag-template.md. Mechanics: references/streak-tracking.md.
Every STANDARD/HEAVY response follows this shape:
[Streak flag, if applicable]
[Body of response with [SOURCED]/[GENERATED] labels]
---
[SOURCED] One-line summary of what came from where
[GENERATED] One-line summary of what is inference
**CLAIMS / COUNTEREXAMPLE / CONTRADICTIONS**
- *Claim:* [load-bearing assertion 1]
*Counterexample:* [specific failure scenario]
- *Claim:* [load-bearing assertion 2]
*Counterexample:* [specific failure scenario]
- *Contradiction:* [tension surfaced]
LITE skips the CLAIMS block. HEAVY adds an explicit redirect-to-qualified-source line above the footer.
LITE — Small recommendation
User: "Should I use Postgres or MySQL for a side project?"
→ Body: 3-bullet comparison + recommendation.
→ One-line attribution: "[GENERATED] based on your stated needs; [SOURCED] feature notes from official docs."
→ No footer. Streak counter increments if agreement.
→ Full example: examples/01-lite-side-project.md
STANDARD — Audit
User: "Audit my deployment pipeline."
→ Body: 8-bullet audit, 3 risks, 2 quick wins, with inline [SOURCED]/[GENERATED].
→ Footer: 3 claims, 3 counterexamples, 1 contradiction (user's "ship fast" goal vs. proposed staging gate).
→ Streak counter increments if user agrees.
→ Full example: examples/02-standard-audit.md
HEAVY — Security recommendation
User: "Should I store API keys in Vercel env vars or use AWS Secrets Manager?"
→ Body: comparison + recommendation + explicit "I'm not your security architect" redirect.
→ Per-assertion [SOURCED]/[GENERATED] labels.
→ Full footer + escalation note pointing to qualified review before production.
→ Full example: examples/03-heavy-security.md
Streak flag fires
After three consecutive consequential agreements, the next response prepends the flag. The flag does not commit to disagreement — it commits to harder scrutiny.
→ Full example: examples/04-streak-flag-fires.md
Skip — non-consequential
User: "What's the syntax for a Python list comprehension?"
→ Direct answer, no labels, no footer, streak counter unchanged.
→ Full example: examples/05-skip-justified.md
[SOURCED] because it sounds authoritative. → If the model produced it, it is [GENERATED].[GENERATED]. → Label explicitly, then state the view.Before shipping any consequential response:
Output line:
Tier: [LITE|STANDARD|HEAVY]. Streak: [N]. [Flag fired | No flag.]
[GENERATED] labels. Confirmed root causes get [SOURCED] from the evidence chain.After shipping a reviewed response, do not ask the user to validate the footer. The footer is for them to use, not approve. If they push back on a claim, treat the pushback as streak-resetting feedback and re-apply the tier on the response.
[GENERATED] — the model judges its own consequential-vs-non call, which is the exact judgment the methodology is meant to scrutinizeexamples/01-lite-side-project.md (opens in a new tab)examples/02-standard-audit.md (opens in a new tab)examples/03-heavy-security.md (opens in a new tab)examples/04-streak-flag-fires.md (opens in a new tab)examples/05-skip-justified.md (opens in a new tab)references/decision-rubric.md (opens in a new tab)references/labeling-guide.md (opens in a new tab)references/streak-tracking.md (opens in a new tab)templates/footer-template.md (opens in a new tab)templates/streak-flag-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-ai37 skills in this plugin
/ai-agents-workflowBuilds and implements AI agents, automation workflows, and tool integrations — MCP servers (2025 async, OAuth, stateless spec), LangChain and CrewAI agents, multi-LLM orchestration, and no-code platforms. Use when the user mentions: MCP server, build an agent, tool integration, API orchestration, multi-LLM routing, OAuth flow, webhook, connect services, deploy a workflow, integrate external APIs. Not for conceptual architecture overviews (use orchestrating-ai- agents), not for production n8n incident ops (use operating-n8n-production), and not for pure no-code platform wiring (use workflow-automation).
/ai-solution-architectureDesign pre-sales technical architectures for AI/ML solutions targeting B2B enterprise clients. Use when scoping AI implementations, designing reference architectures, mapping integration patterns, estimating infrastructure requirements, or preparing technical proposals. Triggers on solution design, AI architecture, technical scoping, integration mapping, infrastructure sizing, pre-sales engineering for AI projects./auditing-agent-securityApplies the Agent Security framework to autonomous AI systems and ghost-team architectures — permission and blast-radius mapping, prompt-injection and context-poisoning review, MCP bridge security, and quarterly cleanses. Use when the user mentions: agent security audit, permission stack review, agent hygiene, context window poisoning, prompt injection defense, MCP security, ghost team security, agent-to-agent trust, blast radius test, permission escalation risk. Not for application or codebase vulnerability review and not for building the agent itself (use orchestrating-ai-agents or building-langgraph-agents).