kbl-results
KBL 한국프로농구 경기 결과와 현재 팀 순위를 날짜/팀 기준으로 조회한다. 공식 JSON 엔드포인트와 kbl-results npm 패키지를 사용한다.
Security Assessment
Detected risks:
About kbl-results
A read-only lookup skill for Korean professional basketball (KBL, 한국프로농구) that retrieves game schedules and results by date and team, and reports current team standings. It is built around the official KBL JSON endpoints and the kbl-results npm package, and is intended for requests such as "today's KBL results," a specific team's game on a given date, or the current team rankings. The skill is query-only and does not perform any writes.
Prerequisites are Node.js 18 or newer and the globally installed kbl-results package. The workflow first checks whether kbl-results exists under the global npm root and, if missing, installs it globally rather than falling back to HTML scraping. It then fetches the official KBL JSON surfaces — the match list at api.kbl.or.kr/match/list for schedules and results, and the team rank endpoint at api.kbl.or.kr/league/rank/team for standings — by dynamically importing the package's entry module and calling getKBLSummary with a date and options such as a team filter and includeStandings. Inputs are a date in YYYY-MM-DD format plus an optional team name, full name, or team code (for example Seoul SK, Busan KCC, or code 55).
After fetching, raw JSON is normalized for humans rather than dumped directly: home versus away team, game time, finished or live status, score, current standings, and a filter to only the requested team's games when one is specified. Answers are kept compact — a one-line per-game summary for scoreboard requests, or just the requested team's game and current rank for team-specific requests. Documented failure modes include the package needing updates if KBL changes its api.kbl.or.kr response structure, pre-game dates returning scheduled status instead of results, and crawling fallback being considered only when the official JSON is blocked. Relative requests like "today" or "yesterday" are always converted to absolute YYYY-MM-DD dates before execution.
FAQ
What does this skill retrieve?
It retrieves KBL (Korean professional basketball) game schedules and results for a given date, optionally filtered to a specific team, along with current team standings. It is read-only and does not modify anything.
What are the prerequisites?
Node.js 18 or newer and the kbl-results npm package installed globally (npm install -g kbl-results). If the package is missing under the global npm root, the workflow installs it before proceeding.
What inputs does it accept?
A date in YYYY-MM-DD format, plus an optional team identifier — a team name, full name, or team code (for example Seoul SK, Busan KCC, or code 55). Relative dates like today or yesterday are always converted to absolute YYYY-MM-DD.
Which data sources does it use?
The official KBL JSON API: api.kbl.or.kr/match/list for schedules and results, and api.kbl.or.kr/league/rank/team for team standings, accessed via the kbl-results package's getKBLSummary function. Crawling is a fallback only if the official JSON is blocked.
What happens if I ask about a date before the game is played?
A pre-game date may return scheduled status rather than results. The doc also notes that if KBL changes its api.kbl.or.kr response structure, the package may need updating.
Install kbl-results
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
nomadamas/k-skill