/dm-game:async-and-socialfrom dm-game
Guides async multiplayer design including ghost/replay data, leaderboards, asynchronous PvP, offline vulnerability, and anti-snowball mechanics for single-player and multiplayer games.
Ships in dm-game. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Purpose: Get the retention and meaning benefits of other players without the cost of real-time multiplayer — and stop early leads from deciding outcomes.
Scope note. This skill was cut down from a broad multiplayer-design skill. Skill-based matchmaking, guild systems, voice/text moderation, anti-toxicity programmes and esports operations were removed rather than summarised: each is a speciality where a paragraph of advice is worse than none, and none of them is reachable without a live population. If you are building real-time multiplayer, this skill will not be enough and should not be treated as a starting point.
Sources: Leaderboard layering, ghost data and offline-vulnerability guardrails are conventions of the practice with no single origin — treat every rule here as a heuristic with its test attached, and every number as posture B under the Numbers Policy. The anti-snowball framing generalises comeback-mechanic discussion from competitive design (David Sirlin and others); the 30% threshold is explicitly a working value, flagged as such where it appears.
Async multiplayer solves the scheduling problem — your players are never online at the same time — while keeping the social signal that drives retention. It is almost always the right first social feature for a small team, because it has no population floor: it works with one player and a database.
| Form | What it is | Works when |
|---|---|---|
| Ghost / replay | A recording of another run, raced against live | The game is time- or score-scored and deterministic enough to replay |
| Async PvP | AI plays another player's loadout, team, or build while they are away | Loadout choice is a meaningful part of play |
| Challenge sharing | Players author a seed, a constraint, or a layout for others | The game has a seedable generator |
| Passive presence | Other players' names, marks, or traces appear in your world | Even a small population; the illusion is cheap and durable |
Design rule: ghost data should read as a person, not a recording. Carry the name, the cosmetic, the moment they failed. A ghost that is just a fast line is a benchmark; a ghost that stumbles where you stumbled is an opponent.
Heuristic, not sourced. Test it: show players two ghosts, one with identity signals and one without, and ask which they wanted to beat.
The default global all-time leaderboard is the worst option and the one everyone ships first. It is aspirational for the top 0.1% and demoralising for everyone else, and it stagnates — the top entries stop changing and the board stops being a reason to return.
| Type | Strength | Failure mode |
|---|---|---|
| Global all-time | Clear hierarchy | Stagnates; irrelevant to almost everyone |
| Time-limited (daily / weekly / seasonal) | Fresh competition, a reason to return | Rewards grind over skill unless the window is short |
| Segmented (friends, region, skill band) | Achievable, relevant | Prestige fragments across boards |
| Relative (top X%) | Every player can move their number | Less legible than a rank |
Rule: layer them, and put the most local one first. Friends, then percentile, then global. Most players are motivated by beating someone they know, not by being first in the world.
Rule: a leaderboard needs a reset horizon. If the board can never change at the top, it has stopped being a system and become a monument. Pick the window before you ship the board.
If the game has a seedable generator, a shared daily seed gives you the whole social layer for almost nothing: everyone plays the same run, scores are comparable without matchmaking, and the board resets itself every day. This is the highest ratio of social value to engineering cost available to a solo developer, and it requires determinism — see simulation-first-design.
If a player's assets can be attacked while they are away, the design owes them guardrails. Without them, the mechanic is a churn generator: the loss lands without the player present to contest it, which is the worst possible ratio of felt punishment to agency.
Rule: a player who sleeps should not wake up to nothing.
Snowballing is when an early advantage compounds into an unrecoverable lead. This is not a multiplayer-only problem — it appears in roguelike runs, in 4X games, in economic sims, and in any system with a positive feedback loop on resources. It is included here because competitive play surfaces it first and most brutally.
Some snowball is necessary: if an early advantage does not matter, the early game does not matter. The failure is unchecked snowball, where the outcome is determined long before the match or run ends.
Diagnostic: if more than ~30% of matches or runs feel decided in the first quarter, you have a snowball problem. Track surrender rate, early quit rate, and the point in the timeline at which the eventual winner takes a lead they never lose. This 30% figure is a working threshold, not a sourced benchmark — replace it with a number measured on your own game as soon as you can.
| Lever | Mechanism | Cost |
|---|---|---|
| Comeback bonus | Trailing side gets more resources, faster respawn, objective value | Can feel unearned if visible |
| Rubber-banding | Advantage scales inversely with lead | Feels like cheating the moment players notice it |
| Phase reset | New stage partially neutralises positional advantage | Can erase earned advantage wholesale |
| Resource cap | Ceiling on accumulated advantage | Blunt; punishes the skilled as well as the lucky |
| Risk escalation | Closing out requires the leader to take risk | Best of the five — preserves earned advantage while re-opening the outcome |
Prefer risk escalation. The other four take the lead away from the player who
earned it; risk escalation makes them spend it. This is the same principle as
economy-design's positive feedback for skill, negative feedback for time.
Test: plot the eventual winner's advantage over match time across many matches. If the curves diverge and never cross after the first quarter, no comeback path exists regardless of what the design document claims.
Most games in a small portfolio have no multiplayer and still want the social signal. In rough order of value per unit of work:
Everything above works at a population of one. Anything requiring simultaneous players does not, and a social feature that needs a crowd you do not have is a dead feature that still costs maintenance.
Three tight links. Everything else routes through the map, so adding a skill
touches one file rather than twenty: references/routing-map.md (in
game-design).
What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/accessibility-designUse when designing any player-facing feature, evaluating a game for accessibility, responding to accessibility feedback, designing difficulty or assist options, adding subtitle/caption systems, implementing input remapping, or when a player reports they can't play. Covers the four accessibility pillars (visual, auditory, motor, cognitive), implementation tiers, colorblind design, subtitle standards, input accessibility, and testing methodology. Accessibility is a design discipline, not a post-launch checklist./audio-designUse when designing how audio communicates game state, creates emotion, and serves as a feedback system. Activate for sound effect design, adaptive music systems, spatial audio, ambient soundscapes, audio priority and ducking, emotional audio design, and audio accessibility. Also activate when audio feels disconnected from gameplay, when players routinely play on mute (a design failure signal), when evaluating whether the audio stack has appropriate layering and variation, or when planning how music responds to gameplay context. This skill treats audio as a design system — not audio engineering or production, but the intentional design of what players hear, when, and why. Covers the full audio stack from music and ambience through sound effects, UI audio, and voice./camera-controlControlling a 2D or top-down game camera, not juicing it: a pure 'where it wants to be' target kept separate from 'how it gets there'; exponential damping versus a critically damped spring, with halflife as the tuning unit; velocity look-ahead and an aim lead on its own slow clock; zoom as a product of named factors (player base zoom, wheel, screen size, speed); combat framing that zooms out to keep every threat on screen, with a floor; an optional rotate-with-ship (heading-follow) mode and what it does to the HUD; shake applied only at render and never to the aim; one pair of world/screen conversions; and the camera options players expect. Use when building or reviewing a follow camera, adding zoom or a camera options tab, or when players say 'the view jumped when my mouse came back', 'I got shot from off screen', 'I can't see far enough ahead', 'the zoom makes me sick', 'it's too floaty' or 'too stiff', or 'the arrow points the wrong way'. Shake, punch and the trauma budget are game-feel's./cosmic-horror-registerTone, diction, and sensory palette for cosmic-horror game narrative — Lovecraftian, weird-fiction, eldritch, Arkham-adjacent, deep-time or deep-space dread. Use when writing or reviewing in-game text, story bibles, item descriptions, or interstitials for a cosmic-horror game; when horror prose reads as generic spooky rather than cosmic; when the mystery is being over-explained; or when a draft is leaning on words like eldritch, unspeakable, or indescribable to do the work. Also the worked example of the six-slot register template — read the Register template section to build folk-horror, noir, comic, or any other tonal register the same way. Layers on top of game-narrative-craft, which supplies the structural rules; this skill supplies only tone./data-driven-designTelemetry and analytics for games: event taxonomy and schema, engagement/progression/economy/balance/UX metrics, funnel analysis, A/B testing and when not to, cohort analysis, dashboard design, and the interpretation traps — Goodhart's Law, Simpson's paradox, survivorship bias, over-optimisation. Use when instrumenting a game, deciding what to measure, reading a retention or funnel drop, comparing cohorts, or when a metric moved and you need to know whether it means anything. Data-informed, not data-driven: numbers say what happened, not why. For pre-ship qualitative evidence use playtest-design./deadpan-institutional-registerTone and diction for comedy-horror where an institution processes the impossible without noticing: corporate horror, bureaucratic dread, workplace supernatural, company-town folk horror, the memo that mentions the wolves. Use when writing in-game text, tips, item descriptions, or flavour for a game whose joke is the organisation rather than the monster; when horror-comedy copy is landing as jokey rather than deadpan; when the monsters are becoming the punchline; or when satire is drifting into winking at the player. Instance two of the six-slot register template — see cosmic-horror-register for the template itself and how to build a third.npx claudepluginhub rbergman/dark-matter-marketplace --plugin dm-gameOther plugins' skills for the same job