wargame-chall-builder

wargame-chall-builder is a skill for Claude Code, Codex from lsszz2100/VibeHacking. It costs 91 tokens per session (966 once invoked), scanned A, original, MIT.

A guide for creating and checking challenges in a browser-based wargame, where players solve security puzzles and submit hidden answers called flags.

In plain words
What is it for?
It helps add or edit capture-the-flag challenges and tracks, update their topic tables, and run the required audits before committing changes.
Why use it?
It reduces errors in challenge structure, duplicated identifiers, leaked answers, answer-format rules, and automated solvability.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps add or edit capture-the-flag challenges and tracks, update their topic tables, and run the required audits before committing changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lsszz2100/vibehacking/wargame-chall-builder
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 lsszz2100/VibeHacking --skill wargame-chall-builder
Clone the repo
git clone --depth 1 https://github.com/lsszz2100/VibeHacking

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 wargame-chall-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/lsszz2100/vibehacking/wargame-chall-builder/github.svg)](https://agentmods.dev/skills/lsszz2100/vibehacking/wargame-chall-builder)
Your own site
<a href="https://agentmods.dev/skills/lsszz2100/vibehacking/wargame-chall-builder"><img src="https://agentmods.dev/badge/skills/lsszz2100/vibehacking/wargame-chall-builder/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 wargame-chall-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsszz2100/vibehacking/wargame-chall-builder"><img src="https://agentmods.dev/badge/skills/lsszz2100/vibehacking/wargame-chall-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 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.
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.00091 $0.00966
Opus 5.5 $0.00036 $0.00386
Sonnet 5.5 $0.00018 $0.00193
Haiku 4.5 $0.00009 $0.00097

Measured 4d ago against content hash 8cec3b20ab9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wargame-chall-builder 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/gen_challenge.py, scripts/pre_audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/wargame-chall-builder/SKILL.md · 94 lines

How it starts

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

Wargame Challenge Builder

A specialized skill for authoring, modifying, and strictly auditing challenges in the VibeHacking browser-based wargame engine.

Core Invariant: The 4-Stage Audit Gate

Every change to wargame/assets/challenges.js or wargame/README.md MUST pass all 4 audit gates before committing:

  1. verify.js: Structural invariants, id uniqueness, Tier gates & HUD counts match.
  2. leakscan.js: Zero cross-challenge answer leaks in prompts and hints.
  3. audit.js --strict: Format precision ([G], [H]), zero topic table answer spoilers ([F]), zero stemming/plural ambiguities ([J]).
  4. solve-derivable.js: 100% automated solving of all derivable challenges.

Run the bundled pre-audit script before finishing any task:

python .agents/skills/wargame-chall-builder/scripts/pre_audit.py

Challenge Object Structure

Each challenge in wargame/assets/challenges.js must follow this schema:

{
  "id": "t2_example_id",
  "tier": 2,
  "cat": "web",
  "track": "web",
  "points": 100,
  "ci": true,
  "hash": "<sha256 of lowercase trimmed plaintext>",
  "fmt": "한 단어 / one word (8글자 / 8 chars)",
  "title": {
    "ko": "한글 제목",
    "en": "English Title"
  },
  "prompt": {
    "ko": "도전 과제 설명 및 질문",
    "en": "Challenge description and question"
  },
  "hints": {
    "ko": [
      "첫 번째 점진적 힌트",
      "결정적 힌트 (정답 평문 노출 금지)"
    ],
    "en": [
      "First progressive hint",
      "Decisive hint (do not leak plaintext)"
    ]
  }
}

Authoring Workflows

1. Generating Challenge Snippets with gen_challenge.py

Never hand-compute SHA-256 hashes or guess length qualifiers. Use the bundled generator:

# Calculate hash and length pinning for an answer
python .agents/skills/wargame-chall-builder/scripts/gen_challenge.py --answer "credentials"

# Validate a complete JSON definition
python .agents/skills/wargame-chall-builder/scripts/gen_challenge.py --json-input my_chall.json

2. Format (fmt) Rules to Avoid [H] and [J] Rejections

  • Always start with an approved base string (see references/fmt_standards.md).
  • If an answer has singular/plural ambiguity (e.g. credential vs credentials, header vs headers), you MUST pin the length explicitly: (11글자 / 11 chars).
  • If "ci": true, the hash is sha256(answer.strip().toLowerCase()). Never include FLAG{...} in fmt when ci is enabled.

Read the full file on GitHub · 94 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 94 lines · 91 tokens per session scan A 8cec3b20ab9c

Subscribe to this mod's changes

wargame-chall-builder is a skill published in the GitHub repository lsszz2100/VibeHacking (88 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 966 once invoked, about $0.0004 per session on Opus 5.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-11-14.

Related

wargame-chall-builder compared with skills from other repositories

wargame-chall-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wargame-chall-builderlsszz2100/VibeHackingSkill88yesterdayMITA91Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill40k8d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill9.3k6d agoApache-2.0A93Claude Code
motionOpenDCAI/GameFactory-3ASkill1.3k3d agoApache-2.0A0Claude Code, Codex
texture-workflowarjun988/blender-skillsSkill4.1k11d agoMITA41Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill3.9kyesterdayMITA121Claude Code
gamedev-shadersericrisco/rsc-harnessSkill630todayMITA102Claude Code, Codex