Agent Skills: second-opinion

Get a peer review from the other AI agent. Claude invokes Codex, Codex invokes Claude. Automatically detects which agent is active.

UncategorizedID: michaelvessia/nixos-config/second-opinion

Install this agent skill to your local

pnpm dlx add-skill https://github.com/MichaelVessia/nixos-config/tree/HEAD/modules/programs/agents/shared/skills/second-opinion

Skill Files

Browse the full folder contents for second-opinion.

Download Skill

Loading file tree…

modules/programs/agents/shared/skills/second-opinion/SKILL.md

Skill Metadata

Name
second-opinion
Description
Get a peer review from the other AI agent. Claude invokes Codex, Codex invokes Claude. Automatically detects which agent is active.

Detection

Determine which agent you are by checking environment variables:

  • If $CLAUDECODE is set: you are Claude. Delegate review to Codex.
  • Otherwise: you are Codex (or another agent). Delegate review to Claude.

Workflow

If you are Claude

Invoke codex-review to send staged changes to Codex for review, then evaluate and implement warranted feedback.

If you are Codex

Invoke claude-review to perform a senior-level peer review of staged changes, then implement warranted fixes.

The invoked skill handles the full flow: gathering the diff, performing the review, presenting feedback, and implementing warranted fixes.