gokr — list services
Show what the wrapped data.go.kr services offer and how to call them, in the same
operation names the Python client uses. gokr list prints each service (kofia,
customs) and the operations under it, one service operation per line -- exactly the
words the kofia and customs skills take. It reads an in-code catalog, so it runs
offline and needs no service key.
Prerequisite
This plugin calls the gokr CLI, so the package must be installed:
pipx install data-go-kr # or: pip install data-go-kr
That puts the gokr command on PATH. gokr list needs no key -- only the fetch
skills do.
Running
gokr list [--json]
Procedure
- From a concept, find the operation. Run
gokr listand scan for the matching line (e.g. "예탁금" ->kofia market_funds; "신용잔고" ->kofia credit_balance; "수출입" ->customs item_trade). - Relay the result. Show the CLI's stdout. When the goal is one series, point out the operation the user needs, then offer to hand it to the kofia or customs skill.
- Error handling.
command not found: gokr-> not installed; point the user atpipx install data-go-kr.
What this skill does not do
- It does not re-implement the catalog (the package ships it); it always calls the CLI.
- It lists names only -- to fetch data use the kofia or customs skill.