Back to Skills

compare-contrast

majiayu000
Updated Today
2 views
58
9
58
View on GitHub
Developmentgeneral

About

This skill runs a multi-agent debate to compare two technical perspectives using evidence from your codebase. It employs three different AI models as subagents to gather arguments and code references for each option. Use it when you need an evidence-based recommendation for technical decisions.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/compare-contrast

Copy and paste this command in Claude Code to install this skill

Documentation

Compare Contrast

Overview

Run a multi-agent debate using CLI subagents. Each agent argues one perspective with evidence. Synthesize and recommend a path.

Inputs

  • Topic or decision
  • Perspective A
  • Perspective B

Workflow

  1. Clarify the decision, constraints, and success criteria.
  2. Run six subagents (Codex, Gemini, Claude) using the commands below.
  3. Group findings by perspective and compare evidence strength.
  4. Recommend a winner and note when the other option is preferable.

Subagent Commands

Codex A

codex exec -m gpt-5.2 -s read-only -c model_reasoning_effort="low" --skip-git-repo-check \
  "Argue for {PERSPECTIVE_A} on {TOPIC}. Find codebase evidence with file paths and line numbers."

Codex B

codex exec -m gpt-5.2 -s read-only -c model_reasoning_effort="low" --skip-git-repo-check \
  "Argue for {PERSPECTIVE_B} on {TOPIC}. Find codebase evidence with file paths and line numbers."

Gemini A

CLOUDSDK_CORE_PROJECT="" GOOGLE_CLOUD_PROJECT="" GCLOUD_PROJECT="" GEMINI_API_KEY=${GEMINI_API_KEY} \
  gemini -m gemini-3-pro-preview -o text "Argue for {PERSPECTIVE_A} on {TOPIC}. Provide evidence with file paths and line numbers."

Gemini B

CLOUDSDK_CORE_PROJECT="" GOOGLE_CLOUD_PROJECT="" GCLOUD_PROJECT="" GEMINI_API_KEY=${GEMINI_API_KEY} \
  gemini -m gemini-3-pro-preview -o text "Argue for {PERSPECTIVE_B} on {TOPIC}. Provide evidence with file paths and line numbers."

Claude A

claude --model haiku -p "Argue for {PERSPECTIVE_A} on {TOPIC}. Provide evidence with file paths and line numbers."

Claude B

claude --model haiku -p "Argue for {PERSPECTIVE_B} on {TOPIC}. Provide evidence with file paths and line numbers."

Output

  • Side-by-side comparison
  • Evidence-backed recommendation

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/compare-contrast

Related Skills

algorithmic-art

Meta

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

View skill

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill