key-statisticslisted
Install: claude install-skill seokhoonj/pyecos
# ecos — key statistics (top-100 indicators)
Print the Bank of Korea's curated top-100 indicators -- base rate, CPI, GDP growth,
exchange rate, and the rest -- each with its latest value, cycle, and unit. No table code
is needed; it is one call. The fetching and parsing live in the pyecos package (on PyPI);
this skill is a thin wrapper that calls its CLI and relays the result.
## Prerequisite
This plugin calls the `ecos` CLI, so the package must be installed and an API key set:
```
pipx install pyecos # or: pip install pyecos
export ECOS_API_KEY=... # a free key from https://ecos.bok.or.kr/api/#/
```
The key can also be stored in `~/.config/pyecos/credentials.json` as
`{"ECOS_API_KEY": "..."}`. Without a key the CLI exits with
`ecos: no ECOS API key ...`; relay that and point the user at the ECOS site.
## Running
```
ecos key-statistics [--lang kr|en] [--json]
```
Options (`ecos key-statistics --help` is the source of truth):
- `--lang kr|en` — response language (default: kr).
- `--json` — the full list as JSON instead of the text table.
The text output is an aligned table (class, indicator name, latest value, unit) with a
row count.
## Procedure
1. **Run.** No arguments are required.
```bash
ecos key-statistics
```
2. **Relay the result.** Show the CLI's stdout. If the user asked about one indicator,
point out its row; the list is grouped by class (interest rates, prices, ...), so you
can filter to the group they asked for.
3. **Follo