condition-search

condition-search is a skill for Claude Code from gejyn14/kiwoom-plugin. It costs 75 tokens per session (785 once invoked), scanned A, original, Apache-2.0.

A connector for running saved stock-screening conditions from Kiwoom’s HTS, the desktop trading system also known as Hero문.

In plain words
What is it for?
Use it to list saved conditions, find stocks that match one, or temporarily monitor stocks entering or leaving a condition. It cannot create new conditions.
Why use it?
It lets you retrieve and run existing filters without rebuilding them, while keeping screening separate from investment recommendations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kiwoom-trader plugin — 7 skills, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gejyn14/kiwoom-plugin/condition-search
Any agent
npx skills add gejyn14/kiwoom-plugin --skill condition-search
Clone the repo
git clone --depth 1 https://github.com/gejyn14/kiwoom-plugin

Made for: Claude Code.

Or install kiwoom-trader, the plugin that ships this one along with the rest of its 7 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for condition-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/gejyn14/kiwoom-plugin/condition-search.svg)](https://agentmods.dev/skills/gejyn14/kiwoom-plugin/condition-search)
Your own site
<a href="https://agentmods.dev/skills/gejyn14/kiwoom-plugin/condition-search"><img src="https://agentmods.dev/badge/skills/gejyn14/kiwoom-plugin/condition-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00785
Opus 5 $0.00037 $0.00392
Sonnet 5 $0.00015 $0.00157
Haiku 4.5 $0.00007 $0.00078

Measured 5d ago against content hash 0a12f46eecbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

condition-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/kiwoom-trader/skills/condition-search/SKILL.md · 61 lines

What it actually says

조건검색

사용자가 HTS(영웅문)에서 미리 만들어 저장한 조건식을 서버에서 불러와 실행한다. 조건식 자체를 여기서 만들 수는 없다 — 없다면 HTS에서 먼저 만들어야 한다고 알린다.

순서

1. 어떤 조건식이 있는지 본다

kiwoom_run(["order","condition","list"])

seq(조건식 번호)와 이름이 돌아온다. 이 번호가 이후 모든 호출의 입력이다. 사용자가 "내 조건식"이라고만 하면 목록을 보여 주고 어느 것인지 고르게 한다. 번호를 추측하지 않는다.

2. 걸린 종목을 받는다

kiwoom_run(["order","condition","search","<seq>","--confirm"])

--confirm반드시 넣는다. kiwoom-cli는 확인 프롬프트를 띄우는데 MCP에는 답할 터미널이 없어서, 빠뜨리면 응답 없이 끝난다. 조회일 뿐 아무것도 전송하지 않는다.

결과가 많으면 --cont-yn/--next-key로 이어 받는다 (meta.cont 참고).

3. 실시간 감시 (사용자가 명시적으로 요청할 때만)

kiwoom_run(["order","condition","realtime","<seq>","--confirm"], timeout_seconds=30)
kiwoom_run(["order","condition","stop","<seq>","--confirm"])
  • 실시간 등록은 조건에 편입·이탈되는 종목을 흘려보낸다. 바로 끝나지 않을 수 있으므로 timeout_seconds를 명시한다.
  • 끝나면 반드시 stop으로 해제한다. 등록해 두고 방치하지 않는다.
  • 장 시간이 아니면 아무 일도 일어나지 않는다. 장외 시간에는 2번(일반 조회)을 쓴다.

답할 때

  • 조건식 이름을 함께 말한다. "3번 조건"보다 "'거래량 급증 돌파'(3번)"가 쓸모 있다.
  • 걸린 종목이 많으면 전부 나열하지 말고 개수를 먼저 말한 뒤 상위 몇 개를 보여 준다. 종목명이 필요하면 stock infostock search로 보강한다.
  • 조건에 걸렸다는 것은 매수 신호가 아니다. 사용자가 정한 필터를 통과했다는 사실만 전달한다. 종목을 추천하지 않는다.
  • meta.env"mock"이면 모의투자 서버다. 조건식이 실계좌 HTS의 것과 다를 수 있다.

안 될 때

  • 목록이 비어 있으면 조건식을 저장한 적이 없거나 다른 계정의 것이다. HTS에서 조건식을 만들어 서버에 저장해야 API로 보인다고 알린다.
  • MCP_ORDERS_DISABLED가 나오면 서버가 오래된 버전이다. 조건검색은 조회이므로 조회 전용 플러그인에서도 동작해야 한다 (kiwoom-mcp 0.1.1+). /plugin update를 안내한다.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 61 lines · 75 tokens per session scan A 0a12f46eecbc

Subscribe to this mod's changes

condition-search is a skill published in the GitHub repository gejyn14/kiwoom-plugin (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 785 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.