avalon-8-10p

avalon-8-10p is a skill for Claude Code, Codex from nexus-research-lab/nexus. It costs 34 tokens per session (2,260 once invoked), scanned A, original, Apache-2.0.

Rules for running an eight-to-ten-player game of Avalon with an AI host acting as moderator. Players may join the randomized pool or watch as spectators.

In plain words
What is it for?
Use it to host and moderate an Avalon game for eight, nine, or ten players.
Why use it?
It defines how player counts, roles, participation, spectators, and game decisions are handled.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to host and moderate an Avalon game for eight, nine, or ten players.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexus-research-lab/nexus/avalon-8-10p
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 nexus-research-lab/nexus --skill avalon-8-10p
Clone the repo
git clone --depth 1 https://github.com/nexus-research-lab/nexus

Made for: Claude Code, Codex.

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 avalon-8-10p

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexus-research-lab/nexus/avalon-8-10p/github.svg)](https://agentmods.dev/skills/nexus-research-lab/nexus/avalon-8-10p)
Your own site
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/avalon-8-10p"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/avalon-8-10p/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 avalon-8-10p

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/avalon-8-10p"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/avalon-8-10p.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,260 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 pass 7 Sept 2026
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.00034 $0.02260
Opus 5 $0.00017 $0.01130
Sonnet 5 $0.00007 $0.00452
Haiku 4.5 $0.00003 $0.00226

Measured 7d ago against content hash 6800e14b6374, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

avalon-8-10p 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 7d 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/avalon-8-10p/SKILL.md · 153 lines

How it starts

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

8–10-Player Avalon

This skill layers a complete base game of Avalon on top of the Room communication kernel. The Room system prompt already defines public @<member> wakes and the built-in nexus Room tools; this skill defines only the game contract. The host Agent is always the moderator and never a player.

Game Setup

Resolve participation and player count before assigning roles:

  1. Exclude the host Agent from roles, leadership, teams, votes, and win-condition counts.
  2. Ask the user exactly once whether to join as a player or spectate, using AskUserQuestion, unless the opening request already states that choice explicitly. Use the exact choices 参加本局 and 仅旁观.
  3. If the opening request explicitly names 8, 9, or 10 players, use that count. Reject any unsupported count instead of silently changing it.
  4. Otherwise choose the largest supported count in the order 10, 9, 8 that the Room can fill. A participating user occupies one player seat; a spectating user occupies none.
  5. Randomly select the required non-host Agent players. Extra Agents and a spectating user remain spectators and receive no role card or game wake.
  6. If the requested count cannot be filled, stop before dealing roles and state the exact number of missing players. If no count was requested and fewer than eight seats can be filled, report how many players are missing for an eight-player game.
  7. Use 用户玩家 as the participating user's stable public name. A participating user enters the same randomized role pool as every Agent player and can receive any role, become leader, join a quest, and vote.

Use exactly this role table:

Players Good Evil
8 Merlin, Percival, 3 Loyal Servants Morgana, Assassin, Minion
9 Merlin, Percival, 4 Loyal Servants Mordred, Morgana, Assassin
10 Merlin, Percival, 4 Loyal Servants Mordred, Morgana, Oberon, Assassin

Shuffle roles across all active players, then independently randomize the circular seating order and first leader. Announce only the player count, active roster, seating order, and first leader. Keep the participation answer, role mapping, and inactive candidate list private.

Read the full file on GitHub · 153 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. 7d ago First seen · 153 lines · 34 tokens per session scan A 6800e14b6374

Subscribe to this mod's changes

avalon-8-10p is a skill published in the GitHub repository nexus-research-lab/nexus (145 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 2,260 once invoked, about $0.0002 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.