# Tit For Tat

> Start new business relationships with trust and investment, but immediately match any breach. Return to cooperation as soon as they do. Make the pattern obvious through transparency.

- Skill: `lev-os/tit-for-tat` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lev-os/tit-for-tat`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lev-os/tit-for-tat/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lev-os (https://skillmd.com/u/lev-os)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lev-os/tit-for-tat

---


# Tit-for-Tat

## One-Liner
A reciprocal strategy that cooperates initially, then mirrors the opponent's previous action, proven effective for building stable cooperation in repeated competitive interactions.

## Core Concepts
- **Initial Cooperation**: Always start by cooperating (be "nice")
- **Reciprocity**: Copy your opponent's last move (cooperate if they cooperated, defect if they defected)
- **Retaliation**: Punish defection immediately to discourage exploitation
- **Forgiveness**: Return to cooperation as soon as opponent does (don't hold grudges)
- **Simplicity**: Four lines of code won Axelrod's tournament twice

## When to Use
- In repeated interactions with the same party (iterated games)
- When building long-term business relationships
- During negotiations with potential for future dealings
- In competitive situations requiring cooperation (e.g., standards, ecosystems)
- When establishing trust with unknown partners
- For enforcing social norms through reciprocity

## Execution Steps
1. **Start with Cooperation**
   - Open with a generous, trusting action
   - Signal willingness to collaborate
   - Don't defect first (be "nice")

2. **Monitor Partner's Response**
   - Track whether they cooperated or defected
   - Maintain clear record of past interactions
   - Distinguish between accidental and intentional defection

3. **Mirror Previous Action**
   - If they cooperated last round: Cooperate this round
   - If they defected last round: Defect this round
   - Apply immediately (don't delay retaliation)

4. **Forgive Quickly**
   - Return to cooperation as soon as they do
   - Don't punish multiple rounds for single defection
   - Allow relationship repair

5. **Communicate the Strategy**
   - Make your approach predictable and transparent
   - Signal that defection will be met with defection
   - Demonstrate willingness to restore cooperation

6. **Adapt for Noise**
   - In noisy environments (accidental defection), use "generous tit-for-tat"
   - Occasionally cooperate after defection to prevent escalation
   - Balance between exploitation-resistance and error-tolerance

## Real-World Examples

**Business Applications**
- Supplier relationships: Match reliability with loyalty
- Partnership agreements: Reciprocate investment and commitment
- Open-source contributions: Active contributors receive priority support
- Trade relationships: Tariffs trigger counter-tariffs; removal triggers removal

**Social Interactions**
- Workplace collaboration: Help those who help you
- Networking: Return favors and introductions
- Conflict de-escalation: Match opponent's moves toward peace
- Community norms: Enforce cooperation through reciprocal behavior

**Axelrod's Tournament**
- 1980: Anatol Rapoport's 4-line BASIC program won
- 1984: Despite targeted counter-strategies, tit-for-tat won again
- Defeated complex algorithms through simplicity and clarity
- Established cooperation as evolutionarily stable

## Why It Works
- **Historical Validation**: Won Axelrod's iterated prisoner's dilemma tournaments (1980, 1984)
- **Four Success Principles**: Nice (cooperate first), retaliating (punish defection), forgiving (restore cooperation), simple (predictable)
- **Evolutionary Stability**: Tit-for-tat populations resist invasion by purely selfish strategies
- **Reciprocity Psychology**: Humans are wired to reciprocate; strategy aligns with social instincts
- **Clear Signals**: Transparency makes strategy self-enforcing

## Common Pitfalls
- **Noise Amplification**: In environments with errors, strict tit-for-tat can spiral into mutual defection
- **One-Shot Games**: Doesn't work when there's no future interaction
- **Exploitability**: Always-cooperate-first can be exploited by always-defect strategies
- **Overgeneralization**: Not optimal in all contexts (recent research shows environment-dependency)
- **Insufficient Adaptation**: Real-world environments may require more sophisticated variants
- **Forgiveness Too Fast**: In highly adversarial contexts, may signal weakness

## Related Frameworks
- **Prisoner's Dilemma**: The game structure where tit-for-tat proved effective
- **Grim Trigger**: Harsher alternative (defect forever after first defection)
- **Pavlov (Win-Stay, Lose-Shift)**: More recent strategy that outperforms in some contexts
- **Nash Equilibrium**: Tit-for-tat can sustain cooperative equilibrium in repeated games
- **Generous Tit-for-Tat**: Probabilistic forgiveness variant for noisy environments

## Red Flags
- Applied to one-time interactions (no future shadow)
- Used against purely adversarial opponents with no cooperation possibility
- Over-reliance without adaptation to specific context
- Treating all defections as intentional (ignoring accidents/misunderstandings)
- Expecting universal effectiveness (tournament design matters)
- Using as excuse to avoid genuine relationship-building

## Practitioner Notes
- **Modern Re-evaluation**: Recent research suggests tit-for-tat's success was tournament-specific
- **Context-Dependent**: Effective strategies should be "nice, provocable, generous, envious, clever, adaptive"
- **Generous Variant**: In noisy real-world environments, occasionally cooperate after defection (10-20% forgiveness rate)
- **Communication Multiplier**: Explicitly stating "I'll match your moves" amplifies effectiveness
- **Long-Term Focus**: Only works when future interactions matter more than immediate gains
- **Cultural Fit**: Aligns with reciprocity norms; struggles in cultures prioritizing unconditional cooperation or competition
- **Tech Implementation**: Used in P2P networks, reputation systems, distributed protocols

**Practical Application**
Start new business relationships with trust and investment, but immediately match any breach. Return to cooperation as soon as they do. Make the pattern obvious through transparency.

---

**Source**: Robert Axelrod (1984), "The Evolution of Cooperation" | Anatol Rapoport
**Track**: mental-models
**Domain**: 04-decision-making
**Scoring**: Practitioner 9/10 | Clarity 10/10 | ROI 9/10 | Novelty 7/10 | Cross-domain 9/10 = 44/50

