← Back to Skills Marketplace
bettermen

Nba Analyst

by bettermen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
30
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install nba-analyst
Description
NBA 全能数据分析助手。查询比分、排名、球员数据、球队信息、球员/球队对比、AI深度分析、生成可视化HTML报告。全中文界面,零API Key。
README (SKILL.md)

NBA Analyst -- NBA 数据分析助手

触发场景

用户查询以下内容时自动激活:

  • NBA 比分、赛程、排名
  • NBA 球员/球队信息、数据统计
  • 球员/球队对比分析
  • 比赛详情、Box Score
  • 生成 NBA 分析报告

触发词

NBA nba 篮球数据 篮球分析 比分 排名 球队 球员 赛程 选秀 詹姆斯 库里 杜兰特 字母哥 约基奇 东契奇 湖人 勇士 凯尔特人 篮网 掘金 热火 尼克斯 火箭 马刺 快船 雄鹿 76人 太阳 雷霆

使用方式

自然语言 (推荐):

今天NBA比分怎么样
詹姆斯本赛季数据
西部排名
湖人对勇士历史战绩
库里最近10场表现

结构化命令:

/nba scoreboard          # 今日比分
/nba standings           # 联盟排名
/nba standings west      # 西部排名
/nba player 詹姆斯       # 球员信息
/nba team 湖人           # 球队信息
/nba compare 詹姆斯 库里  # 球员对比
/nba report 詹姆斯       # 生成球员报告
/nba report team 湖人    # 生成球队报告
/nba report today        # 今日比赛报告

输出格式

  • 纯文本查询: 表格 + AI 简要分析
  • 报告模式: 完整 HTML 报告 (含图表 + AI 深度解读)
  • 对比模式: 双栏对比 + AI 评述

依赖安装

pip install nba_api pandas numpy matplotlib requests

注意事项

  • 数据来源于 NBA.com 官方公开 API,使用需遵守 NBA.com Terms of Use
  • 无需 API Key,完全免费
  • 首版覆盖 2025-26 赛季数据,历史数据可达 1996 赛季
  • NBA.com 可能在休赛期限流或暂停部分端点
Usage Guidance
Before installing, expect the skill to make outbound requests for NBA data and to create local cache/report files when used. Consider pinning dependencies or installing from a locked environment if reproducibility matters, and be aware that generic sports queries may invoke this NBA-specific skill.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is NBA scores, standings, player/team stats, comparisons, and reports; the code implements those functions using nba_api and bundled Chinese name/stat mappings. No credential, account, browser profile, or unrelated local data access was found.
Instruction Scope
The trigger list includes generic Chinese sports terms like scores, rankings, teams, players, and schedule, so it may activate outside an NBA-specific request. This is under-scoped but not a security-impacting mismatch.
Install Mechanism
Installation is ordinary Python dependencies declared in clawhub.json and requirements.txt. Dependencies use minimum-version ranges rather than exact pins, which is a reproducibility and supply-chain hygiene issue but not evidence of malicious behavior.
Credentials
Outbound network access to NBA.com-backed nba_api endpoints is proportionate to live sports data lookup. Local reads are limited to bundled JSON mappings, and local writes are limited to a data cache and requested HTML reports.
Persistence & Privilege
The skill creates a local data/.cache directory and writes HTML reports under the skill artifact directory. These are purpose-aligned persistent files, but users should know report commands create files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nba-analyst
  3. After installation, invoke the skill by name or use /nba-analyst
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
NBA Analyst 1.0.0 – 首次发布 - 全中文 NBA 数据分析助手,支持比分、排名、球员/球队数据、对比、赛程等查询 - 自动激活关键字包括常见球队、球星姓名及常用数据分析词汇 - 支持自然语言查询和结构化命令,输出表格、AI 分析、HTML 可视化报告 - 免费使用,无需 API Key,数据覆盖 1996–2026 赛季 - 支持完整球队/球员报告生成、对比分析和深度 AI 评述
Metadata
Slug nba-analyst
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Nba Analyst?

NBA 全能数据分析助手。查询比分、排名、球员数据、球队信息、球员/球队对比、AI深度分析、生成可视化HTML报告。全中文界面,零API Key。 It is an AI Agent Skill for Claude Code / OpenClaw, with 30 downloads so far.

How do I install Nba Analyst?

Run "/install nba-analyst" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nba Analyst free?

Yes, Nba Analyst is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nba Analyst support?

Nba Analyst is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nba Analyst?

It is built and maintained by bettermen (@bettermen); the current version is v1.0.0.

💬 Comments