skills/shoham-leyton-brown-2009-mas-foundations/SKILL.md
- **Name**: multiagent-systems-shoham-leyton-brown
npx skillsauth add curiositech/windags-skills shoham-leyton-brown-2009-mas-foundationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Primary Branching: Problem Type Identification
Coordination Problem
├─ Strategic agents (may misreport)?
│ ├─ YES → Mechanism Design Path
│ │ ├─ Need truthful reporting?
│ │ │ ├─ YES + efficiency required → Use VCG (accept budget imbalance)
│ │ │ └─ YES + budget balance required → Check Myerson-Satterthwaite impossibility
│ │ ├─ Computational constraints on agents?
│ │ │ ├─ YES → Avoid revelation principle; use simplified mechanisms
│ │ │ └─ NO → Direct truthful mechanism feasible
│ │ └─ Requirements contradictory? → Identify which impossibility applies
│ │
│ └─ NO → Distributed Algorithm Path
│ ├─ Interdependent constraints?
│ │ ├─ YES → Distributed CSP (asynchronous backtracking)
│ │ └─ NO → Standard distributed coordination
│ └─ Global consistency required? → Use priority-based conflict resolution
│
├─ Equilibrium computation required?
│ ├─ YES → Representation Choice
│ │ ├─ Perfect information → Backward induction (linear time)
│ │ ├─ Imperfect info + perfect recall → Sequence form (polynomial)
│ │ ├─ Normal form small → Support enumeration
│ │ └─ Normal form large → Use correlated equilibrium (LP)
│ │
│ └─ NO → Check existence only
│
└─ Agents computationally bounded?
├─ YES → Bounded Rationality Model
│ ├─ Repeated interaction → Use finite automata analysis
│ ├─ Memory < game length → Cooperation may emerge
│ └─ Simple heuristics → Myopic best response, tit-for-tat
│
└─ NO → Full game-theoretic analysis
Information Structure Decision Tree
IF agents have private information AND strategic
THEN choose information revelation mechanism:
├─ Perfect information possible → Design full revelation protocol
├─ Imperfect information + perfect recall → Use sequence form representation
├─ Imperfect recall unavoidable → Accept mixed ≠ behavioral strategies
└─ Common knowledge achievable → Enable coordination on superior equilibria
Computational Feasibility Gates
IF mechanism requires Nash computation
THEN check problem size:
├─ Small normal form (< 10 strategies) → Support enumeration acceptable
├─ Large normal form OR imperfect information → Switch to sequence form
├─ Still intractable → Use correlated equilibrium (linear program)
└─ Real-time constraints → Bounded rationality heuristics only
1. Centralized Control Assumption
2. Computational Complexity Blindness
3. Revelation Principle Misapplication
4. Impossibility Denial
5. Representation Lock-in
Scenario: Design rate limiting for API where users may misreport resource needs to get better service.
Decision Process:
Expert vs Novice: Novice would use first-price auction (agents shade bids, lose efficiency). Expert recognizes VCG truthfulness requirement.
Scenario: Multiple services sharing compute cluster; need coordination without central controller.
Decision Process:
Key Insight: Central randomization ≠ central control. Oracle can't force compliance, only coordinate expectations.
Scenario: Sensor nodes with limited memory must coordinate measurements without central control.
Decision Process:
Trade-off Analysis: Accept suboptimal individual decisions for superior collective outcomes.
This skill should NOT be used for:
Delegation Rules:
tools
Building resilient distributed systems with circuit breakers, retries with full-jitter exponential backoff, retry budgets (per-request 3-attempt + per-client 10% ratio per Google SRE), deadline propagation, and the cascading-failure math (4 layers × 3 retries = 64x amplification). Grounded in Resilience4j, Microsoft Cloud Patterns, AWS Architecture Blog (Marc Brooker), and Google SRE Book.
testing
Designing HTTP cache headers that work correctly across browsers, CDNs, and shared proxies — `Cache-Control` directives per RFC 9111, `stale-while-revalidate` and `stale-if-error` per RFC 5861, the Vary header for varying responses, and surrogate keys for tag-based purging. Grounded in IETF RFCs and Cloudflare/Fastly docs.
development
Use when designing or fixing a Content Security Policy on a real site, choosing between nonce-based and hash-based CSP, adding strict-dynamic, debugging "Refused to execute inline script" errors, deploying CSP in report-only mode first, configuring report-to / report-uri, or auditing an existing policy for unsafe-inline / unsafe-eval / wildcards. Triggers: "CSP blocks legitimate inline script", strict-dynamic, nonce-{RANDOM}, sha256-{HASH}, object-src none, base-uri none, frame-ancestors, Trusted Types, X-Content-Security-Policy obsolete, report-only vs enforced. NOT for general HTTP security headers (HSTS, COOP/COEP), Trusted Types deep dive, CORS configuration, or building a WAF.
tools
Choosing and operating an HTTP API versioning strategy that doesn't break clients — Stripe's date-based pinned versions, the Deprecation/Sunset header pair (RFC 9745 + RFC 8594), URI vs header vs media-type approaches, and the version-transformer pattern. Grounded in Stripe's published architecture and IETF RFCs.