← 返回 Skills 市场
midnightstudioai

Game Theory Strategist

作者 David Escobar · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
119
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install game-theory-strategist
功能描述
Analyze strategic interactions and calculate optimal decision paths using Game Theory. Trigger on: strategic planning, negotiation tactics, pricing wars, com...
使用说明 (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
安全使用建议
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install game-theory-strategist
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /game-theory-strategist 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug game-theory-strategist
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Game Theory Strategist 是什么?

Analyze strategic interactions and calculate optimal decision paths using Game Theory. Trigger on: strategic planning, negotiation tactics, pricing wars, com... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 119 次。

如何安装 Game Theory Strategist?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install game-theory-strategist」即可一键安装,无需额外配置。

Game Theory Strategist 是免费的吗?

是的,Game Theory Strategist 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Game Theory Strategist 支持哪些平台?

Game Theory Strategist 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Game Theory Strategist?

由 David Escobar(@midnightstudioai)开发并维护,当前版本 v1.0.1。

💬 留言讨论