Command Palette

Search for a command to run...

Назад к скиллам
скилл № 82552

starwards-brain-training

Train and tune a station brain (modules/ai) in the headless game -- use when asked to improve how a bot plays a station, to compare brain versions, to explain…

БесплатноБез исполняемых скриптов
starwardsот starwards★ 44 звезды на GitHub

Установить starwards-brain-training в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Brain training

When to use this

A brain is one data file (modules/ai/brains/<station>.v<N>.json): role, mission, per-control wording, confidence floor, hidden display parts. Improving a bot means writing its next version and proving it plays better on the same seeds — never editing the brain code to fit one run.

Guide: docs/integration/ai-crew.md.

Instruments

Question Command (from modules/ai)
How did crews do on a rung? npm run train -- --scenario T0 --seeds 8 --crew crews/a.json --crew crews/b.json --out <dir>
How was each control played? npm run decisions -- --recording <dir>/<crew>/T0_seed1.sgr --md --low 10
What did the game look like at a bad decision? from repo root: npm --prefix modules/server run analyze -- at --recording <x.sgr> --t <t> --roles p=GVTS,t=target
What did a verbal brain read at a decision? npm run read -- --recording <x.sgr> --station <station> --t <t>
Would new wording decide differently? npm run reask -- --recording <x.sgr> --brain brains/<station>.v<N+1>.json
Is crew A better than B on the same seeds? npm run compare -- --results <dir>/T0-crews.json --baseline <B> [--timeout 120] (read run value, not kills)
Does a brain still act like the reference? npm run agree -- --recording <dir> --station <helms|weapons> [--brain brains/<station>.v<N+1>.json]
Does a candidate hold on every level? npm run suite -- --crew crews/<candidate>.json --baseline <accepted crew> --workers 4 --archive
What did the crew say to each other? from repo root: npm --prefix modules/server run analyze -- events --recording <x.sgr> --kind callout
Would another order or press have done better? npm run branch -- corpus --runs <train out> --crew crews/<crew>.json --scenario <rung> --levels strategic,tactical

Procedure

  1. Preflight. npm run build:core if core changed. Jev seats need TYPESAFE_API_KEY in modules/ai/.env. Always include crews/reference.json (must kill) and crews/idle.json (must not): if either control fails, the harness is broken, not the brain.
  2. Baseline. Train the current brain version on seeds 1–8; keep the report.
  3. Diagnose one control at a time. decisions --md --low 10: look for controls with low confidence, high flip rates (dithering on an axis), fallbacks, or one option never chosen. Open the lowest-confidence times with analyze at / series and say what the display showed; for a verbal brain, read at that time prints the reading the brain actually saw.
  4. Name the cause before editing (from the Jev rules): missing evidence in the display (hide less or note a sandbox gap), wording the model read literally (rewrite the instruction or option descriptions for that control), or a code error (wrong option mapping — fix code with a spec).
  5. Write v(N+1) — a new file, never an edit of a recorded version. Change one thing.
  6. Reask the baseline recordings with v(N+1): confirm the intended controls flipped and nothing else moved much. Cheap; do it before spending a training run. agree on the same recordings flags a broken version (agreement collapses where the reference acts) but a better brain may agree less: never pick by agreement alone.
  7. Train v(N+1) on the same seeds. Judge by the paired run value (seed by seed, sign test) in the report; kills at 8 seeds rarely separate two working crews. Keep it only if that improves without more refused commands. Record the result.
  8. Cost: the report prints paid and cached tokens and dollars. Jev answers are cached on disk, so rerunning a seed is free and identical. Stop a tuning session at an agreed budget.

Counterfactual branching

To learn what a seat (the captain first) should have decided, branch recorded runs instead of guessing: guide section Branching.

  1. Record the baseline: train the crew on the rung's seeds (reference seats only: $0, and deterministic).
  2. branch -- points --recording <x.sgr> --level strategic,tactical on one run: check the points and alternatives make sense, and branch -- fork ... --t <t> --alt <id> one of them (it prints whether the replay matched the recording).
  3. branch -- corpus over every seed with a --budget; --workers up to the cores free.
  4. Read `mine.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл starwards-brain-training?

Train and tune a station brain (modules/ai) in the headless game -- use when asked to improve how a bot plays a station, to compare brain versions, to explain why a brain decided something, or to run Jev crews on a training rung

Как установить скилл starwards-brain-training?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл starwards-brain-training запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить starwards-brain-training с