From lens
The Lens of the Adversary — red-teams a PLAN before you commit to it. Tries to refute it, names the weakest decision and the unexamined assumption, re-checks the four excavations against the plan. Runs as the MANDATORY final step of /lens:socratic, or standalone (/lens:adversary) on any plan, diff, or design. A meta-lens — it critiques the plan, not a domain.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lens:adversaryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read first: ${CLAUDE_PLUGIN_ROOT}/core/protocol.md and ${CLAUDE_PLUGIN_ROOT}/core/dossier.md.
Read first: ${CLAUDE_PLUGIN_ROOT}/core/protocol.md and ${CLAUDE_PLUGIN_ROOT}/core/dossier.md.
This is a META lens: it examines the PLAN itself for weakness, not a domain perspective. It runs as the mandatory final step of /lens:socratic (and standalone on any plan/diff). Adversarial critique reliably surfaces what normal planning misses — so a plan is not "done" until it survives this pass.
If the work is substantial enough to deserve a written plan, SUGGEST to the user that they enter Claude Code's plan mode (or otherwise formalize the plan as a written artifact) — and WAIT for their input. Do NOT toggle plan mode yourself. If they decline, or the work is small, critique the plan as it stands.
Attack the plan from these angles; every finding must be CONCRETE, not generic:
On substantial work, fan out: run the angles as independent adversarial passes (or read-only subagents) so no single line of attack dominates, then merge.
Each finding the plan cannot already answer becomes exactly one of:
A critique table: angle · finding · disposition (revise/reopen/accept) · the concrete change or risk. Then the verdict: the plan SURVIVES (every finding dispositioned) or needs another discovery round. Append the critique + verdict to the dossier.
Gaps (an attack angle this battery lacks, or a recurring plan-weakness pattern) →
{"type":"gap","date":"<YYYY-MM-DD>","lens":"adversary","note":"<one line>"} appended
to <foundry>/pending-retros.jsonl when a lens config exists; otherwise mention it.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub tiltely/lens --plugin lens