mlb-decision-logger
БесплатноБез исполняемых скриптовНе проверенAppends structured decision entries to the yahoo-mlb decision log (tracker/decisions-log.md) on behalf of any agent in the MLB team. Validates entries against…
от lyndonkl★ 208 звёзд на GitHubОб этом скилле
MLB Decision Logger
Table of Contents
Example
Scenario: Three agents fire in a single morning brief on 2026-04-17. Each agent hands a decision payload to this skill. On Monday 2026-04-21, the coach runs the calibration pass over Friday's lineup decision.
Sequence:
mlb-lineup-optimizersubmits a start/sit decision for Junior Caminero.mlb-waiver-analystsubmits a FAAB bid on a two-start streamer.mlb-streaming-strategistsubmits a stream pickup.
Skill behavior:
- Reads the current tail of
tracker/decisions-log.md. - Auto-assigns
decision_idby counting same-day, same-type entries and incrementing (2026-04-17-lineup-01,2026-04-17-waiver-01,2026-04-17-stream-01). - Validates each payload against the schema in
context/frameworks/decision-log-format.md. - Appends entries in timestamp order, one at a time, re-reading the tail between writes.
- Returns the assigned
decision_idto the calling agent.
Monday calibration (2026-04-21):
- Reads all entries where
will_verify_on <= 2026-04-21andoutcome_recorded_onis empty. - For each entry, agent web-searches the outcome and passes result to this skill.
- Skill edits the target entry in place (only the three outcome fields) and increments the matching row in
tracker/variant-scoreboard.md. - Recomputes
tiltper agent using the advocate/critic counts over the most recent 20 verified decisions.
Worked entry appended during step 1:
### 2026-04-17T08:30:00Z | lineup | mlb-lineup-optimizer
- **decision_id:** 2026-04-17-lineup-01
- **recommendation:** START Caminero at 3B
- **signals_in:** caminero.daily_quality=78 (matchup=85, form=72, opportunity=80)
- **variants:**
- advocate -> "Start: strong matchup vs RHP, hitter-friendly park, batting 3rd"
- critic -> "Sit: 0-for-12 last 3 games, BABIP-driven regression due"
- **dialectical_synthesis:** Advocate wins -- matchup+opportunity outweigh slump. Confidence 0.72.
- **red_team_findings:**
- severity: 2, likelihood: 3, score: 6, note: "MIA rain watch", mitigation: "Check 1pm forecast"
- **confidence:** 0.72
- **will_verify_on:** 2026-04-18
- **outcome_recorded_on:**
- **outcome:**
- **variant_that_was_right:**
After Monday calibration the last three fields are filled in; the scoreboard row for mlb-lineup-optimizer increments Total decisions, Advocate correct (if 1-for-4 with an RBI counted as success), and Synthesis correct; Tilt is recomputed.
Workflow
Copy this checklist and track progress for each invocation:
Decision Logger Progress:
- [ ] Step 1: Determine mode (append vs calibrate)
- [ ] Step 2: Read current log tail
- [ ] Step 3: Validate payload against schema
- [ ] Step 4: Serialize write (append or in-place edit)
- [ ] Step 5: Update scoreboard (calibration mode only)
- [ ] Step 6: Return decision_id and confirmation
Step 1: Determine mode
Two supported modes. Exactly one fires per invocation.
-
append-- calling agent passes a complete decision payload. Skill creates a new entry. -
calibrate-- calling agent passes an existingdecision_idplus outcome fields. Skill edits that entry in place and updates the scoreboard.
See resources/methodology.md for the full decision tree.
Step 2: Read current log tail
Always re-read the log immediately before any write. This is how concurrent writes from parallel agents are serialized without a real file lock.
- Read the last ~80 lines of
tracker/decisions-log.md. - Parse the last entry's timestamp and
decision_id. - If another agent has written since this invocation started, note new
decision_idnumbers used today.
See resources/methodology.md for the full serialization protocol.
Step 3: Validate payload against schema
Check every required field. Reject (do not write) if any are missing or malformed. The authoritative schema is in context/frameworks/decision-log-format.md; resources/template.md mirrors it verbatim.
-
timestamp_iso8601is UTC ISO 8601 (YYYY-MM-DDTHH:MM:SSZ). -
decision_typein enum:lineup | waiver | stream | trade | category-plan | playoff-push | add-drop | ad-hoc. -
emitted_byis a known agent name. -
recommendationstarts with an action verb (START,SIT,ADD,DROP,BID $X,ACCEPT,COUNTER,REJECT,STREAM,HOLD). -
signals_inreferences at least one signal by name. -
variantshas bothadvocateandcriticentries (or explicitn/afor bootstrap). -
confidencein[0.00, 1.00]. -
will_verify_onis a date,end of week N, orend of season. - For
calibratemode:outcomein{happened, did not happen, partial},variant_that_was_righti
Установить mlb-decision-logger в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mlb-decision-logger?
Appends structured decision entries to the yahoo-mlb decision log (tracker/decisions-log.md) on behalf of any agent in the MLB team. Validates entries against the authoritative schema, serializes concurrent writes from parallel agents, and runs the Monday calibration pass to fill in outcomes and update the variant scoreboard. Use when any MLB agent needs to record a decision, when the coach requests "log decision", "append to decision log", "record variant outcome", or runs the "calibration pass".
Как установить скилл mlb-decision-logger?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mlb-decision-logger запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic