Skip to content
Back to skills

Fields

ASecurity

Show the columns a KRX Open API service returns -- the field (column) names of one service, in order -- offline and without a key. Holds no logic of its own -- it calls the krx-openapi package's CLI (`krx fields <group> <name>`) and shows the result to the user. Use it to see what a service returns before fetching it. Trigger phrases: 이 서비스 컬럼, KRX 필드, 무슨 컬럼 오나, what columns does, KRX field schema, what fields does this service return.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentspythonbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add seokhoonj/krx-openapi --skill fields --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fields?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fields
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seokhoonj-fields/badge)](https://www.skillsdirectory.com/skills/seokhoonj-fields)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fields
description: "Show the columns a KRX Open API service returns -- the field (column) names of one service, in order -- offline and without a key. Holds no logic of its own -- it calls the krx-openapi package's CLI (`krx fields <group> <name>`) and shows the result to the user. Use it to see what a service returns before fetching it. Trigger phrases: 이 서비스 컬럼, KRX 필드, 무슨 컬럼 오나, what columns does, KRX field schema, what fields does this service return."
---

# krx — a service's fields

Show the columns one KRX service returns, by the readable `group name` pair the Python
client uses. `krx fields <group> <method>` prints the field (column) names in the order
KRX returns them -- `krx fields index kospi` gives `BAS_DD`, `IDX_CLSS`, `IDX_NM`,
`CLSPRC_IDX`, ... It reads a schema **bundled in the krx-openapi package**, so it runs
**offline and needs no API key**.

## Prerequisite

This plugin calls the `krx` CLI, so the package must be installed:

```
pipx install krx-openapi      # or: pip install krx-openapi
```

That puts the `krx` command on PATH. `krx fields` needs **no** `KRX_API_KEY` (it is
offline) -- only the **fetch** skill does.

## Running

```
krx fields <GROUP> <NAME>     # the field (column) names that service returns
```

- `GROUP NAME` is the readable service pair -- `index kospi`, `stock daily`,
  `bond treasury`, ... If you don't have it, use the **list** skill (`krx list`) first.
- `--json` emits JSON instead of the text view.

## Procedure

1. **Have the `group name`.** If the user gave only a concept, use the **list** skill
   (`krx list`) to find the pair first.
2. **Run.**
   ```bash
   krx fields index kospi
   ```
3. **Relay the result.** Show the CLI's stdout -- the column names the fetched rows will
   carry. Offer to hand the same `group name` to the **fetch** skill for the data.
4. **Error handling.** An unknown method exits 2 with `krx: unknown service ...` -- relay
   it and suggest `krx list <group>` to find the right name.

## What this skill does not do

- It does not re-implement the schema (the package ships it); it always calls the CLI.
- It shows column names only -- to list groups and methods use the **list** skill, and to
  fetch a day's data use the **fetch** skill.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.