🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Prisoners Dilemma Resolver

by @quochungto

Diagnose whether a multi-player conflict is a prisoners' dilemma and design a cooperation mechanism to resolve it. Use when parties are locked in a mutually...

⚑ When to Use
TriggerAction
- **All parties would benefit from mutual cooperation, but each has a private incentive to defect** β€” this is the defining feature of a prisoners' dilemma. Price wars, overfishing, arms races, and advertising spirals are canonical instances.
- **A collective agreement has been tried and keeps collapsing** β€” parties promise to cooperate, then someone cheats.
- **A commons is being overexploited** β€” individuals capture private gains while spreading costs across the group.
- **You need to decide between cooperation and competition** β€” unsure whether a situation calls for restraint or aggressive play.
- **You need to distinguish a cooperation problem from a coordination problem** β€” cooperation problems (prisoners' dilemma) have dominant strategies to defect; coordination problems have no incentive to deviate once aligned on a convention. The remedies differ sharply.
Preconditions: you have at least one of:
- A description of the conflict, the parties involved, and what each can choose to do
- A rough sense of who gains and who loses from each combination of choices
- Information about how long the relationship has been ongoing and how long it is expected to continue
**Agent:** Before starting, confirm: (1) how many players are involved, (2) whether this is a one-shot or repeated interaction, and (3) whether the user wants only a diagnosis or a full cooperation mechanism design. The mechanism design is the core deliverable.
πŸ’‘ Examples

Example 1: Pricing cartel between two mail-order retailers

Situation: Rainbow's End (RE) and B.B. Lean (BB) both price shirts at $70 when both could price at $80 and each earn $72,000 vs. $70,000 per year. Each firm cuts to $70 because it's the dominant strategy: cutting while the other holds at $80 yields $110,000; holding at $80 while the other cuts yields only $24,000.

Diagnosis: Classic 2-player prisoners' dilemma. T=$110k, R=$72k, P=$70k, S=$24k. Defection dominant for both.

Discount-rate calculation: (Rβˆ’P)/(Tβˆ’R) = ($72kβˆ’$70k)/($110kβˆ’$72k) = $2k/$38k = 5.26%. If prevailing interest rate < 5.26%, tacit cooperation at $80 is self-sustaining.

Mechanism: Level 1 (self-enforcing repeated play). Detection: price lists are publicly observable. Clarity: define "defect" as cutting below $80. Response: immediately match any price cut in next catalog. Forgiveness: if other party restores $80 pricing, match that too. Communication: a "most-favored-customer" clause makes the automatic response policy public, removing ambiguity. Anti-pattern avoided: no explicit agreement is reached (antitrust risk); cooperation is purely tacit.


Example 2: Fishery commons overexploitation

Situation: New England fishing fleet: each captain has incentive to catch as much as possible before others do; result is collapse of species after species (Atlantic halibut, ocean perch, haddock).

Diagnosis: Multiperson prisoners' dilemma (contribution game). Each additional catch by one captain reduces the stock for all others. Dominant strategy: fish aggressively regardless of what others do.

Discount-rate calculation: Not determinative on its own β€” relationship continues indefinitely but individual boats can't unilaterally enforce rules against strangers.

Mechanism: Level 5 (Ostrom commons governance). Apply 8-principle checklist: 1. Boundaries: issue licenses to fish specific species in specific zones β€” clear membership 2. Rules match conditions: seasonal closures and gear restrictions (net size) β€” more observable than quantity quotas 3. Graduated sanctions: first violation = warning + education; second = fine; third = license suspension 4. Automatic detection: rotating assignment to prime fishing zones creates natural monitoring β€” the assigned captain notices unauthorized use immediately 5. Local design: fishing community designs the quota and rotation rules with knowledge of local conditions, not federal agency 6. Conflict resolution: fishing association mediation before formal sanction 7. External recognition: state and federal agencies recognize community fishing governance authority 8. Nested governance: local associations handle local waters; interstate compact handles migratory species


Example 3: Coordination problem misdiagnosed as cooperation problem

Situation: Ivy League colleges keep overspending on athletics even though the relative standings stay the same. "Each school would be better off if we all limited spring training to one day."

Diagnosis check: "If other schools limit training, should I limit training?" β†’ Yes, my performance improves no more than theirs, but I save costs. "If other schools don't limit training, should I limit training?" β†’ No, I'd be at a disadvantage. This is NOT a prisoners' dilemma. Defection is NOT dominant regardless of others' choices. The best response to "others cooperate" is to cooperate; the best response to "others defect" is to defect. This is a coordination problem.

Mechanism: Not Level 1-5 from the resolution menu. Instead: establish a focal point for the cooperative equilibrium through a collective agreement with clear enforcement (the Ivy League agreement limiting spring training to one day). Once the convention is established and everyone expects everyone else to comply, compliance becomes self-sustaining without punishment β€” because no one wants to be the only school overdoing training when no one else is.

Key distinction that matters: if this were a genuine prisoners' dilemma, the agreement would keep collapsing despite everyone's stated preference for cooperation. In coordination problems, a credible agreement is usually sufficient because there is no dominant strategy to defect β€” just a fear that others won't cooperate.

View on ClawHub
TERMINAL
clawhub install bookforge-prisoners-dilemma-resolver

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’