← 返回 Skills 市场
5eun

kbo-results

作者 5eun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kbo-results
功能描述
Fetch KBO game schedules and results for a specific date with the kbo-game npm package. Use when the user asks for today's KBO games, yesterday's scores, or...
使用说明 (SKILL.md)

KBO Results

What this skill does

kbo-game 패키지로 특정 날짜 KBO 경기 정보를 가져와 경기 일정, 스코어, 상태를 요약한다.

When to use

  • "오늘 KBO 경기 결과 알려줘"
  • "어제 한화 경기 스코어 보여줘"
  • "2026-04-01 KBO 일정 정리해줘"

Prerequisites

  • Node.js 18+
  • npm install -g kbo-game

Inputs

  • 날짜: YYYY-MM-DD
  • 선택 사항: 특정 팀명

Workflow

0. Install the package globally when missing

npm root -g 아래에 kbo-game 이 없으면 다른 구현으로 우회하지 말고 전역 Node 패키지 설치를 먼저 시도한다.

npm install -g kbo-game

패키지가 없다는 이유로 다른 비공식 scoreboard 소스를 자동 채택하지 않는다.

1. Fetch the date

GLOBAL_NPM_ROOT="$(npm root -g)" node --input-type=module - \x3C\x3C'JS'
import path from "node:path";
import { pathToFileURL } from "node:url";

const entry = pathToFileURL(
  path.join(process.env.GLOBAL_NPM_ROOT, "kbo-game", "dist", "index.js"),
).href;
const { getGame } = await import(entry);

const date = "2026-03-25";
const games = await getGame(new Date(`${date}T00:00:00+09:00`));
console.log(JSON.stringify(games, null, 2));
JS

[email protected] 기준 실제 export는 getGame 하나이며, 문자열 날짜("2026-03-25")를 직접 넘기면 실패한다. 항상 Date 객체로 변환해서 호출한다. 전역 설치를 기본으로 쓰므로 inline snippet에서는 전역 npm root 아래 entry file을 직접 import 한다.

2. Normalize for humans

원본 데이터를 그대로 던지지 말고 아래 기준으로 정리한다.

  • 홈팀 vs 원정팀
  • 진행 상태 또는 경기 종료 여부
  • 스코어
  • 필요한 경우 특정 팀만 필터링

3. Keep the answer compact

사용자가 scoreboard를 원하면 경기별 한 줄 요약부터 준다.

Done when

  • 날짜 기준 전체 경기 요약이 있다
  • 팀 필터 요청이면 해당 팀 경기만 남아 있다
  • raw JSON이 필요하면 별도로 제공할 수 있다

Failure modes

  • KBO 사이트 변경으로 패키지 응답이 깨질 수 있다
  • 비시즌 날짜는 빈 결과가 올 수 있다

Notes

  • 이 스킬은 조회 전용이다
  • 사용자 기준 "오늘/어제" 같은 상대 날짜는 항상 절대 날짜로 변환해서 실행한다
安全使用建议
This skill appears to do what it says (use kbo-game to fetch KBO scores) but it has a few practical and security concerns you should consider before installing or allowing it to run: 1) It requires Node.js and the ability to install global npm packages, but the skill metadata does not declare these prerequisites — expect the agent to run `npm install -g kbo-game` which modifies system-wide files and can require sudo. 2) Installing a global npm package at runtime is persistent and higher-privilege; prefer a non-global install or packaging the dependency with the skill. 3) Verify the trustworthiness and exact version of the kbo-game package (look it up on the npm registry, check maintainer and recent activity) before allowing automatic installs. 4) If you want to reduce risk, require explicit user consent for the install step, add proper install metadata (Node requirement, explicit install script), or modify the skill to use a safe HTTP API or a bundled dependency rather than installing globally. 5) Ask the skill author to correct the manifest to declare Node/npm requirements and to remove the contradiction between ‘read-only’ and the install instruction.
功能分析
Type: OpenClaw Skill Name: kbo-results Version: 1.0.0 The skill requires the agent to perform a global installation of an external npm package (npm install -g kbo-game) and executes a Node.js script that imports directly from the global filesystem. While the stated purpose is fetching baseball scores, the requirement for global system modification and the execution of unpinned third-party code in SKILL.md poses a security risk to the host environment.
能力评估
Purpose & Capability
The skill claims to fetch KBO game data using the kbo-game npm package and the SKILL.md shows exactly that flow (importing getGame and formatting results). This capability matches the name/description. However, the manifest metadata (requirements) does not declare Node.js or npm or that a global package will be required, which is an inconsistency.
Instruction Scope
Runtime instructions are narrowly focused on installing/using kbo-game and formatting results. They do not request unrelated files or secrets. A discrepancy: the snippet relies on an environment variable (GLOBAL_NPM_ROOT) set in the wrapper command but the skill metadata doesn't declare it; the doc also forbids automatic fallbacks to other sources and insists on global installs.
Install Mechanism
There is no install spec in the manifest, but the SKILL.md instructs the agent to run `npm install -g kbo-game` if the package is missing. Installing a global npm package at runtime writes to system-wide locations and can require elevated privileges (or change the system state). While npm is a known registry, an instruction-only skill that performs global installs is higher risk and should have an explicit install mechanism and manifest declaration.
Credentials
The skill does not request secrets or credentials (no TOKENS/KEYS), which is appropriate. Still, it uses GLOBAL_NPM_ROOT and expects Node.js 18+ and global npm install capability — none of which are declared in the skill's requirements. The expected write access to global npm directories is a privilege that should be declared and justified.
Persistence & Privilege
The skill state is not marked always:true (good), but instructing a global npm install means the skill will change system state persistently (new global package files). The SKILL.md also calls the skill '조회 전용' (read-only), which contradicts the install step. This persistent, system-wide modification is a notable privilege and should be explicit and gated by user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kbo-results
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kbo-results 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: Easily fetch and summarize KBO league game results and schedules for any date. - Uses the kbo-game npm package to display game scores, statuses, and schedules. - Supports filtering by team and user-friendly, compact scoreboard summaries. - Requires global installation of the kbo-game package; does not fallback to unofficial sources. - Handles requests like “today’s KBO games,” “yesterday’s results,” or specific-date scoreboards.
元数据
Slug kbo-results
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

kbo-results 是什么?

Fetch KBO game schedules and results for a specific date with the kbo-game npm package. Use when the user asks for today's KBO games, yesterday's scores, or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 kbo-results?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kbo-results」即可一键安装,无需额外配置。

kbo-results 是免费的吗?

是的,kbo-results 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

kbo-results 支持哪些平台?

kbo-results 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 kbo-results?

由 5eun(@5eun)开发并维护,当前版本 v1.0.0。

💬 留言讨论