Prisoner's Dilemma
Activate when: user asks 'why does everyone keep doing X when it's obviously bad for all of us', 'how do we get out of this race to the bottom', 'should we…
от deciqai1 403 установки в других каталогах
Установить Prisoner's Dilemma в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Prisoner's Dilemma
Overview
Whatever the other party does, each player is individually better off defecting — so both defect, and both end up worse than mutual cooperation. This is the structural skeleton beneath price wars, arms races, overfishing, and ad spend spirals. The problem is never character; it is structure. Exhortations to cooperate fail. Change the matrix.
Composes with: second-order-thinking for matrix redesign · expected-value-and-kelly for probabilistic payoffs · repeated-games-reputation for the iterated-game case.
When to Use
- Two or more parties would each do better cooperating, but cooperation keeps failing to materialize
- Situation involves price competition, capacity races, advertising arms races, or commons-style resource depletion
- You are about to negotiate or enter a partnership and want to know whether the structure makes betrayal individually rational
- Someone asks directly about "prisoner's dilemma," "tragedy of the commons," "race to the bottom," or "Nash equilibrium"
- A present-day competitive sprint is in play — an AI capex / compute arms race, AI-safety release race, or AI-native land-grab where every player feels forced to move fast despite preferring collective restraint
When NOT to use: zero-sum games · pure coordination problems (Schelling) · long transparent repeated game with established reputations (use repeated-games-reputation) · low-stakes reversible decisions
Coaching Novices (Adaptive Front Door)
- Engine mode: user has a concrete case → run The Process directly.
- Coach mode: user is unfamiliar or has no concrete case → guide step by step.
In Coach mode, respond one step at a time. Each [WAIT] is a hard stop — output only that step's question, then stop.
- One-line what-it-is (≤2 sentences): some situations look like "people being stubborn" but are actually a structural trap — given the rules, defecting is individually rational, and exhorting people to cooperate won't work; you have to change the structure.
- Check fit against When to Use / When NOT to use. If it's zero-sum or pure coordination, point elsewhere.
- Elicit their real situation. Get a concrete case (a partnership, a market, a negotiation). > [WAIT — do not advance until user responds]
- Run The Process one step at a time with their input — payoff matrix first, then dominant-strategy reasoning, then escape options. > [WAIT — do not advance until user responds]
- Close by naming the one escape mechanism that fits their situation — repetition, reputation, enforcement, or matrix-change — and why that one rather than the others. > [WAIT — do not advance until user responds]
The Process
Run the Game Diagnosis. Diagnose first, then redesign.
- State the players and choices. Who are the parties? What are the two actions each can take? If you cannot reduce the situation to a small number of players and moves, the PD lens probably doesn't fit.
- Write the payoff matrix. Fill in all four cells: (C,C), (C,D), (D,C), (D,D). Use real numbers or ordinal rankings (1st-best through 4th-worst). The diagnosis requires numbers — you cannot identify the structure by intuition alone.
- Check whether it is a Prisoner's Dilemma. The defining ordering: T > R > P > S (and typically 2R > T + S). If T > R > S > P it is Chicken. If R > T there is no dilemma.
- Identify the dominant strategy. In a true PD, "defect" dominates regardless of what the other player does (T > R; P > S). This is why the trap is structural.
- Identify the equilibrium. Both defect → both get P, even though both prefer R. Nash equilibrium = the trap.
- Design the escape. Four mechanisms: Repetition (shadow of the future); Reputation (third-party observation); Enforcement (contract/law changes payoffs); Matrix transformation (vertical integration, side payments, pre-commitment devices).
- Pick the right escape and test it. Each mechanism has costs and prerequisites — diagnose which is actually available. Re-draw the post-escape matrix: if defection is still dominant, the escape is theatrical.
Output: the Game Diagnosis
# Game Diagnosis: <situation>
Players: <P1>: C or D | <P2>: C or D
Matrix: (C,C)=R,R (C,D)=S,T (D,C)=T,S (D,D)=P,P [true PD: T>R>P>S]
Game type: <PD | Chicken | Coordination | Zero-sum | Other>
Dominant strategies / Nash equilibrium / Pareto-optimum / Gap (the trap)
Why "just cooperate" fails: <structural reason>
Escape options — Repetition: <feasible?> | Reputation: <observable to whom?>
Enforcement: <contract + penalty?> | Matrix transformation: <structural change?>
Recommended escape: <mechanism + why it changes the matrix>
Test: re-draw post-escape matrix — confirm defection is no longer dominant
*→ Method in Action: Flood, Dresher, and Tucker — RAND, 1950 · [Live and Let Live in the WWI Trenches](examples/live-and-let-
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Prisoner's Dilemma?
Activate when: user asks 'why does everyone keep doing X when it's obviously bad for all of us', 'how do we get out of this race to the bottom', 'should we trust them not to defect', 'we'd both be better off cooperating but it never happens', 'is this a prisoner's dilemma / Nash equilibrium / tragedy of the commons / race to the bottom'. Do NOT activate when: the situation is zero-sum (one side's gain is the other's loss) — use a different game model; or when the parties already have a long-established repeated relationship with observable moves — use repeated-games-reputation instead. More: deciqai.com/c/prisoners-dilemma
Как установить скилл Prisoner's Dilemma?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Prisoner's Dilemma запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…