nfl-analytics: Skill for Claude Code

.claude/skills/health-check/SKILL.md

health-check is a skill for Claude Code from parthakker/nfl-analytics. It costs 41 tokens per session (767 once invoked), scanned A, original, MIT.

A nightly project health-check routine for an NFL analytics project. It audits data, runs tests, checks live services and scheduled tasks, reviews logs, and checks whether data is up to date.

In plain words
What is it for?
Use it to produce a health report and log entry covering data audits, warehouse and API tests, smoke tests, task status, errors, and freshness of games, news, and market data.
Why use it?
It brings failures, missing data, broken services, scheduler problems, and stale information into one report. Each check still runs when an earlier check fails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is parthakker/nfl-analytics's own configuration. It tells Claude Code how to work on nfl-analytics itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nfl-analytics configures →

Reuse

Borrowing it

Nothing to install: this file belongs to parthakker/nfl-analytics. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/parthakker/nfl-analytics/main/.claude/skills/health-check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/parthakker/nfl-analytics

Made for: Claude Code.

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 health-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/parthakker/nfl-analytics/health-check/github.svg)](https://agentmods.dev/skills/parthakker/nfl-analytics/health-check)
Your own site
<a href="https://agentmods.dev/skills/parthakker/nfl-analytics/health-check"><img src="https://agentmods.dev/badge/skills/parthakker/nfl-analytics/health-check/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 health-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/parthakker/nfl-analytics/health-check"><img src="https://agentmods.dev/badge/skills/parthakker/nfl-analytics/health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 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.00041 $0.00767
Opus 5 $0.00020 $0.00383
Sonnet 5 $0.00008 $0.00153
Haiku 4.5 $0.00004 $0.00077

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

Security

Grade A, and why

health-check 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 11d 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.

.claude/skills/health-check/SKILL.md · 44 lines

What it actually says

Nightly health check

Run every step even if an earlier one fails — the report must cover all of them. Collect results, then write the report. Keep total runtime under ~10 minutes.

  1. Audit: python -m nfl_analytics.cli audit — note "Real gaps found: N".
  2. Tests: python -m pytest -m "warehouse or api" -q against the real DB.
  3. Smoke: python -m nfl_analytics.cli smoke (live-HTTP surface).
  4. Scheduler + logs: schtasks /Query /TN <each NFL-* task> /FO LIST for last-run results; read the tail of each logs/*.log for errors. 4a. Query each task with its own schtasks /Query /TN <name> call — no foreach loops or compound commands; the permission patterns only match single commands, and a denial here wastes the run.
  5. Freshness: via mcp__nfl__query_warehouse — max(season, week) in games vs today's date (in-season, data should trail by <8 days). Latest news published_ts via mcp__nfl__news_search/mcp__nfl__league_news and latest kalshi snapshot via mcp__nfl__kalshi_markets — check the real data, not the poll logs; both should be <24h old.

Report — overwrite docs/health_report.md:

  • Header: timestamp + one-word verdict (HEALTHY / DEGRADED / BROKEN).
  • A check that could only be completed via a proxy or fallback (log tail instead of the real data, a denied tool, a skipped step) caps the verdict at DEGRADED — never report HEALTHY on evidence you couldn't actually collect, and list the missing permission under ACTION NEEDED.
  • Status table: one row per step with pass/fail + the key number.
  • Only if something failed: an "ACTION NEEDED" section — what broke, the exact error tail, and the suggested next command. No such section when green.

Log line — append to logs/health.log: <ISO timestamp> health: <verdict> audit=<n_gaps> tests=<pass>/<total> smoke=<pass>/<total> freshness=<ok|stale>

If any step failed, end the run by stating the failure clearly (nonzero outcome). Do NOT attempt fixes that write to databases or git — report only; trivial fixes (e.g. a stale doc line) are allowed via Edit.

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. 11d ago First seen · 44 lines · 41 tokens per session scan A 12f5f2f0b246

Subscribe to this mod's changes

health-check is a skill published in the GitHub repository parthakker/nfl-analytics (0 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 767 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-08-31.

Related

Other skills, from other repositories

developing-with-streamlit

Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…

streamlit/streamlit · 128 tokens

hithink-finance

A routing guide for accessing Chinese A-share financial data, including prices, company reports, valuations, funds, indices, sectors, and local data storage.

HiThink-Tech/Financial-API · 93 tokens

hithink-finance-data

A local data-management skill for the HiThink Finance command-line tool and its DuckDB database. DuckDB is a database stored in a local file.

HiThink-Tech/Financial-API · 60 tokens

hithink-finance-special-data

A command-line tool entry for retrieving special Chinese market lists and event data, such as limit-up stocks, limit-down stocks, unusual moves, hot stocks, and Dragon-Tiger records.

HiThink-Tech/Financial-API · 82 tokens

hithink-finance-futures

A command-line data source for public futures-market information, including contracts, positions, warehouse receipts, basis, trading schedules, and price charts. Futures are agreements to buy or sell an asset at a set future date.

HiThink-Tech/Financial-API · 78 tokens

hithink-finance-index

A command-line tool entry for finding Chinese indices, their categories, constituent stocks, current snapshots, and daily history. An index is a group of securities tracked as one measure, such as an industry or market segment.

HiThink-Tech/Financial-API · 68 tokens