nfl-analytics: Skill for Claude Code

.claude/skills/new-view/SKILL.md

new-view is a skill for Claude Code from parthakker/nfl-analytics. It costs 30 tokens per session (298 once invoked), scanned A, original, MIT.

A checklist for adding or substantially changing a derived SQL view in a warehouse, including its definition, tests, documentation, and catalog entry.

In plain words
What is it for?
Use it when creating a warehouse view: load the query guidance, add the SQL, run it, write an invariant test, update the data dictionary and catalog, and adjust test fixtures if needed.
Why use it?
It reduces the chance that a new view has incorrect joins, incomplete source data, or silent data errors. It also keeps the view understandable and included in the project’s test setup.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

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/new-view/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 new-view

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/parthakker/nfl-analytics/new-view"><img src="https://agentmods.dev/badge/skills/parthakker/nfl-analytics/new-view.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 298 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.00030 $0.00298
Opus 5.5 $0.00012 $0.00119
Sonnet 5.5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 2mo ago against content hash dbef100275e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

new-view 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 2mo 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/new-view/SKILL.md · 24 lines

What it actually says

New warehouse view checklist

  1. Load the warehouse-queries skill first (grains, join keys, traps).
  2. SQL into the VIEWS dict in scripts/build_views.py — WITH a leading comment stating the grain and any convention (team-perspective spread, ref_key aggregation, canon_team usage). Tables the view needs must be created before the VIEWS loop.
  3. python -m nfl_analytics.cli views — confirm the row count printed for the new view is plausible.
  4. Invariant test in tests/warehouse/ (row floor, symmetry/identity, or a pinned known value — whatever would catch silent corruption). Must pass on the CI fixture too (derive seasons from the DB; pytest.skip if the fixture slice can't contain the data).
  5. Dictionary: add/extend the relevant docs/dictionary/*.md.
  6. Catalog: one line in .claude/skills/warehouse-queries/SKILL.md views list.
  7. If the fixture needs the view's source tables: check scripts/make_fixture.py SLICED/FULL_COPY lists, rebuild via nfl fixture if so.
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. 2mo ago First seen · 24 lines · 30 tokens per session scan A dbef100275e8

Subscribe to this mod's changes

new-view is a skill published in the GitHub repository parthakker/nfl-analytics (1 stars, last pushed 11d ago), licensed MIT. It adds 30 tokens to every session and 298 once invoked, about $0.0001 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-08-31.

Related

new-view compared with skills from other repositories

new-view next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-viewparthakker/nfl-analyticsSkill111d agoMITA30Claude Code
usageCanner/WrenAISkill18k2d agononeA156Claude Code, Codex
generate-mdlCanner/WrenAISkill18k2d agononeA82Claude Code, Codex
dlt-connectorCanner/WrenAISkill18k2d agononeA158Claude Code, Codex
wrenCanner/WrenAISkill18k2d agononeA315Claude Code
duckdb-spatialznlgis/opengis-skillsSkill7610d agoMITA125Claude Code, Codex
duckdb-differentialtobilg/duckdb-differentialSkill484d agoMITA123Claude Code