← 返回 Skills 市场
chloepark85

Bank of Korea ECOS CLI

作者 Chloe Park · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
89
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bank-of-korea-ecos-cli
功能描述
Command-line client for Bank of Korea ECOS API to list statistic tables and fetch time series data in JSON by code and frequency.
使用说明 (SKILL.md)

Bank of Korea ECOS CLI

Minimal command-line client for the Bank of Korea Economic Statistics System (ECOS) Open API.

  • List available statistic tables
  • Fetch time series by statistic code and frequency (A,S,Q,M,D)
  • JSON output, suitable for piping to jq or saving to files

Installation

Clone and run in a virtualenv (or install once on your host/agent image):

python -m venv .venv && source .venv/bin/activate
pip install -e .

Usage

Environment variables:

  • BOK_API_KEY (required) — your ECOS API key
  • BOK_LANG (optional) — kr or en (default: kr)

Examples:

# Help
ecos-cli -h

# List statistic tables (first 1000)
ecos-cli table-list | jq '.[] | .[]? // .'

# Fetch a monthly time series for a statistic code between start/end dates
ecos-cli series 722Y001 M 202001 202412 | jq .

Notes:

  • Date formats depend on the cycle: YYYY for A/S, YYYYQQ for Q (ECOS accepts YYYYQ# in some cases), YYYYMM for M, YYYYMMDD for D.
  • Output structure is a direct passthrough of the ECOS JSON response.

API references

  • ECOS API portal: https://ecos.bok.or.kr/api/
  • StatisticTableList: /StatisticTableList/{API_KEY}/json/{lang}/{start}/{end}/
  • StatisticSearch: /StatisticSearch/{API_KEY}/json/{lang}/{start}/{end}/{STAT_CODE}/{CYCLE}/{START}/{END}/
安全使用建议
This skill appears to describe a legitimate ECOS CLI and only needs your ECOS API key, but the SKILL.md expects you to clone and install a local Python package yet provides no repository or packaged code. Before installing or providing your BOK_API_KEY: 1) Ask the skill author for the repository URL or a packaged release you can inspect. 2) If you clone/install code, review it locally (or in an isolated environment) before running pip install -e . 3) Confirm ecos-cli is a known tool or comes from a trusted source; do not paste your API key into unknown scripts. 4) If you only need to call ECOS, consider using curl or writing a small script yourself that calls the documented endpoints so you control the code that sees the key.
功能分析
Type: OpenClaw Skill Name: bank-of-korea-ecos-cli Version: 0.1.0 The skill bundle contains metadata and documentation for a CLI tool designed to interface with the Bank of Korea Economic Statistics System (ECOS) API. The documentation in SKILL.md describes standard API usage, requires a legitimate environment variable (BOK_API_KEY), and points to official government API endpoints (ecos.bok.or.kr). No malicious instructions, prompt injection attempts, or suspicious behaviors were identified in the provided files.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The name/description (ECOS CLI) aligns with the single required env var (BOK_API_KEY). However, the installation instructions assume a local Python package (pip install -e .) and say "Clone and run" but do not provide a repository URL or any packaged binary — the skill bundle contains no code. That mismatch is unexplained.
Instruction Scope
SKILL.md only instructs using the ECOS API via an ecos-cli command and reading BOK_API_KEY/BOK_LANG. It does not request unrelated files, paths, or extra credentials. The scope is appropriate for the described function, but the runtime instructions assume a local project layout (venv, pip install -e .) that isn't present or linked.
Install Mechanism
There is no install spec in the registry (instruction-only skill), which is low-risk. The only install instructions are in SKILL.md and require cloning/packaging a local Python project — but no external download URL or package is provided by the skill itself.
Credentials
Only one credential is required (BOK_API_KEY) and that matches the API the CLI is meant to call. The optional BOK_LANG is reasonable. There are no other env vars or secrets requested.
Persistence & Privilege
The skill is not always-enabled and allows user invocation/autonomous invocation per platform defaults. It does not request persistent system-wide privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bank-of-korea-ecos-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bank-of-korea-ecos-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug bank-of-korea-ecos-cli
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Bank of Korea ECOS CLI 是什么?

Command-line client for Bank of Korea ECOS API to list statistic tables and fetch time series data in JSON by code and frequency. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。

如何安装 Bank of Korea ECOS CLI?

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

Bank of Korea ECOS CLI 是免费的吗?

是的,Bank of Korea ECOS CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Bank of Korea ECOS CLI 支持哪些平台?

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

谁开发了 Bank of Korea ECOS CLI?

由 Chloe Park(@chloepark85)开发并维护,当前版本 v0.1.0。

💬 留言讨论