← Back to Skills Marketplace
midnightstudioai

Game Theory Strategist

by David Escobar · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
119
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install game-theory-strategist
Description
Analyze strategic interactions and calculate optimal decision paths using Game Theory. Trigger on: strategic planning, negotiation tactics, pricing wars, com...
README (SKILL.md)

Game Theory Strategist

Philosophy

This skill operates on the principle of Strategic Interdependence: an agent's utility is contingent upon the actions of others. We move beyond simple optimization to recursive modeling — asking not just what we should do, but what we should do in response to what others do, knowing they are thinking the same about us.

The skill balances pure theoretical rationality with Bounded Rationality — recognizing that humans use heuristics, suffer cognitive biases, and satisfice rather than optimize. The output is always actionable, never just academic.


Operational Workflow

Step 1 — Game Identification & Classification

Categorize the interaction:

  • Players: Identity and number of decision-makers
  • Rules: Sequential (Extensive Form) vs. Simultaneous (Normal Form)
  • Payoffs: Zero-sum vs. Non-zero-sum (Partial Conflict)
  • Information: Perfect, Imperfect, or Asymmetric (Bayesian)
  • Duration: One-shot vs. Repeated (Finite or Infinite)

Step 2 — Modeling & Representation

  • Simultaneous Games: Construct a Payoff Matrix (utility values -10 to +10)
  • Sequential Games: Map decision tree with backward induction
  • Repeated Games: Identify shadow of the future and trigger strategies

Step 3 — Solution Concepts

Apply the relevant lens:

  • Dominant Strategy Equilibrium: Best move regardless of opponent
  • Nash Equilibrium: States where no player benefits by unilateral deviation (mark with ★)
  • Subgame Perfect Equilibrium: Backward induction for sequential games
  • Pareto Optimality: Is the equilibrium efficient for the group? If not, flag it

Step 4 — Mechanism Design (when applicable)

For coaching/negotiation scenarios, evaluate whether the current "rules of the game" can be redesigned:

  • Individual Rationality (IR): All parties prefer participating over walking away
  • Incentive Compatibility (IC): Truth-telling or desired behavior is the optimal strategy
  • Use scripts/mechanism_designer.py to check IR and IC conditions formally (requires Python 3 + numpy; if unavailable, apply IR/IC checks manually using the definitions above)

Step 5 — Regret & Risk Evaluation (for career/life decisions)

For uncertain life choices with multiple paths:

  • Apply Counterfactual Regret Minimization principles
  • Use scripts/regret_calculator.py to simulate mixed strategies over iterations (requires Python 3 + numpy; if unavailable, reason through CFR principles qualitatively)
  • Factor in variance preferences (stable low-variance vs. high-variance high-EV options)

Step 6 — Behavioral Adjustment

  • Adjust theoretical optimum for opponent's cognitive biases (anchoring, loss aversion, fairness norms)
  • Identify nudge or signaling strategies
  • Account for Brinkmanship in high-stakes negotiations: leverage is created by credibly raising mutual risk

Step 7 — Output

Produce a structured visual analysis (HTML artifact). See Output Format section below.


Commands

  • /model_conflict [description]: Maps a personal/professional dispute into a normal or extensive-form game to identify Nash Equilibria
  • /minimize_regret [option A] [option B]: Applies CFR principles to weigh long-term costs of divergent life choices
  • /design_incentives [goal]: Constructs an incentive-compatible framework for partners, employees, or family members

Output Format

Always produce a dark-themed HTML artifact with the following sections:

  1. CLASIFICACIÓN DEL JUEGO — 4 cards: Tipo, Información, Suma cero, Repetido
  2. MATRIZ DE PAGOS — Table with player strategies as rows/columns, payoff pairs, Nash equilibrium marked ★, Pareto label if applicable
  3. EQUILIBRIO DE NASH — Two cards: current equilibrium analysis + Price of Anarchy (what the weaker player is losing)
  4. ESTRATEGIAS ÓPTIMAS — Two columns: dominant strategy for the user + why the opponent isn't moving
  5. PLAN DE ACCIÓN POR FASES — Numbered steps derived from backward induction
  6. VEREDICTO ESTRATÉGICO — 2-3 sentence synthesis
  7. Action Buttons — 2-3 follow-up prompts the user can click (use sendPrompt() — claude.ai only; omit buttons if rendering outside claude.ai)

Visual Style

  • Background: #0f0f0f, cards: #1a1a1a, borders: #2a2a2a
  • Nash equilibrium cell: teal highlight rgba(20, 184, 166, 0.15), border #14b8a6
  • Warning/bad equilibrium: red-orange rgba(239, 68, 68, 0.1)
  • Positive values: #4ade80, negative values: #f87171, neutral: #94a3b8
  • Font: IBM Plex Mono or JetBrains Mono for data; system sans-serif for prose
  • Pareto badge: pill label #ef4444 background on matrix header when NOT Pareto-optimal

Reference Files

  • references/methodology.md — Theoretical foundations (Von Neumann, Nash, Selten, Harsanyi, Schelling, Kahneman). Read when you need to justify solution concepts or explain theory to the user.
  • evals/evals.json — 5 benchmark scenarios with expected outputs. Use to verify skill quality.

Scripts

  • scripts/regret_calculator.py — CFR simulation for life/career decisions with multiple uncertain paths
  • scripts/mechanism_designer.py — IR/IC checker for agreement and negotiation design
Usage Guidance
This skill appears coherent and focused on game-theory coaching. Before installing, ensure your Claude environment has Python 3 and numpy if you want to run the included scripts locally; otherwise the skill will run qualitatively without executing code. Remember outputs are qualitative approximations (not legal/financial advice). As with any skill, review the included scripts yourself if you will run them — they execute only local computations and contain no network calls or credential access.
Capability Assessment
Purpose & Capability
Name/description (game-theory analysis, negotiation/coaching) match the included scripts and SKILL.md. The two Python scripts implement mechanism checks and a CFR-inspired simulator which are directly relevant to the stated functionality.
Instruction Scope
SKILL.md limits runtime actions to model construction, use of the included Python scripts, and HTML artifact rendering. It does not instruct reading unrelated files, exporting secrets, or contacting external endpoints; it explicitly notes claude.ai-specific rendering features and to omit buttons outside that platform.
Install Mechanism
No install spec (instruction-only) is present; scripts require Python 3 and numpy as declared. User must ensure these dependencies are available in the execution environment; nothing is downloaded from external URLs and no unpack/extract steps are present.
Credentials
The skill requests no environment variables, credentials, or config paths. All required resources (numpy) are proportional to the math/simulation tasks.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and contains no instructions to persist credentials or change system-wide settings. It runs only when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install game-theory-strategist
  3. After installation, invoke the skill by name or use /game-theory-strategist
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added compatibility section specifying Python 3, numpy dependency, and claude.ai-specific features. - Updated script usage instructions: Scripts require Python 3 + numpy; includes fallback to manual IR/IC checks and qualitative CFR reasoning if unavailable. - Clarified that Action Buttons using sendPrompt() are for claude.ai only; omit outside that platform. - Removed stray backup file (~$README.md) from the project.
v1.0.0
- Initial release of the Game Theory Strategist skill. - Analyze and model strategic interactions, negotiations, conflicts, and competitive scenarios using core game theory concepts. - Supports identification/classification of game types, modeling with payoff matrices and decision trees, solution concept analysis (Nash equilibrium, dominant strategies, Pareto optimality), and mechanism design. - Includes specialized commands to model conflicts, minimize regret, and design incentives. - Produces structured dark-themed HTML visual analysis, highlighting equilibrium, strategy, and actionable recommendations.
Metadata
Slug game-theory-strategist
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Game Theory Strategist?

Analyze strategic interactions and calculate optimal decision paths using Game Theory. Trigger on: strategic planning, negotiation tactics, pricing wars, com... It is an AI Agent Skill for Claude Code / OpenClaw, with 119 downloads so far.

How do I install Game Theory Strategist?

Run "/install game-theory-strategist" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Game Theory Strategist free?

Yes, Game Theory Strategist is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Game Theory Strategist support?

Game Theory Strategist is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Game Theory Strategist?

It is built and maintained by David Escobar (@midnightstudioai); the current version is v1.0.1.

💬 Comments