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.
npx skills add treasure-data/td-skills --skill nba-scoresgit clone --depth 1 https://github.com/treasure-data/td-skillsWrote 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.
[](https://agentmods.dev/skills/treasure-data/td-skills/nba-scores)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 |
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.
- project_templates/agent_template/references/business-context.template.md 4.4 KB
- project_templates/agent_template/references/dashboard_template.html 35 KB
- project_templates/agent_template/references/dashboard_template.md 11 KB
- project_templates/agent_template/references/data-dictionary.md 21 KB
- project_templates/agent_template/references/generate-data.js 39 KB runs code
- project_templates/agent_template/references/model-setup-walkthrough.template.md 6.7 KB
- project_templates/agent_template/references/visualization-instructions.md 6.1 KB
- project_templates/agent_template/references/workflow-guide.template.md 6.2 KB
- project_templates/agent_template/SKILL.template.md 21 KB
- project_templates/workflow_template/body.txt 366 B
- project_templates/workflow_template/config/input_params.yml 7.6 KB
- project_templates/workflow_template/nba_cleanup_runner.dig 304 B
- project_templates/workflow_template/nba_dash_stats.dig 879 B
- project_templates/workflow_template/nba_eng_launch.dig 1.6 KB
- project_templates/workflow_template/nba_metrics_table.dig 627 B
- project_templates/workflow_template/nba_next_best_campaign_metrics.dig 436 B
- project_templates/workflow_template/nba_next_best_channel_metrics.dig 1.1 KB
- project_templates/workflow_template/nba_next_best_time_metrics.dig 946 B
- project_templates/workflow_template/nba_union_all_activity.dig 1.4 KB
- project_templates/workflow_template/queries/dash/agg_stats_calculate.sql 272 B
- project_templates/workflow_template/queries/dash/get_distinct_col_names.sql 187 B
- project_templates/workflow_template/queries/dash/global_session_filter.sql 229 B
- project_templates/workflow_template/queries/dash/insert_model_metrics.sql 507 B
- project_templates/workflow_template/queries/dash/source_table_stats.sql 460 B
- project_templates/workflow_template/queries/next_best_campaign/custom_engagement_flags.sql 1.4 KB
- project_templates/workflow_template/queries/next_best_campaign/final_table_custom.sql 361 B
- project_templates/workflow_template/queries/next_best_channel/create_activity_labels_minmax_distinct.sql 371 B
- project_templates/workflow_template/queries/next_best_channel/create_activity_labels_percentile_distinct.sql 368 B
- project_templates/workflow_template/queries/next_best_channel/data_generate_query_distinct.sql 638 B
- project_templates/workflow_template/queries/next_best_channel/data_write_schema_distinct.sql 1.4 KB
- project_templates/workflow_template/queries/next_best_channel/load_distinct_channels.sql 628 B
- project_templates/workflow_template/queries/next_best_time/create_activity_labels_minmax.sql 1.2 KB
- project_templates/workflow_template/queries/next_best_time/create_activity_labels_percentile.sql 1.2 KB
- project_templates/workflow_template/queries/next_best_time/create_activity_labels_quartile.sql 1.3 KB
- project_templates/workflow_template/queries/next_best_time/data_generate_query.sql 508 B
- project_templates/workflow_template/queries/next_best_time/data_write_schema.sql 1.1 KB
- project_templates/workflow_template/README.md 17 KB
- project_templates/workflow_template/sql/final/base_table.sql 148 B
- project_templates/workflow_template/sql/final/join_temp_tables.sql 155 B
- project_templates/workflow_template/sql/final/select_temp_tables.sql 310 B
- project_templates/workflow_template/sql/nb_time/time_period_flag.sql 211 B
- project_templates/workflow_template/sql/sample_tables/src_union_sample.sql 50 B
- project_templates/workflow_template/sql/union/create_final_union_table.sql 747 B
- project_templates/workflow_template/sql/union/create_topk_lookup_table.sql 709 B
- project_templates/workflow_template/sql/union/insert_src_table.sql 1.3 KB
- project_templates/workflow_template/sql/union/order_events.sql 970 B
- project_templates/workflow_template/sql/union/parse_table_params.sql 2.5 KB
- project_templates/workflow_template/sql/union/sessionize_temp_table.sql 4.5 KB
- project_templates/workflow_template/tdx.json 41 B
- references/agent-setup.md 6.4 KB
- references/docs-setup.md 4.0 KB
- references/parent_segment.md 4.6 KB
- references/requirements_doc.md 5.6 KB
- references/workflow-setup.md 15 KB
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.
- 1mo ago First seen · 134 lines · 159 tokens per session scan A 39c63e6897f7
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.
fde-nba-scores compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fde-nba-scorestreasure-data/td-skills | Skill | 23 | today | Apache-2.0 | A | 159 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |