fde-nba-scores

fde-nba-scores is a skill for Claude Code from treasure-data/td-skills. It costs 159 tokens per session (2,895 once invoked), scanned A, original, Apache-2.0.

A Treasure Data setup workflow for Next Best Action engagement scores, which estimate a customer's best time, channel, and campaign for engagement. It also writes engagement flags for customer segments and builds an agent and dashboard.

In plain words
What is it for?
Use it to configure or change a Next Best Action project that scores when and how to contact each customer.
Why use it?
It removes the manual work of combining activity data, calculating engagement scores, and preparing the related project views.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Part of the fde-ai-signals-custom-agent-skills plugin — 9 skills shipped together

Good fit Use it to configure or change a Next Best Action project that scores when and how to contact each customer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/nba-scores
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add treasure-data/td-skills --skill nba-scores
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install fde-ai-signals-custom-agent-skills, the plugin that ships this one along with the rest of its 9 skills.

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 fde-nba-scores

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/nba-scores/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/nba-scores)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/nba-scores"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/nba-scores/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 fde-nba-scores

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/nba-scores"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/nba-scores.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,895 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.00159 $0.02895
Opus 5.5 $0.00064 $0.01158
Sonnet 5.5 $0.00032 $0.00579
Haiku 4.5 $0.00016 $0.00290

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

Security

Grade A, and why

fde-nba-scores 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (project_templates/agent_template/references/generate-data.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

fde-ai-signals-custom-agent-skills/ai-signals-skills/nba-scores/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NBA Engagement Scores

Unions a customer's touchpoint data (web, email, CRM, orders, …), scores every profile on when (time of day), where (channel) and what (campaign type) to engage, and writes one table that is added to a Parent Segment for Audience Studio segmentation.

How to Start

Read ../shared/playbook.md — it defines the entry point (new vs. resume), the phase sequence, the name gates and when to read each shared pattern. Follow that flow. Read each referenced file once per conversation: when this skill is invoked again later in the same conversation, the playbook and any reference files already read are still in context — don't read them again; in a new session, read project_state.md to pick up. This file provides the NBA-specific context for each phase.

Setup skill vs. project agent: this skill sets up, changes and rebuilds the solution; it is the same for every project. Once the project's own agent is installed in .claude/skills/ (<project_slug>-agent), questions about its results are answered by that agent. If this skill is invoked with such a question, read the installed agent's SKILL.md and answer by its rules (or tell the user to ask the agent in a new chat); if no agent is installed yet, say so and offer the setup.

Treasure AI Studio questions: when the user asks how Treasure AI Studio works — Work Folders, permissions and access, sharing skills or agents, plugins and marketplaces, or where to find Studio documentation — answer from what you know, then share the official documentation: https://docs.treasure.ai/products/ai-studio/overview

Phase Summary

Phase Stage What happens
Phase 1 DEV Data exploration — list and classify tables, confirm the touchpoint and conversion sources, run discovery queries; draft business-context.md and review it with the user
Phase 2 DEV requirements.md, ending with the open business-context questions — then continue without waiting
Phase 3 DEV Copy the workflow template, configure from Phase 1, push, run, validate; ask which hands-on kit to build
Phase 4 DEV Hands-on kit (customer agent, dashboard, interim workflow guide + setup walkthrough); apply the customer's requirements, re-push, re-run, re-validate, refresh the kit
Phase 5 PROD — only when you say the model is ready Parent Segment attributes + example audiences, documentation set, finalize the customer agent, offer the final guides

Read the full file on GitHub · 134 lines

Files

What ships with it

54 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 134 lines · 159 tokens per session scan A 39c63e6897f7

Subscribe to this mod's changes

fde-nba-scores is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 159 tokens to every session and 2,895 once invoked, about $0.0006 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-10-21.

Related

fde-nba-scores compared with skills from other repositories

fde-nba-scores next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fde-nba-scorestreasure-data/td-skillsSkill23todayApache-2.0A159Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code