Source profileQuality 98/100

vasilyu1983/AI-Agents-public/frameworks/shared-skills/skills/foundations-game-theory/SKILL.md

foundations-game-theory

Game-theory primitives for strategic decision systems, auctions, mechanism design, incentives, attribution, negotiation, debate, and trust. Use when modeling strategic play.

Source repository stars
80
Declared platforms
2
Static risk flags
0
Last source update
2026-08-21
Source checked
2026-08-25

Decision brief

What it does: where it fits

22 applied game-theory primitives for strategic decision systems, backed by a formal theory map. Each applied primitive solves a specific incentive or coordination failure. Primitives are domain-agnostic: the same mechanism that prevents free-riding in agent teams prevents cost-…

Best for

  • Multiple agents/teams/users with potentially divergent incentives
  • Synthesis where minority-correct outcomes matter (high-stakes, irreversible)
  • Auctions, bidding, mechanism design, or pricing where strategic behaviour exists

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/foundations-game-theory"
Safe inspection promptEditorial

Inspect the Agent Skill "foundations-game-theory" from https://github.com/vasilyu1983/AI-Agents-public/blob/53f6cb73ea53a2646e3e7d4665062ad66f3683ac/frameworks/shared-skills/skills/foundations-game-theory/SKILL.md at commit 53f6cb73ea53a2646e3e7d4665062ad66f3683ac. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Current Pattern Review

    Use references/patterns-scenarios-traps.md before applying a primitive to production or agent-team routing. It distinguishes durable game-theory mechanisms from fast-moving LLM-agent papers, lists scenario-specific stacks, and calls out traps such as majority-vote collapse, unca…

    Use references/patterns-scenarios-traps.md before applying a primitive to production or agent-team routing. It distinguishes durable game-theory mechanisms from fast-moving LLM-agent papers, lists scenario-specific stac…
  2. 02

    Workflow

    1. Identify the strategic failure mode in your system (attribution, routing, synthesis, trust, negotiation, adversarial risk). 2. Use the Quick Reference table to map failure mode → primitive. 3. Open the per-mechanism playbook in assets/templates/game-theory/ for the full probl…

    Identify the strategic failure mode in your system (attribution, routing, synthesis, trust, negotiation, adversarial risk).Use the Quick Reference table to map failure mode → primitive.Open the per-mechanism playbook in assets/templates/game-theory/ for the full problem/solution/launch-prompt template.
  3. 03

    Quick Reference

    Review the “Quick Reference” section in the pinned source before continuing.

    Review and apply the “Quick Reference” source section.
  4. 04

    When to Apply

    Apply game-theory primitives when: - Multiple agents/teams/users with potentially divergent incentives - Synthesis where minority-correct outcomes matter (high-stakes, irreversible) - Auctions, bidding, mechanism design, or pricing where strategic behaviour exists - Repeated int…

    Multiple agents/teams/users with potentially divergent incentivesSynthesis where minority-correct outcomes matter (high-stakes, irreversible)Auctions, bidding, mechanism design, or pricing where strategic behaviour exists
  5. 05

    Primitive Index

    Each primitive has a full playbook (problem, solution, how-it-works, launch-prompt template, domain applications, citations).

    Each primitive has a full playbook (problem, solution, how-it-works, launch-prompt template, domain applications, citations).

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score98/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars80SourceRepository attention, not individual Skill quality
Compatibility2 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
vasilyu1983/AI-Agents-public
Skill path
frameworks/shared-skills/skills/foundations-game-theory/SKILL.md
Commit
53f6cb73ea53a2646e3e7d4665062ad66f3683ac
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Game Theory Foundations

22 applied game-theory primitives for strategic decision systems, backed by a formal theory map. Each applied primitive solves a specific incentive or coordination failure. Primitives are domain-agnostic: the same mechanism that prevents free-riding in agent teams prevents cost-shifting in partnership contracts; the same auction that routes tasks routes ad placements.

For the agent-team applied recipe layer (team.yaml manifest fields, agent-team anti-patterns, agent-team decision checklist, composition recipes for typical agent-team scenarios), see agents-subagents/references/game-theory-agent-teams.md.

Contents


Quick Reference

PrimitiveDomainRecipe Stub
Belief-Driven Coordination (ECON)Multi-party teams, distributed analysis, agent teamsMembers optimize against beliefs about co-members; reduces redundant work and inter-member chat
Adversarial DebateContent moderation, risk review, auditTwo heterogeneous evaluators + reasoning-tree synthesis; no majority vote
Auction-Based RoutingAd placement, task delegation, resource allocationSealed-bid truthful auction; highest-value-per-cost wins
Shapley ContributionAttribution, revenue sharing, team compositionMarginal-contribution average across subsets
Reputation-Gated AutonomySupplier qualification, agent oversight, fraud gatingTiered trust: proven → standard → probationary; oversight inversely proportional
Cooperation and DefectionPartnership design, incentive alignment, complianceIterated PD structure; payoff-scale to detect defection tendency
Mechanism Design for SynthesisDecision aggregation, voting, policy-makingVickrey truthful-revelation; dissent is a required section
Courtroom-Style DebateLegal review, risk go/no-go, claim verificationPlaintiff/defense/court structure + progressive RAG + role-switching
Pareto-Nash Multi-ObjectiveProduct tradeoffs, regulatory vs growth, pricing tiersMap Pareto frontier; pick dominant options; flag non-dominated set
Evolutionary Coordination SearchAlgorithm selection, prompt tuning, rule evolutionLLM-mutated program + fitness signal; ShinkaEvolve for sample efficiency
Prediction Market ConfidenceForecasting, risk calibration, hiring decisionsStake-weighted confidence; CritiCal calibration step before stake
Negotiation ZOPA/BATNAPricing, partnership terms, resource contentionMap BATNA/ZOPA per party; target overlap zone; use interests not positions
Reasoning-Tree AuditHigh-stakes synthesis, compliance review, claim checkingTrace claims to evidence at First Point of Disagreement; reject unsupported majority
Per-Claim Credibility ScoringMisinformation detection, adversarial content, securityEvidence quality × corroboration weight per claim; isolate high-risk claims
Generative Social ChoiceMulti-stakeholder policy, diverse-user product decisionsMaximin selection across candidate outputs; preserve minority-signal coverage
Meta-Debate Role RoutingDebate setup, role-fit selection, agent teamsTwo-stage proposal + peer-review picks plaintiff/defense/judge from a pool
Online Shapley Prompt EvolutionHigh-frequency teams, prompt tuning over many runsPer-member prompt mutation guided by Shapley contribution (HiveMind)
Beyond Majority Voting (BMV)Best-of-N synthesis (discrete answer), ensemble selectionOptimal Weight (confidence × calibration) + Inverse Surprising Popularity
Radial Consensus Score (RCS)Best-of-N synthesis (open-ended generation), self-consistencyEmbedding-centroid selector for semantically clustered, lexically diverse answers
Conformal Social ChoiceHigh-stakes debate verdicts, act/escalate gatesCalibrated prediction set: singleton acts, multi-answer set escalates
Attested Delegation ContractsCross-trust subagent routing, agent marketplaces, external toolsRoute by verified capability and bounded contract, not self-claimed quality
Coalition Formation RoutingLarge teams, departments, multi-workstream auditsForm stable subteams before synthesis; avoid flat-panel overload

When to Apply

Apply game-theory primitives when:

  • Multiple agents/teams/users with potentially divergent incentives
  • Synthesis where minority-correct outcomes matter (high-stakes, irreversible)
  • Auctions, bidding, mechanism design, or pricing where strategic behaviour exists
  • Repeated interactions where reputation, cooperation, or trust evolves
  • Best-of-N selection across 5+ candidates (BMV/RCS)
  • Cross-trust delegation, dynamic agent pools, or high-stakes act/escalate decisions

Skip and use simpler alternatives when:

  • Single agent / single-shot task — game theory is about interactions, not solo work
  • Routine task with high majority-correct rate — a deterministic check or oracle is cheaper
  • Hard verification exists (test suite, schema, calculator) — use the oracle, not voting
  • Team < 3 members on a low-stakes call — overhead exceeds diversity gain
  • Information-only retrieval / pure compression — use foundations-information-theory instead
  • Single-system reliability/SLO question — use foundations-reliability-theory or queueing-theory

Primitive Index

Each primitive has a full playbook (problem, solution, how-it-works, launch-prompt template, domain applications, citations).

#MechanismFailure Mode It Addresses
1Belief-Driven Coordination (ECON)Pooling equilibrium — members read same context, produce same analysis
2Adversarial DebateConfabulation consensus, correlated bias
3Auction-Based Task RoutingStatic routing, ambiguous selection
4Shapley Contribution ScoringFree-riding, unverifiable attribution
5Reputation-Gated AutonomyUniform trust regardless of track record
6Cooperation and DefectionShallow output, scope dumping, echo chambers
7Mechanism Design for SynthesisLoudest-wins aggregation, suppressed dissent
8Courtroom-Style Debate (PROClaim)Evidence stagnation, position-anchored reasoning
9Pareto-Nash Multi-ObjectiveSingle-objective optimization on multi-objective problems
10Evolutionary Coordination SearchHand-tuned rules are sub-optimal vs. measured fitness
11Prediction Market / Confidence BettingVerbose output dominates synthesis
12Negotiation Protocol (ZOPA/BATNA)Adversarial framing on genuine compromise situations
13Reasoning-Tree AuditConfident-but-wrong consensus; majority vote unsafe
14Per-Claim Credibility ScoringSingle-claim failure modes reputation gating misses
15Generative Social ChoiceMulti-stakeholder buy-in; averaging erases minority evidence
16Meta-Debate Role RoutingWrong specialist gets the wrong debate role; static role assignment
17Online Shapley Prompt EvolutionWeak team members never improve; static prompts under-utilize Shapley signal
18Beyond Majority Voting (BMV)Majority vote on best-of-N erases minority-correct answers (calibration ignored)
19Radial Consensus Score (RCS)Lexical-overlap voting fails on semantically clustered open-ended generations
20Conformal Social Choice Act/EscalateWrong consensus turns into irreversible action
21Attested Delegation ContractsSelf-claimed quality corrupts routing across trust boundaries
22Coalition Formation RoutingLarge flat panels duplicate work and produce unstable synthesis

Formal Supporting Theory

The 22 primitives are the applied layer, not the whole field. Use references/formal-theory-map.md when the task needs formal assumptions, proof obligations, or classical theory coverage.

Theory AreaUse WhenApplied Primitives It Grounds
Game formsNeed to classify normal-form, extensive-form, Bayesian, repeated, stochastic, or cooperative structure#1, #6, #8, #9, #10, #12
Solution conceptsNeed dominance, minimax, Nash, Bayesian Nash, subgame-perfect, perfect Bayesian, or correlated equilibrium#1, #2, #6, #8, #9, #10, #18
Mechanism and auction designNeed incentive compatibility, individual rationality, revelation principle, VCG, Myerson, reserves, or bid shading#3, #7, #11, #20, #21
Information economicsNeed signaling, screening, adverse selection, moral hazard, principal-agent framing, or attestation#5, #7, #12, #14, #21
Cooperative game theoryNeed Shapley, core, nucleolus, Banzhaf, coalition formation, or surplus sharing#4, #6, #15, #17, #22
Market design and matchingNeed stable matching, deferred acceptance, matching with contracts, or allocation without prices#3, #7, #12, #15
Bargaining theoryNeed Nash bargaining, Rubinstein bargaining, BATNA/ZOPA, outside options, or alternating offers#12
Learning in gamesNeed no-regret, fictitious play, CFR, PSRO, self-play, or empirical game-theoretic analysis — including no-regret Nash policy convergence in RLHF (INPO, ICLR 2025 Oral) and smooth RM+ last-iterate convergence [NeurIPS 2025]#6, #10, #11, #17
Strategic failure analysisNeed collusion, equilibrium selection, Goodharting, manipulation, or off-equilibrium threatsall primitives

Expert Judgment: When the Model Helps vs Misleads

Applying a primitive correctly is mechanical. Knowing whether the game-theoretic frame is the right frame at all — and which game — is the actual expert skill. This section is judgment, not a lookup table.

The equilibrium selection problem

Most interesting games (repeated games especially — see the Folk Theorem in formal-theory-map.md) have many equilibria, not one. A non-expert computes an equilibrium and reports it as "the" prediction. An expert checks multiplicity first and asks what actually selects among the candidates in this specific situation — precedent, an explicit contract, a public commitment, a focal point, or repeated-play reputation. Reporting "the Nash equilibrium is X" without naming the selection mechanism is a tell that the analysis stopped one step too early.

Common-knowledge assumptions failing in practice

Nash equilibrium, Bayesian Nash equilibrium, and most mechanism-design proofs assume common knowledge of rationality, of payoffs (or their distribution), and of the rules of the game itself. Real organizations violate all three routinely:

  • A "competitor" may be a satisficer bound by an internal OKR or a legacy contract, not a profit-maximizing best-responder — modeling them as rational invites a confidently wrong prediction.
  • Bidders or negotiating parties often do not share a common prior on value — private information about downstream use, not risk attitude, is driving the gap.
  • LLM agents do not reliably best-respond at all: pro-social bias, framing sensitivity, and authority compliance are documented, repeated deviations from Nash play (see the LLM rationality trap in patterns-scenarios-traps.md). Any incentive-compatibility argument built on "agents best-respond" needs a held-out behavioral check before it is trusted for LLM participants.
  • The deviation runs in both directions, and over-truthfulness breaks proofs the same way strategic misreporting does. LLM agents in matching markets reveal preferences truthfully at higher rates than human subjects, but truth-telling does not track strategy-proofness — a strategy-proof mechanism did not elicit more truthful reports than a manipulable one (Hoshino, Kitadai & Nishino, arXiv:2606.03030, June 2026). Mechanism-based markets still beat free negotiation on stability and efficiency; the conclusion is that matching theory is a useful but incomplete guide for LLM-agent institutions, not that the guarantees transfer.

Self-assessment is the binding constraint on agent markets. Auctions, task routing (#3), and confidence staking (#11) all consume agent self-reports of cost and success probability. MarketBench (Fradkin & Krishnan, arXiv:2604.23897, April 2026) measured six recent models on 93 SWE-bench Lite tasks and found them poorly calibrated on both success rate and token consumption; auctions built from those self-reports diverged from the full-information allocation, and supplying prior-capability context improved calibration only modestly. Before routing real work by agent bids, measure calibration on held-out tasks — an incentive-compatible mechanism fed miscalibrated valuations allocates badly without anyone misreporting strategically.

Habit: before invoking a solution concept, ask "would every party recognize this as the same game I do?" If not, either model it explicitly as a game of incomplete information (Bayesian game) or drop equilibrium language and use the frame as a heuristic only.

Mapping a business situation to the right game

Non-experts reach for "prisoner's dilemma" or "Nash equilibrium" as a generic label for any tense multi-party situation. An expert asks a short sequence of diagnostic questions before naming a game form or picking a primitive:

  1. Who are the real strategic actors? Not every interested party is a strategic player — a regulator reacting on a multi-year lag is closer to an exogenous constraint than a player in a weekly pricing game.
  2. One-shot or repeated — do the players expect to meet again? A single vendor negotiation is a bargaining problem (#12); an ongoing supplier relationship is a repeated game where reputation and folk-theorem-style cooperation are available — analyzing it as one-shot recommends defection that is actually irrational given the relationship's shadow of the future.
  3. Simultaneous or sequential, and who commits first? Prices set quarterly and observed by competitors before they respond is closer to Stackelberg (sequential, first-mover) than Cournot/Bertrand (simultaneous) — the right model changes the recommendation from "best-respond" to "commit and signal."
  4. Is value created cooperatively or contested? Cooperative-game tools (Shapley, core) fit attribution and surplus-sharing (#4); competitive tools (auctions, Nash) fit contested allocation (#3, #9). Applying auction logic to a joint-venture split, or Shapley logic to a zero-sum negotiation, produces answers that are precise and wrong.
  5. Is there a credible commitment device? A threat or promise only constrains behavior if the counterparty believes it will be carried out even against the threatener's own later interest. A pricing "war" threat with no sunk cost or public commitment behind it is cheap talk — treat it as information about intent, not as a binding constraint on the game tree.
  6. Is this actually a game, or an oracle-verifiable fact? The most common non-expert error in this whole domain is running a debate, auction, or negotiation protocol over a question that has a deterministic answer — a test suite, a contract clause, a calculator. See Misuse Boundaries.

Mechanism-design failure modes that only surface in production

Textbook mechanism design proves existence of a truthful, efficient, individually rational mechanism under an idealized participant model. Each row below is a normal way real deployments break that idealization — not an edge case to footnote.

Failure ModeWhat BreaksReal-World TriggerMitigation
Collusion / bidder ringsDominant-strategy truthfulness assumes independent bidders; a ring that agrees off-mechanism to suppress bids and split the surplus defeats VCG and second-price auctions alikeRepeated auctions with a small, stable, identifiable bidder poolReserve prices, bidder-pool rotation, anti-collusion monitoring (AntiCollusionAI); detect via markup-over-marginal-cost drift over many rounds, not spot price
False-name bidsA single bidder submits multiple identities; VCG is provably not false-name-proof in combinatorial auctions, and no false-name-proof mechanism is Pareto efficient in general (Yokoo, Sakurai & Matsubara, Games and Economic Behavior, 2004)Any auction where identity is cheap to fabricate — email-based registration, sybil-able agent pools, unverified marketplace accountsRequire attested identity before bidding (mirrors #21 Attested Delegation Contracts) — price identity verification into the mechanism, not as an afterthought
Participation constraints failingIndividual rationality assumes the average outside option; when the highest-value participants have the best outside options, they opt out first and adversely select the remaining poolA mechanism designed around expected participants, not the marginal one who is deciding whether to walkCheck IR against the highest-value participant's outside option; Myerson & Satterthwaite (1983) show no mechanism for private-value bilateral trade can be simultaneously efficient, budget-balanced, and individually rational — some efficiency loss or subsidy is structurally unavoidable
Budget imbalanceVCG is efficient and truthful but generally runs a deficit or surplus that must land somewhereMulti-sided mechanisms with no natural residual claimantDecide upfront who absorbs the imbalance (platform take-rate, budget-neutral variant, or accept the inefficiency) rather than discovering it at settlement
Computational infeasibilityExact VCG for combinatorial allocation requires solving an often NP-hard optimization for the winning allocation and every counterfactual-without-bidder-i allocationTask/resource routing over bundles, not single-item slotsUse approximate/greedy VCG variants and disclose the resulting efficiency loss, or restrict to single-item/separable settings where exact VCG is tractable
Rules stated only in the promptA policy the participants can read but nothing enforces is cheap talk; under optimization pressure agents route around itLLM participants told "do not collude" in a system prompt, with no state machine, sanction, or audit log behind itEnforce in the orchestration layer, not the prompt — declare legal states, transitions, and sanctions outside the agents and have a controller apply them (Institutional AI, arXiv:2601.11369, Jan 2026: prompt-only constitutional policy was ineffective; governance-graph enforcement cut severe-collusion incidence from 50% to 5.6% across 90 runs)

Practical tell: if a mechanism is called "truthful" or "incentive-compatible" but nobody can name (a) the participation constraint being satisfied, (b) how false identities are prevented, (c) who absorbs budget imbalance, and (d) what enforces the rules other than the prompt, the claim has not actually been checked.

Communication channels are a collusion dial, not a neutral feature. Direct seller-to-seller messaging raises collusive tendency in simulated continuous double auctions, with the effect varying by model and modulated by oversight and authority pressure (Agrawal et al., arXiv:2507.01413, 2025). The same channel that reduces conflict in coordination games raises coordinated overpricing in market games — decide which game you are actually running before granting agents a side channel.


Anti-Patterns

Anti-PatternGame Theory DiagnosisFix
Majority vote in high-stakes aggregationCorrelated errors pass; LLMs share biasesReasoning-tree audit (#13) traces each claim to evidence
Single-objective optimization on a tradeoff decisionPareto-dominant alternatives go unexaminedMap Pareto frontier (#9) before committing
Attribution by seniority or loudnessFree-riding goes undetected; poor performers stayShapley marginal-contribution scoring (#4)
Flat trust applied uniformlyHigh-risk counterparties get same autonomy as proven onesReputation-gated tiers (#5) calibrate oversight to track record
Adversarial debate forced on genuine compromisesPositions harden; ZOPA never locatedSwitch to negotiation protocol (#12) when there is a continuous tradeoff
Confidence staking without calibrationOverconfident participants dominate synthesisCritiCal calibration step before prediction market (#11) staking
Synthesis suppresses dissentMinority-correct signal is erasedDissent required as a section in mechanism-design synthesis (#7)
Uniform cooperation assumed in partnershipsDefection undetected until costlyIterated payoff-scale test (#6) surfaces defection tendency early
All members read same context, produce overlapping analysisPooling equilibrium — no belief differentiationBelief-driven coordination (#1) gives each member a unique lane
Static debate role assignment regardless of questionWrong-specialist assignment dominates outcomeMeta-debate role routing (#16) — propose + peer-review picks plaintiff/defense/judge
Best-of-N collapsed by majority voteCalibration and minority-correct signal lostBeyond Majority Voting (#18) — Optimal Weight + Inverse Surprising Popularity
Open-ended generation scored by lexical overlapSemantically equivalent answers split the voteRadial Consensus Score (#19) — embedding-centroid selector
Consensus treated as permission to actWrong agreement becomes automated harmConformal Social Choice (#20) — act only on singleton calibrated set
Routing by self-claimed delegate qualityStrategic or misconfigured delegates attract workAttested Delegation Contracts (#21) — verify identity/capability and bound authority
Large team run as one flat panelDuplicate work, coalition instability, synthesis overloadCoalition Formation Routing (#22) — stable subteams before final synthesis

Misuse Boundaries

MisuseWhy It Is WrongRequired Correction
Applying game theory when a deterministic validator existsHard oracles beat strategic synthesisRun tests, compilers, schema checks, SQL, or calculators first
Calling a workflow incentive-compatible without payoffsTruth-telling is not a label; it requires a payoff structureState the mechanism, utility model, and best-response argument
Treating LLM agents as economic agents with stable preferencesModels follow prompts and context, not durable utility functionsReframe as an operational heuristic unless preferences are explicit
Using Shapley when contribution is not measurableAttribution becomes story-tellingDefine the value function and approximation before scoring
Using debate when disagreement is caused by missing dataDebate amplifies uncertainty instead of resolving itRetrieve, measure, or ask for missing evidence first
Using RCS/BMV when a hard oracle existsSelection mechanisms can suppress the verifiable answerUse the oracle, then optionally synthesize explanations
Using reputation as proof of claim truthStrong participants can make local errorsRun per-claim credibility scoring
Using equilibrium language without checking equilibrium selectionMultiple equilibria can imply opposite recommendationsList candidate equilibria and the selection assumption
Optimizing one metric in a multi-party mechanismGoodharting shifts harm to unmeasured partiesAdd Pareto and stakeholder checks before launch
Hiding minority evidence in synthesisMinority-correct answers are a common failure casePreserve dissent, runner-up, and outlier evidence
Calling a multi-principal synthesis incentive-compatible without designing a payment schemeTruthful reporting is strictly dominated without payments in multi-stakeholder settings (NeurIPS 2024 proof)Add affine maximizer (weighted VCG) payment or explicitly scope to a single-principal setting
Running an auction over uncalibrated agent self-reportsAllocation quality is bounded by valuation accuracy, not by mechanism truthfulness — miscalibrated bids misallocate even under honest reportingMeasure bid calibration on held-out tasks before routing real work (MarketBench)
Encoding mechanism rules as prompt instructionsDeclarative prohibitions have no binding force under optimization pressureEnforce legal states, transitions, and sanctions in the orchestration layer with an audit log
Scoring a negotiation agent on deal rateFrontier models saturate deal rate while diverging widely on surplus extraction, belief calibration, and constraint complianceScore surplus captured, cue use, and compliance separately (TERMS-Bench)

Decision Checklist

  • Routing: Is the problem multi-option with measurable fit signal? → auction (#3)
  • Attribution: Does the output depend on contributions from multiple sources? → Shapley (#4)
  • Aggregation: Does synthesis combine claims with varying quality? → reasoning-tree audit (#13) + mechanism-design synthesis (#7)
  • Trust calibration: Are participants heterogeneous in track record? → reputation gating (#5)
  • Tradeoff detection: Are there multiple incommensurable objectives? → Pareto-Nash (#9) or negotiation (#12)
  • High-stakes binary decision: Needs evidential audit trail? → courtroom debate (#8)
  • Adversarial context: Claims may be injected or manipulated? → per-claim credibility scoring (#14)
  • Multi-stakeholder output: Multiple user types with different needs? → generative social choice (#15)
  • Prediction / forecast: Confidence calibration required? → prediction market (#11)
  • Long-running coordination rule: Has a measurable quality signal over many runs? → evolutionary coordination search (#10)
  • Multi-party context-sharing risk: Members may produce overlapping analysis? → belief-driven coordination (#1)
  • Best-of-N synthesis (discrete answer): Need to recover minority-correct? → BMV (#18)
  • Best-of-N synthesis (open-ended): Lexically diverse but semantically clustered candidates? → RCS (#19)
  • Repeated team optimization: 50+ runs with measurable contribution signal? → online Shapley prompt evolution (#17)
  • Debate role-fit ambiguity: Best plaintiff/defense not the obvious specialist? → meta-debate role routing (#16)
  • High-stakes act/escalate: Debate agreement is not enough? → conformal social choice (#20)
  • Cross-trust delegation: Delegate can self-claim quality or authority? → attested delegation contract (#21)
  • Large team topology: 6+ members or distinct workstreams? → coalition formation routing (#22)

Composition Recipes

See assets/templates/game-theory/README.md for full domain-scenario stacks.

Quick stacks:

  • Pricing / monetization: #9 (Pareto-Nash for objective mapping) + #12 (BATNA/ZOPA for negotiation range) + #7 (synthesis dissent required) Inputs: Competitor price points, own marginal cost, demand elasticity estimate, switching cost for buyer. Rules: Map Pareto frontier across price/margin/volume objectives (#9); compute BATNA floor and ZOPA ceiling per party (#12); run Bertrand floor check — if product is undifferentiated, price collapses to marginal cost; differentiation (feature, brand, lock-in) is required to hold above floor; synthesis must surface dissenting price band (#7). Outputs: Price band (floor = marginal cost or BATNA, ceiling = ZOPA upper bound), differentiation requirement to sustain above-floor pricing, dissent note if any Pareto-dominated option was preferred by a stakeholder.

  • Ad bidding / task routing: #3 (auction routing) + #4 (Shapley ROI attribution) + #11 (confidence-weighted forecast) Inputs: Bidder count, valuation distribution (private or correlated), bid visibility (sealed vs. open), budget constraints. Rules: If private values and bids sealed → 2nd-price (Vickrey) dominant; if bids are publicly visible → 1st-price + reserve (visible bids flip incentive to overbid for signalling, collapsing the 2nd-price guarantee); attribute ROI across winning bidder's components via Shapley marginal contribution; calibrate confidence forecasts via CritiCal step before staking. Outputs: Mechanism choice (1st-price + reserve vs. 2nd-price), expected revenue estimate, per-component Shapley ROI attribution, calibrated confidence interval on forecast.

    Worked example — marketplace switching from 1st-price to 2nd-price (Vickrey) auction. Bidders: 4, valuations [10, 8, 6, 4]. 1st-price equilibrium: rational bid shading produces bids ≈ [7.5, 6, 4.5, 3] → revenue = 7.5 (winner pays own bid). 2nd-price truthful: bids = [10, 8, 6, 4] → revenue = 8 (winner pays 2nd-highest). Truthfulness gain: +6.7% revenue, plus zero bid-shading complexity → fewer abandoned bids and lower ops cost. Anti-pattern: don't run 2nd-price with publicly visible bids — incentive flips to overbid for signalling and the dominant-strategy guarantee collapses.

  • Security / adversarial context: #14 (per-claim credibility) + #13 (reasoning-tree audit) + #8 (courtroom for go/no-go) Inputs: Claim set under review, evidence sources per claim, adversarial threat model (injection vector, attacker capability), go/no-go decision stakes. Rules: Score each claim independently on evidence quality × corroboration weight (#14); trace every claim to its First Point of Disagreement in the reasoning tree (#13); run courtroom plaintiff/defense/judge only after per-claim scoring — debate over unsupported claims amplifies uncertainty rather than resolving it. Outputs: Per-claim credibility score, reasoning-tree audit trail, go/no-go recommendation with dissent preserved, list of claims that failed credibility threshold and require retrieval before re-evaluation.

  • Partnership design: #6 (cooperation-defection payoff test) + #5 (reputation gating) + #12 (ZOPA negotiation) Inputs: Partner track record (prior-interaction count n, defection incidents), payoff matrix cells for cooperation vs. defection on the proposed arrangement, each party's BATNA and stated interests. Rules: If n < 3 interactions → require contractual escrow or clawback clause (iterated PD cannot be relied on with insufficient history); if n ≥ 3 and no defection → tit-for-tat sufficient; assign reputation tier (probationary / standard / proven) based on defection rate and interaction depth (#5); locate ZOPA as overlap between each party's reservation value and walk-away point (#12); flag if no ZOPA exists — do not negotiate, renegotiate the scope. Outputs: Recommended contract structure (escrow clause if n < 3, tit-for-tat terms if n ≥ 3), reputation tier assigned, ZOPA range or no-deal flag, payoff-scale test result (cooperation dominant or defection dominant under current incentives). If an LLM runs the negotiation: do not accept deal rate as the success metric — it saturates across frontier models while surplus extraction, belief calibration, and constraint compliance still diverge sharply (TERMS-Bench, arXiv:2605.13909, 2026, 13 systems). Score surplus captured against the counterpart's latent payoff, and treat a high close rate with low surplus as conceding, not winning.

  • High-quality synthesis: #13 (reasoning-tree audit) + #7 (mechanism-design synthesis) + #11 (confidence betting) Inputs: Candidate outputs or claims, evidence source per claim, participant confidence estimates, synthesis stakes (reversible vs. irreversible decision). Rules: Audit reasoning tree to First Point of Disagreement before aggregating (#13); require dissent as a mandatory section in synthesis output (#7); run CritiCal calibration on participant confidence before staking (#11) — overconfident participants otherwise dominate. Outputs: Synthesized recommendation with dissent section, per-claim evidence trace, calibrated confidence interval, list of unresolved disagreements requiring further evidence.

  • High-stakes act/escalate: #13 (reasoning-tree audit) + #11 (confidence elicitation) + #20 (conformal social choice) Inputs: Candidate actions, member probability distributions, calibration table or shadow-case history, escalation cost. Rules: Treat agreement as evidence, not proof; pool distributions; act only when the calibrated prediction set is singleton; escalate when the set has multiple plausible answers. Outputs: Singleton action or escalation reason, prediction set, confidence/calibration note, evidence that would shrink the set.

  • Cross-trust delegation: #21 (attested delegation contracts) + #3 (auction routing) + #5 (reputation gating) Inputs: Delegate pool, attested capabilities, authority boundary, acceptance criteria, failure policy. Rules: Filter by verified capability before any bidding; never route by self-claimed quality; give the winner a bounded contract; update reputation only from verified outcomes. Outputs: Eligible delegate set, chosen delegate, delegation contract, typed failure/recovery path, reputation update.

  • Large-team coalition routing: #22 (coalition formation) + #1 (belief-driven coordination) + #4 (coalition-level Shapley) Inputs: Workstreams, member capabilities, dependency map, synthesis owner, deadline. Rules: Form stable coalitions around workstreams; run local coalition analysis first; synthesize coalition leads rather than every raw member output; check that no load-bearing workstream is unowned. Outputs: Coalition map, local findings, cross-coalition conflicts, final synthesis.

  • Multi-party teams (always-on baseline): #1 (belief-driven coordination) + #4 (Shapley) + #7 (synthesis with required dissent) Inputs: Team member count, context overlap risk (do members share the same documents/signals?), contribution measurability (can each member's marginal value be isolated?). Rules: Assign each member a unique belief lane to break pooling equilibrium (#1); compute Shapley marginal-contribution score per member per run (#4); synthesis must include dissent section — loudest-wins aggregation is the default failure mode (#7). Outputs: Belief lane assignment per member, Shapley contribution scores, synthesized output with dissent preserved, free-rider flag if any member's marginal contribution is near zero.

  • Best-of-N (discrete answer): #18 (BMV) — Optimal Weight + Inverse Surprising Popularity Inputs: N candidate answers (discrete), per-candidate confidence score, calibration data if available. Rules: Weight each candidate by confidence × calibration accuracy (Optimal Weight); apply Inverse Surprising Popularity to recover minority-correct answers that majority vote would suppress; do not apply if a hard oracle (test suite, schema check, calculator) is available — use the oracle directly. Outputs: Selected answer with weighted score, runner-up with score delta, flag if minority-correct candidate was recovered.

  • Best-of-N (open-ended generation): #19 (RCS) — embedding-centroid selector across 5+ candidates Inputs: 5+ candidate generations (open-ended text), embedding model, semantic similarity threshold. Rules: Embed all candidates; compute centroid; select candidate closest to centroid as representative; do not use lexical-overlap voting — semantically equivalent answers split the vote under lexical scoring. Outputs: Selected generation (centroid-nearest), semantic cluster map, outlier candidates flagged for manual review if they are far from centroid but potentially high-value.

  • High-frequency team optimization: #4 (Shapley) + #17 (online Shapley prompt evolution) + #5 (reputation gating) Inputs: Run count (minimum 50 for meaningful Shapley signal), per-member contribution measurability, current prompt set per member. Rules: Compute Shapley contribution per member per run (#4); use Shapley signal to guide per-member prompt mutation each epoch (#17); gate autonomy by accumulated reputation tier — probationary members get tighter review until track record reaches standard tier (#5); do not apply online Shapley prompt evolution below 50 runs — signal is too noisy for reliable mutation. Outputs: Updated prompt per member (mutated toward higher Shapley contribution), reputation tier per member, contribution trend chart (improving / stable / degrading).

  • Building a multi-agent LLM application (full-stack recipe): #1 (belief-driven coordination) + #21 (attested delegation) + #5 (reputation gating) + #20 (conformal act/escalate) + #4 (Shapley attribution) Inputs: Agent pool (roles, capabilities, trust provenance), task decomposition map, reversibility of downstream actions, success metric per agent. Rules: Assign belief lanes at design time so agents receive differentiated context and cannot pool into a uniform analysis (#1); route sub-tasks only to delegates with attested (not self-claimed) capability — the provenance paradox shows self-claimed routing performs worse than random (#21); start every new agent on probationary tier; promote to standard tier only after 3+ verified successful runs (#5); before any irreversible action (payment, send, deploy), check that the conformal prediction set is singleton — multi-answer set triggers human escalation (#20); compute Shapley marginal contribution per agent per release epoch to detect free-riders and guide prompt or architecture revision (#4). Anti-pattern: do not run a flat panel of 6+ agents — form coalitions by workstream first (#22). Outputs: Belief-lane assignment per agent, attested-capability registry, reputation tier per agent, act/escalate gate policy, Shapley contribution report per epoch, coalition map if team ≥ 6.


Navigation


Current Pattern Review

Use references/patterns-scenarios-traps.md before applying a primitive to production or agent-team routing. It distinguishes durable game-theory mechanisms from fast-moving LLM-agent papers, lists scenario-specific stacks, and calls out traps such as majority-vote collapse, uncalibrated confidence, static role assignment, overusing debate, and source claims that have not been rechecked against primary papers.


Workflow

  1. Identify the strategic failure mode in your system (attribution, routing, synthesis, trust, negotiation, adversarial risk).
  2. Use the Quick Reference table to map failure mode → primitive.
  3. Open the per-mechanism playbook in assets/templates/game-theory/ for the full problem/solution/launch-prompt template.
  4. For multi-failure scenarios, use the Composition Recipes or the full assets/templates/game-theory/README.md to stack primitives.
  5. Check references/patterns-scenarios-traps.md for trap coverage before shipping the mechanism.
  6. For agent-team applied recipes (team.yaml manifest fields, agent-team anti-patterns, decision checklist for team launches), load agents-subagents/references/game-theory-agent-teams.md.
  7. For other domain applied recipes — pricing, paid advertising, CRO, security, market intel — see each domain skill's references/game-theory-applied.md (or game-theory-pricing.md for startup-business-models).

ASCII Flow

Strategic interaction or incentive failure
  -> Identify actors, payoffs, information, and repeatedness
  -> Classify failure: attribution, routing, synthesis, trust, negotiation, adversarial risk
  -> Select applied mechanism
     +-- shared payoff only -> consider team theory instead
     +-- divergent incentives -> continue with game-theory primitive
  -> Check formal assumptions and pattern traps
  -> Produce mechanism, launch rule, evidence requirement, and fallback

Related Skills


Fact-Checking

  • Verify paper results (accuracy deltas, token counts) against primary arxiv sources before treating them as benchmarks.
  • Mechanism effectiveness is task- and domain-specific. Test on a held-out sample before deploying at scale.
  • Source links and verified dates in each per-mechanism file are the canonical evidence tier.
  • If web access is unavailable, mark runtime-specific claims as unverified.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Frequently asked questions

What to verify before installation and use

What does the foundations-game-theory source document cover?

22 applied game-theory primitives for strategic decision systems, backed by a formal theory map. Each applied primitive solves a specific incentive or coordination failure. Primitives are domain-agnostic: the same mechanism that prevents free-riding in agent teams prevents cost-…

How do I install foundations-game-theory?

The source record exposes this install command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/foundations-game-theory". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: codex, claude code.

Alternatives

Compare before choosing

Computed 9980

vasilyu1983/AI-Agents-public

qa-testing-ios

Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.

Computed 983,066

samber/cc-skills-golang

golang-samber-mo

Monadic types for Golang using samber/mo — Option, Result, Either, Future, IO, Task, and State types for type-safe nullable values, error handling, and functional composition with pipeline sub-packages. Apply when using or adopting samber/mo, when the codebase imports `github.com/samber/mo`, or when considering functional programming patterns as a safety design for Golang.

Computed 9880

vasilyu1983/AI-Agents-public

software-ui-ux-design

Designs and audits UI/UX systems with usability and accessibility requirements. Use when shaping flows, design systems, interaction patterns, or WCAG-aware product behavior.

Computed 973,066

samber/cc-skills-golang

golang-design-patterns

Idiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience, architecture, dependency injection, data handling, streaming, and more. Apply when explicitly choosing between architectural patterns, implementing functional options, designing constructor APIs, setting up graceful shutdown, applying resilience patterns, or asking which idiomatic Go pattern fits a specific problem.