s4h-game-theory-coalition

s4h-game-theory-coalition is a skill for Claude Code from human-avatar/skills-for-humanity. It costs 94 tokens per session (1,872 once invoked), scanned A, original, MIT.

A guide to coalition analysis, which studies which groups will form when participants can make binding agreements and share gains. It also explains the Shapley value, a method for dividing gains according to average contribution.

In plain words
What is it for?
Use it to evaluate partnerships, team formation, alliance choices, and fair splits of shared benefits.
Why use it?
It helps replace arguments about who deserves what with a structured way to assess group value and individual contributions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the skills-for-humanity plugin — 197 skills, 1 hook shipped together

Good fit Use it to evaluate partnerships, team formation, alliance choices, and fair splits of shared benefits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add human-avatar/skills-for-humanity --skill s4h-game-theory-coalition
Clone the repo
git clone --depth 1 https://github.com/human-avatar/skills-for-humanity

Made for: Claude Code.

Or install skills-for-humanity, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for s4h-game-theory-coalition

README.md
[![agentmods](https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition/github.svg)](https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition)
Your own site
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for s4h-game-theory-coalition

Your own site · 80×15
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-game-theory-coalition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,872 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01872
Opus 5 $0.00047 $0.00936
Sonnet 5 $0.00019 $0.00374
Haiku 4.5 $0.00009 $0.00187

Measured 9d ago against content hash 4480c01c627f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

s4h-game-theory-coalition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/s4h-game-theory-coalition/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Game Theory: Coalition Analysis

Cooperative game theory asks a different question from strategic (non-cooperative) game theory. Rather than asking what rational self-interested players will do when they can't coordinate, it asks: when players can form binding agreements and share gains, which coalitions will form, and how should the value be divided?

Lloyd Shapley's answer to the division question — the Shapley value (1953, Nobel Prize 2012) — is remarkable for its mathematical precision and moral intuition. Each player's fair share is their average marginal contribution across all possible orderings of coalition formation. Formally: for each permutation of all players, calculate how much value player i adds when they join the coalition that has formed before them. Average this marginal contribution across all permutations. The result is the Shapley value — the uniquely fair allocation given four axioms: efficiency (the grand coalition's total value is fully distributed), symmetry (identical players receive equal shares), dummy (players who contribute nothing receive nothing), and additivity (allocations across independent games add correctly).

The core captures coalition stability: an allocation is in the core if no subset of players can collectively do better by breaking away and forming their own coalition. If an allocation is in the core, no group has an incentive to defect — the grand coalition is stable. If the core is empty, no allocation is fully stable and some defection pressure is unavoidable.

These two concepts are complementary but distinct. The Shapley value is always unique and always exists — it answers "what is fair?" The core may be empty — it answers "what is stable?"


Your Process

Step 1: Player-value map List all players and, for each possible coalition (every subset), specify the value that coalition can generate on its own. This is the characteristic function of the game — v(S) for every subset S. For small groups (3–4 players), enumerate all subsets. For larger groups, focus on the most relevant coalitions: the grand coalition, each individual player alone, and the likely competing sub-coalitions.

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 123 lines · 94 tokens per session scan A 4480c01c627f

Subscribe to this mod's changes

s4h-game-theory-coalition is a skill published in the GitHub repository human-avatar/skills-for-humanity (223 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 1,872 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

decision-making-under-pressure

Provides practical habits for making better decisions faster -- reframing problems before solving them, knowing when to stop deliberating, balancing intuition with analysis, resisting 'just this once' compromises, and breaking overthinking cycles. Use when facing a high-stakes choice with incomplete data, sensing that…

fatihguner/foreman · 95 tokens

flow-state

Optimizes individual and team productivity using Csikszentmihalyi's flow state framework, covering the conditions for flow (clear goals, immediate feedback, challenge-skill balance), the four-stage flow cycle, and organizational flow design. Use when auditing personal or team focus time, diagnosing productivity loss…

fatihguner/foreman · 96 tokens

stoic-right-action

Applies Stoic ethics of right action to entrepreneurial decision-making, covering the four cardinal virtues (courage, justice, temperance, wisdom), ethical leadership under pressure, and the discipline of choosing the harder right over the easier wrong. Use when facing ethical dilemmas in business, building a…

fatihguner/foreman · 89 tokens

bakeoff

Turn one decision into a judged tournament of solutions, then pick the best. Given a problem, design choice, or a suggestion you want cross-verified, it generates diverse candidate solutions, auto-derives the evaluation dimensions for THAT problem (so you don't have to know what to score on), judges every candidate…

CoriChui/bakeoff · 330 tokens

balanced-scorecard

Translate strategy into metrics across Financial, Customer, Internal Process, and Learning & Growth perspectives.

tupe12334/instinct · 22 tokens

customer-journey-map

Visualize every touchpoint a customer has with a product or service — stages, actions, emotions, pain points, opportunities.

tupe12334/instinct · 31 tokens