Логотип Sports Visualization

Sports Visualization

Спільнота
WalrusQuant
sports-visualization

Створюйте точні графіки для спортивного аналізу на основі даних, якими володіє користувач: розподіли, частоти, траєкторії рейтингу, графіки калібрування та порівняння метрик у покроковій перевірці на історичних даних. Використовуйте для дослідження й презентації результатів.

Add to TypingMind

Огляд

ВидавецьWalrusQuant
Репозиторійsports-analytic-skills
Назва навичкиsports-visualization
Зірки
53
Форки
4
Файли в пакеті
5
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: WalrusQuant. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Sports Visualization у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/WalrusQuant/sports-analytic-skills/tree/main/skills/sports-visualization
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WalrusQuant/sports-analytic-skills.git /tmp/sports-analytic-skills
mkdir -p .claude/skills
cp -r /tmp/sports-analytic-skills/skills/sports-visualization .claude/skills/sports-visualization
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Sports Visualization в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Sports Visualization, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Sports Visualization не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Sports Visualization

Outcome

Create the smallest reproducible figure that answers a defined question without exaggerating the evidence. Every important figure states its period, sample size, metric definition, grain, and relevant baseline. Add uncertainty when the claim depends on noisy differences.

This skill constructs figures. Use anti-slop-analytics for an independent keep/fix/kill review and results-reporting for the surrounding narrative.

When to use this skill

Use for exploratory distributions, coverage plots, model diagnostics, calibration, ratings and form trajectories, team or player comparisons, walk-forward results, and publication figures. Do not start with chart type: start with the question and the unit represented by each mark.

Required inputs

  • question and intended audience;
  • user-owned data or metrics artifact;
  • sport, competition, grain, natural key, and period;
  • relevant denominator, filters, and missing-data rules;
  • metric definition and direction;
  • comparison baseline and uncertainty artifact when applicable;
  • desired output path and reproduction context.

If the source is a screenshot or rounded report table, do not reconstruct precise data unless explicitly labeled approximate. Prefer the underlying table.

Workflow

  1. State the single claim or diagnostic question.
  2. Validate input grain, keys, columns, types, and duplicated events.
  3. Define what one mark, line, bar, or interval represents.
  4. Choose the smallest chart that makes the comparison direct.
  5. Add sport, population, period, denominator, units, and baseline.
  6. Check axes, transforms, aggregation, bins, smoothing, missingness, and ordering.
  7. Add uncertainty or fold spread if the claim compares noisy quantities.
  8. Export the image and preserve the plotting command or code.
  9. Write a one-sentence factual interpretation and one limitation.
  10. Run an anti-slop pass before using the figure in a public claim.

Plot selection catalog

QuestionPreferred figureEssential checks
What periods are covered?season/week coverage timelinemissing periods and schedule type
What is the outcome distribution?histogram, ECDF, or quantile plotbin sensitivity, units, ties/outliers
How does a rate change over time?line or dot plot with denominatorsvarying n, rule eras, full scale
Is there home advantage?home-row rate by season with intervalcorrect grain; do not use full doubled panel
How does form evolve?as-of line or small multiplesshifted window, gaps, unequal schedules
Is a probability reliable?reliability curve plus countsbins, reference diagonal, sample size
Where does a margin model miss?residual versus prediction/contextheteroskedasticity and outliers
How does rating evolve?as-of trajectory with selected labelsupdate timing, regression, inactive teams
Does a candidate beat a baseline?paired fold dots/bars or compact tablesame events/folds, metric direction
How stable is a ranking?ordered dots with intervals/rank distributionopportunity and schedule strength

Read references/plot_catalog.md when routing a question to a chart. Read references/honest_labels.md before finalizing titles, captions, annotations, and uncertainty language.

Encoding defaults

ComparisonPreferAvoid
Rates over seasonsline/dots or bars with ncropped “dramatic” axis
Candidate versus baselinepaired dots, common-scale bars, or tableseparate charts with different scales
Distributionhistogram/ECDF plus median or quantilesmean-only summary
Probabilitiesreliability curve and count panelpie chart or “lock” language
Rankingsordered dots or small multiplesrainbow spaghetti
Many teams over timeselected labeled series or faceted small multiplesunreadable 30-line legend
Two time seriesaligned panels or indexed comparisondual axes tuned for correlation
Effectspoint estimate and intervalstars without magnitude

For rates, the axis must show changes without manufacturing drama. Zero is not mandatory for every line plot, but any restricted range must be justified and clearly labeled. Bar length encodes magnitude and normally needs a meaningful zero.

Sports-specific caveats

  • Team-game panels often contain complementary home and away rows. A home-win figure should filter is_home == 1; state unique-game n.
  • Rolling features and ratings must be plotted as of the prediction timestamp, not after the event update.
  • Unequal games played, minutes, plate appearances, or attempts can make player and team rates incomparable. Show opportunity thresholds or uncertainty.
  • Schedule strength, postseason selection, neutral venues, overtime, ties, and rule changes can alter apparent trends.
  • Season facets may have different lengths and missing weeks. Do not connect discontinuous observations as though spacing were equal.
  • Calibration bins need event counts. A smooth-looking curve from small bins is not strong evidence.
  • Fold-level model charts must retain losing folds and compare the same held-out rows.

Honest title and caption template

text
Title: <quantity> by <comparison> — <sport/competition>, <period>
Subtitle/caption: n=<games/events/rows>; grain=<grain>; <metric definition>;
baseline=<reference>; uncertainty=<method or unknown>; exclusions=<important filters>.
Source: <artifact>; reproduce: <script/command>.

Use descriptive titles such as “Held-out log-loss by season” rather than conclusion titles such as “Model Dominates.” Put interpretation in the caption, bounded by the observed population.

Uncertainty and aggregation

  • Use intervals appropriate to the sampling/design assumptions; name the method.
  • When repeated teams, players, or games induce dependence, avoid pretending rows are independent. Consider grouped resampling or fold variation.
  • Distinguish an unweighted season mean, an event-weighted mean, and a pooled metric. Label whichever is plotted.
  • Do not invent error bars when only aggregate numbers exist. State uncertainty as unavailable and show the raw fold or season values.
  • Show both numerator and denominator for important rates when feasible.

Hard constraints and integrity rules

  1. Period and denominator appear on every key figure.
  2. Metric, units, sport, population, and grain are explicit when not obvious.
  3. A comparative claim includes its relevant baseline.
  4. Axes and transforms do not manufacture the effect.
  5. Dual-axis correlation theater is prohibited.
  6. Probabilities are displayed as uncertain quantities, not destiny.
  7. Training metrics are never labeled held-out or walk-forward.
  8. Losing folds, missing periods, and excluded groups are not silently removed.
  9. Every claim-bearing figure has a reproduction path.
  10. Unknown uncertainty is disclosed, not fabricated.

Anti-patterns

  • rainbow spaghetti with every team unlabeled;
  • decorative 3-D, pie, gradients, or gauges;
  • one hot streak presented as season truth;
  • a correlation heatmap without a question;
  • missing baseline in a model-comparison chart;
  • smoothed lines with no method or window;
  • in-sample fit presented as validation;
  • cropped axes used to magnify small home-field changes;
  • image exports with no source data or command.

Standalone helpers

Install pandas and matplotlib; Parquet also needs pyarrow or fastparquet. The table helpers accept user-owned CSV, Parquet, JSON, JSONL, or NDJSON.

For a team-game panel with is_home and point_diff:

bash
python <path-to-sports-visualization>/scripts/plot_home_margin_hist.py \
  --input games.csv --out home_margin.png

For a panel with season, is_home, and binary won:

bash
python <path-to-sports-visualization>/scripts/plot_home_win_rate.py \
  --input games.parquet --out home_rate.png

Column flags map alternate schemas. The home-win helper drops rows without an observed season/outcome, labels each season's eligible home-row denominator, uses a 0-to-1 rate scale, and displays 95% Wilson intervals. Those intervals treat eligible games as Bernoulli observations and do not account for broader season/team dependence.

For a JSON report containing a folds array, each row needs an explicit fold label, held-out denominator (n_test by default), and candidate and baseline metric fields:

bash
python <path-to-sports-visualization>/scripts/plot_walkforward_metrics.py \
  --json metrics.json \
  --fold-col fold \
  --metric logistic_log_loss \
  --baseline constant_log_loss \
  --out comparison.png

The helper rejects duplicate fold labels and missing/nonpositive denominators, but cannot verify that the two metric columns came from identical rows or derive sampling uncertainty from aggregate scores. Perform the row-identity check before plotting; its default title labels uncertainty unavailable.

Worked examples

Home win rate

Validate the panel is team-game grain, filter home rows, count unique contests, and show per-season rate with denominator. Caption the figure as “home rows only” and disclose ties or excluded games.

Walk-forward model comparison

Plot candidate and baseline on the same y-axis for every eligible fold. State that lower log-loss is better, retain folds where the candidate loses, and use a table instead if small differences are difficult to read honestly.

Team rating trajectories

Plot ratings recorded before each event update. Label a small number of relevant teams directly, mark long inactivity gaps, and avoid interpreting a rating line as causal player or coaching impact.

Output contract

Return the figure path, source artifact, plotting command/code, purpose, population and grain, period and denominator, metric/baseline, uncertainty method, important exclusions, one bounded interpretation, and remaining limits.

Resources

  • references/plot_catalog.md — read when choosing the visual form for a sports question.
  • references/honest_labels.md — read when writing titles, captions, denominators, and uncertainty notes.
  • scripts/plot_home_margin_hist.py — standalone home-margin distribution plot.
  • scripts/plot_home_win_rate.py — standalone home-win-rate plot.
  • scripts/plot_walkforward_metrics.py — standalone fold comparison plot.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Sports Visualization?

Створюйте точні графіки для спортивного аналізу на основі даних, якими володіє користувач: розподіли, частоти, траєкторії рейтингу, графіки калібрування та порівняння метрик у покроковій перевірці на історичних даних. Використовуйте для дослідження й презентації результатів.

Навіщо використовувати Sports Visualization у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Sports Visualization — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Sports Visualization у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/WalrusQuant/sports-analytic-skills/tree/main/skills/sports-visualization. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Sports Visualization?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Sports Visualization?

Зі скількома забажаєте. У TypingMind ви можете використовувати Sports Visualization із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Sports Visualization?

Так. На GitHub цю навичку публікує WalrusQuant за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Control Ui

openclaw
ОрганізаціяПопулярне

Керуйте інтерфейсом OpenClaw Control UI та усувайте неполадки: переходьте між підключеними клієнтами, впорядковуйте сеанси, створюйте інформаційні панелі сеансів і працюйте з прямими шлюзами або шлюзами, розміщеними через Tailscale.

82.2K
391K
Файлів: 2
Відкрити
Логотип affaan-m

Market Research

affaan-m
СпільнотаПопулярне

Проводьте маркетингові дослідження, конкурентний аналіз, комплексну перевірку інвесторів і галузеву розвідку з посиланнями на джерела та висновками для ухвалення рішень. Використовуйте цю навичку для оцінки обсягу ринку,…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

X Api

affaan-m
СпільнотаПопулярне

Інтеграція з X/Twitter API для публікації твітів і гілок, перегляду стрічок, пошуку та аналітики. Охоплює способи автентифікації через OAuth, обмеження частоти запитів і публікацію контенту у форматах платформи. Використовуйте цю навичку, коли потрібно…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Postgres Patterns

affaan-m
СпільнотаПопулярне

Патерни PostgreSQL для оптимізації запитів, проєктування схем, індексації та безпеки. Ґрунтується на найкращих практиках Supabase.

39.1K
261.1K
Інструкції
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇