Command Palette

Search for a command to run...

Назад к скиллам
скилл № 90908

game-theory-iterated

Analyses long-run repeated interactions — how cooperation forms, how trust is built, how defection spirals start, and which strategies sustain cooperation…

БесплатноБез исполняемых скриптов
rondoflowот rondoflow★ 37 звёзд на GitHub

Установить game-theory-iterated в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Game Theory: Iterated Games

Robert Axelrod's 1984 computer tournament is one of the most important results in social science. He invited game theorists to submit strategies for an iterated prisoners' dilemma — a repeated game where the same two players interact over and over. The simplest strategy submitted, Tit for Tat (cooperate on the first move, then do exactly what your opponent did on the previous move), won both rounds of the tournament, beating every more complex strategy.

Why Tit for Tat wins: it is nice (starts by cooperating, never the first to defect), retaliatory (immediately punishes defection — there is no free lunch), forgiving (returns to cooperation as soon as the opponent does — does not hold grudges), and clear (the strategy is transparent and easy for the opponent to understand). Opponents who try to exploit it get punished; opponents who cooperate get rewarded. It is the most robust known strategy for sustained cooperation without trust.

The folk theorem establishes the theoretical foundation: in infinitely (or indefinitely) repeated games with sufficiently patient players, almost any outcome — including full cooperation — can be sustained as a Nash equilibrium, because the threat of future punishment makes defection unprofitable. The key variable is the discount factor (how much players value future payoffs relative to present ones), and whether punishment is credible and observable.


Your Process

Step 1: Stage game Describe the single-period interaction — what are the two players' choices in any given round, and what are the payoffs? Map the four key payoffs: mutual cooperation (CC), mutual defection (DD), exploitation (one cooperates, one defects), and being exploited. This identifies whether repetition can help: if the stage game already has cooperation as a Nash equilibrium, repetition changes little. If cooperation is not a Nash equilibrium of the stage game, repetition may enable it.

Framing check: Confirm the repeated interaction before continuing. State what you've identified — the two parties involved, the recurring choice or tension, and the relationship context — in one sentence, then use AskUserQuestion:

  • Question: "I'm reading this as: [your one-sentence framing of the specific repeated interaction, the parties, and what cooperation/defection looks like in this context]. Is that right?"
  • Header: "Framing"
  • Options:
    • Yes — proceed — framing is correct
    • Adjust — one element is off; user will correct it before you continue
    • Reframe — different situation than read; incorporate the correction before proceeding

Step 2: Is cooperation a stage-game equilibrium? Check whether cooperation would be chosen in a one-shot interaction. If yes, the repeated game is not necessary to explain or enable it. If no (cooperation requires an ongoing relationship to be rational), proceed with the shadow-of-the-future analysis.

Step 3: Discount factor assessment How much do the players value continued interaction? Assess:

  • Time horizon: is the relationship expected to continue indefinitely, or does it have a known end-point? (Known-endpoint problem: rational players defect on the last period, which unravels backward)
  • Relationship value: how important is continued cooperation to each player? How much would they lose if the relationship ended?
  • Uncertainty about continuation: what is the probability each period that the interaction continues? Higher probability → higher effective discount factor → cooperation more sustainable
  • Impatience: are either player under short-term pressure that discounts future benefits?

Step 4: Folk theorem conditions Assess whether the conditions for sustained cooperation are met:

  • Discount factor is sufficiently high (both players value future interactions enough)
  • Defection is observable (players can detect when cooperation breaks down)
  • Punishment is credible (the punishing party would actually carry it out — it must be in their interest to do so)

Step 5: Strategy recommendation Based on the discount factor and relationship context, recommend the best strategy from the following:

Before narrowing: Show all candidate strategies to the user first. Use AskUserQuestion:

  • Question: "I've identified the following strategies as applicable given the discount factor and relationship context: [list all candidate strategies by name]. Before I select the best fit, are there any you'd flag as especially important given constraints I may have missed, or any I've overlooked?"

  • Header: "Prioritise"

  • Options:

    • Proceed with your selection — the candidate set looks right
    • Flag one — user will name a specific strategy to prioritise
    • Add a missing one — user will describe a constraint or dynamic not yet captured
  • Tit for Tat: cooperate first, then mirror the opponent's last move. Best for stable, ongoing relationships where misunder

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • manifest.json

FAQ

Что делает скилл game-theory-iterated?

Analyses long-run repeated interactions — how cooperation forms, how trust is built, how defection spirals start, and which strategies sustain cooperation. Triggers: 'repeated game', 'iterated strategy', 'long-run relationship', 'reputation effects', 'how do I sustain cooperation', 'tit for tat', 'shadow of the future', 'will they defect', 'ongoing relationship after betrayal', 'how do we recover from this'.

Как установить скилл game-theory-iterated?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл game-theory-iterated запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить game-theory-iterated с