S4h Game Theory Equilibrium logo

S4h Game Theory Equilibrium

Organization
human-avatar
s4h-game-theory-equilibrium

Finds the stable outcome of a strategic interaction — the point where no player can improve their result by changing their strategy alone. Triggers: 'Nash equilibrium', 'dominant strategy', 'what's the stable outcome', 'equilibrium analysis', 'payoff matrix', 'what will rational players do', 'where will this land'.

Overview

Publisherhuman-avatar
Repositoryskills-for-humanity
Skill names4h-game-theory-equilibrium
Stars
234
Forks
24
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by human-avatar on GitHub. Read the source before you install it.

Installation

Install the S4h Game Theory Equilibrium AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/human-avatar/skills-for-humanity/tree/main/skills/s4h-game-theory-equilibrium
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/human-avatar/skills-for-humanity.git /tmp/skills-for-humanity
mkdir -p .claude/skills
cp -r /tmp/skills-for-humanity/skills/s4h-game-theory-equilibrium .claude/skills/s4h-game-theory-equilibrium
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable S4h Game Theory Equilibrium in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads S4h Game Theory Equilibrium on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so S4h Game Theory Equilibrium is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Game Theory: Equilibrium Analysis

John Nash's central insight: in any finite game, there exists at least one outcome — the Nash equilibrium — where no player can improve their payoff by unilaterally switching strategy, assuming all other players hold theirs. This is the point of stability; it's where rational play converges.

The power of equilibrium analysis is not that it finds the best outcome. It finds the actual outcome — where unconstrained, rational, self-interested players end up. Many Nash equilibria are collectively inefficient: the classic prisoners' dilemma equilibrium is both stable and bad for everyone. Knowing where the game ends up is the prerequisite for deciding whether to play, to change the rules, or to engineer a better outcome.

Thomas Schelling added a critical extension: when multiple equilibria exist, players coordinate on focal points — outcomes that feel natural or salient without explicit communication. The focal point is often obvious in context (the prominent location, the round number, the culturally expected choice) and determines which of several possible equilibria is reached.


Your Process

Step 1: Map the players and strategies Identify every player in the interaction. For each player, list their available strategies — the distinct actions they can choose. Keep the strategy set realistic: exhaustive but not so granular it becomes unmanageable.

Framing check: Confirm the specific game before continuing. State what you've identified — the players, their available strategies, and the core tension — in one sentence, then use AskUserQuestion:

  • Question: "I'm reading this as: [your one-sentence framing of the specific game — who the players are, what strategies are available, and what each is trying to achieve]. 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: Build the payoff matrix Construct a matrix showing each player's payoff for every combination of strategies. Fill in all cells. If payoffs are uncertain, use expected values. If precise payoffs aren't available, use ordinal rankings (best, good, neutral, bad, worst) — the analysis still holds.

Step 3: Find dominant strategies A dominant strategy is one that is better for a player regardless of what others do. Check each player: is there a strategy that beats or ties all alternatives across every possible opponent choice? If a dominant strategy exists, rational players will always choose it — it simplifies the analysis substantially. Iterated elimination of dominated strategies can further reduce the game.

Step 4: Identify Nash equilibria For each cell in the matrix, ask: given what the other player(s) are doing, would this player want to switch? If no player wants to switch — the combination is a Nash equilibrium. Mark all such outcomes. (A game may have one, several, or in mixed-strategy form, infinitely many equilibria.)

Step 5: Efficiency assessment Evaluate the equilibrium outcome(s): is this collectively good, or is there a better outcome that rational play fails to reach? An outcome is Pareto-inefficient if there exists an alternative where everyone would be at least as well off and at least one player would be strictly better off. Name exactly why the efficient outcome is unreachable without external intervention.

Step 6: Multiple equilibria and coordination If more than one Nash equilibrium exists, analyse: what determines which one is reached? Consider focal points (salience, cultural convention, historical precedent), communication (can players talk before choosing?), and coordination mechanisms (common knowledge, public commitments, third-party arbitration).


Human Check-in

Before proceeding, use the AskUserQuestion tool. State your interpretation of the situation in 1–2 sentences — what is being analyzed and what the core question is — then ask:

  • Question: "My read: [your 1–2 sentence interpretation]. How do you want to proceed?"
  • Header: "Scope"
  • Options:
    • Full analysis — Complete all steps, reasoning shown throughout
    • Key findings only — Bottom-line output, skip step-by-step detail
    • Specific focus — Zoom in on one aspect of this analysis
    • Reframe — The read is off; correct it and the analysis will follow the corrected framing

Proceed based on their selection. If the user reframes, incorporate the correction before running any analysis.


Output Format

Equilibrium Analysis

Players and Strategies [Each player and their available strategies]

Payoff Matrix [Full matrix — all cells filled, with payoffs for each player at each strategy combination]

Dominant Strategies [Which players have dominant strategies, and what they are — or "none" if absent]

Nash Equilibria [All equilibria identified, with the strategy combination and payoffs at each]

Efficiency Assessment [Efficient or Pareto-inefficient? If inefficient: which outcome would be better for all, and why rational play doesn't reach it]

Coordination Mechanism (if multiple equilibria) [What determines which equilibrium is reached — focal points, communication, history]

Strategic Implication [What this analysis means for the player asking — what to expect, what to watch, what leverage exists]


Notes

The Nash equilibrium describes where rational play leads — it does not prescribe what to do. If the equilibrium is bad (as in the prisoners' dilemma), the question becomes how to change the game. See /s4h-game-theory-mechanism-design for how to redesign rules so the equilibrium is efficient.

The most common equilibrium failure is the prisoners' dilemma structure: dominant strategies lead both players to an outcome worse than the alternative. See /s4h-game-theory-prisoners-dilemma for dedicated analysis of cooperation failures.

When players interact repeatedly, the equilibrium changes: future consequences make cooperation rational even when it isn't in the one-shot game. See /s4h-game-theory-iterated for repeated game analysis.

Pairs with: /s4h-strategy-positioning (acting effectively given the equilibrium you've identified), /s4h-game-theory-mechanism-design (changing the game so the equilibrium is efficient), /s4h-decision-criteria-weighting (when the strategic dimension is secondary and this is primarily a personal choice).


What's Next

After delivering this output, use AskUserQuestion to offer the next move:

  • Question: "Equilibrium found. What's next?"
  • Header: "Next"
  • Options:
    • /s4h-game-theory-signaling — Identify what signals could shift the equilibrium
    • /s4h-game-theory-mechanism-design — Design rules or incentives to produce a better equilibrium
    • /s4h-strategy-positioning — Position to exploit the current equilibrium
    • Done — Wrap up and synthesise what we have so far

Frequently asked questions

What does the S4h Game Theory Equilibrium AI skill do?

Finds the stable outcome of a strategic interaction — the point where no player can improve their result by changing their strategy alone. Triggers: 'Nash equilibrium', 'dominant strategy', 'what's the stable outcome', 'equilibrium analysis', 'payoff matrix', 'what will rational players do', 'where will this land'.

Why use S4h Game Theory Equilibrium on TypingMind?

Because you install it once and use it with any model. S4h Game Theory Equilibrium is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install S4h Game Theory Equilibrium in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/human-avatar/skills-for-humanity/tree/main/skills/s4h-game-theory-equilibrium. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use S4h Game Theory Equilibrium?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with S4h Game Theory Equilibrium?

As many as you like. As long as a model supports skills, you can use S4h Game Theory Equilibrium with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the S4h Game Theory Equilibrium AI skill free?

Yes. It is published on GitHub by human-avatar under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇