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.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.svg" alt="Measured on agentmods" 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 $0.00015 $0.00149
Sonnet 5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 6d ago against content hash dbef100275e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (0 stars, last pushed 5d ago), licensed MIT. It adds 30 tokens to every session and 298 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

review-prs

Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…

googleapis/mcp-toolbox · 162 tokens

fix-failing-tests

Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…

googleapis/mcp-toolbox · 87 tokens

azure-cosmos-db-py

Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers…

microsoft/skills · 96 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

gh-issue

Size-audit, write, and split BanyanDB issues that somebody else or an automated TDD workflow can implement. Use whenever the user asks to file or revise an issue, decide whether an issue is too large, make an issue TDD-ready, turn a design into tickets, or split an umbrella into executable leaves. Do not draft or file…

apache/skywalking-banyandb · 91 tokens

Drizzle ORM Testing

Testing patterns for Drizzle ORM covering migration testing, query builder testing, transaction testing, and database integration testing with PostgreSQL, SQLite, and MySQL.

PramodDutta/qaskills · 36 tokens