kvsdileep

Model Council V2 — AI skill for Claude Code

AI community

Model Council — local multi-LLM debate app.

How to install Model Council V2

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kvsdileep/model_council_v2 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Model Council V2 does

Model Council — local multi-LLM debate app. 4 council models (Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Grok 4.20) → peer critique → Opus synthesizer with structured multi-format output + on-demand refine flow. Next.js 16 / Vercel AI SDK / OpenRouter / Zustand.

Alternatives in AI

  • System Prompts Leaks — Extracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), G 38.6k ★
  • Debate — AI Debate Hub - Structured four-way debates between Claude, Sonnet, Gemini, and Codex 2.8k ★
  • Claude Skills LLM Council — LLM Council — a Claude Code skill that runs your decisions through 5 AI advisors with peer review 1.7k ★

README

Model Council

A personal-use local web app that runs a structured multi-LLM debate. Inspired by Perplexity Max's model council, but explicitly multi-stage: four top-tier models answer in parallel, critique each other, then a synthesizer reconciles the debate.

**Status:** Phase 1 — foundation & design system. Council functionality arrives in Phase 2.

Prerequisites

  • Node.js 20 or later (node --version to check)
  • npm 10 or later
  • An OpenRouter API key

Setup

  1. Install dependencies:

    npm install
  2. Copy the env template and add your OpenRouter key:

    cp .env.local.example .env.local
    # Edit .env.local — set OPENROUTER_API_KEY=sk-or-v1-...
  3. Start the dev server:

    npm run dev
  4. Open [http://localhost:3000](http://localhost:3000).

Verify the OpenRouter integration

Phase 1 ships a smoke-test API route that calls Claude Opus 4.7 via OpenRouter:

curl -X POST http://localhost:3000/api/smoke \
  -H 'Content-Type: application/json' \
  -d '{"prompt":"Say hello in one short sentence."}'

Expected response:

{
  "model": "opus",
  "modelId": "anthropic/claude-opus-4-7",
  "prompt": "Say hello in one short sentence.",
  "response": "...",
  "durationMs": 1234
}

Project structure

app/
  layout.tsx            ← font loading, body classes
  page.tsx              ← homepage (NavBar + BackgroundGrid + hero + AnimatedCTA)
  globals.css           ← design tokens (CSS variables) + prefers-* overrides
  api/smoke/route.ts    ← Phase 1 smoke test (Edge POST → Opus)
components/
  nav-bar.tsx
  background-grid.tsx
  animated-cta.tsx
config/
  models.ts             ← slot → OpenRouter ID mapping
lib/
  openrouter.ts         ← server-only Vercel AI SDK + OpenRouter wrapper
  utils.ts              ← cn() helper (tailwind-merge + clsx)
.planning/              ← GSD planning artifacts (not shipped)
docs/                   ← design spec

Co