Korea Market logo

Korea Market

Organization
kansoku-trade
korea-market

Korean market quotes (KOSPI / KOSDAQ / SK Hynix / Samsung) with capitulation-reversal detection. Use whenever reading the US memory/storage complex (MU / DRAM / SNDK / WDC / STX / SMH) — Korea is the SOURCE market and leads the US tape; Longbridge does not cover KRX. Triggers: 韩国 / 韩股 / KOSPI / 海力士 / SK Hynix / 三星 / Samsung / 韩国爆仓 / 韩国追保 / 存储板块见底了吗 / 洗盘结束了吗 / capitulation / Korean margin calls / has the flush ended.

Overview

Publisherkansoku-trade
Repositorykansoku
Skill namekorea-market
Stars
329
Forks
40
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kansoku-trade on GitHub. Read the source before you install it.

Installation

Install the Korea Market AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kansoku-trade/kansoku/tree/main/.claude/skills/korea-market
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kansoku-trade/kansoku.git /tmp/kansoku
mkdir -p .claude/skills
cp -r /tmp/kansoku/.claude/skills/korea-market .claude/skills/korea-market
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Korea Market in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Korea Market on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Korea Market is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Korea Market

Korean quotes + a capitulation-reversal test, from the Yahoo Finance chart API. Stdlib only, no third-party deps, goes through _shared/client.py (cache + throttle + output contract).

Why this skill exists

Longbridge does not cover KRX. It returns [] for 000660.KS / 005930.KS.

The tempting workaround — read Korea through the US-listed proxies EWY (Korea ETF) and KORU (3× Korea) — lies to you:

  • They are FX-contaminated (a won move shows up as a price move).
  • They are frozen while Seoul is still trading — they only reprice during US hours.

The 2026-07-14 proof. Reading the proxies, EWY looked ~flat (−0.13%) — nothing to see. The real Seoul tape that same session:

Seoul (real)Proxy said
SK Hynixlow −9.1% intraday → closed +2.9% on 1.55× volume (heaviest of the entire selloff)EWY "flat"

That was a textbook capitulation bottom, and the proxy hid it completely. Anyone watching EWY would have missed the exact session they were waiting for.

Rule: when the question is about Korea, read Korea.

Usage

bash
python3 .claude/skills/korea-market/scripts/quote.py --smoke     # connectivity self-test
python3 .claude/skills/korea-market/scripts/quote.py             # default: KOSPI, KOSDAQ, SK Hynix, Samsung
python3 .claude/skills/korea-market/scripts/quote.py --fresh     # bypass 5-min cache (use intraday)
python3 .claude/skills/korea-market/scripts/quote.py 000660.KS   # single name
python3 .claude/skills/korea-market/scripts/quote.py --range 6mo # longer history

Yahoo symbols: KRX stocks are NNNNNN.KS (SK Hynix 000660.KS, Samsung 005930.KS); indices are ^KS11 (KOSPI), ^KQ11 (KOSDAQ).

The exhaustion evidence (the point of this skill)

A capitulation bottom BY DEFINITION prints a new low. Testing for "no new low for two sessions" — the obvious naive rule — skips the exact session you are waiting for. That mistake was made on 2026-07-13 and corrected the next day by the data.

Look for exhaustion instead: heaviest selling into a new low, then buyers taking the other side.

ConditionFieldReference
New low — sellers pushed below the prior floormade_new_lowlow < prior low
Heavy volume — selling was maximal, not a driftheavy_volumerel_volume ≥ 1.3× (20-session avg)
Green close — buyers won the sessiongreen_closeclose > prev_close
Closed strong — decisively, not on a last-minute bell bounceclosed_strong(close−low)/(high−low) ≥ 0.6

A washout on light volume is not capitulation — it is a drift lower with nobody home, which has no natural floor. Volume is what separates "sellers are done" from "buyers left."

These are references, not a rule. You judge.

The script deliberately does not emit a verdict. It reports each measurement next to the reference it is being read against, plus a conditions_cleared tally — and stops there.

Why: collapsing this into a boolean throws away the distinction that actually matters. On 2026-07-14, Samsung cleared 3 of 4 with volume at 1.11× against a 1.3× reference — a near-miss. A hard threshold reads that as an identical outcome to KOSDAQ's 1 of 4 (still red, still no bid). Those are not the same animal, and a script that says so is lying to you.

Read the numbers. Weigh them against the tape. Then decide.

  • --min-rel-volume / --min-close-position tune the references if a name's normal volume profile warrants it.
  • Indices (^KS11 / ^KQ11) are context, not evidence. Index volume is a poor exhaustion gauge — it dilutes the memory names across ~900 constituents. Weight the individual names much more heavily.
  • A single name reversing is not a sector washout. Look for agreement across SK Hynix and Samsung, and confirm on the next session before treating anything as a floor.

Interpretation rules

  • Korea leads, the US follows. Read the Seoul close before forming a view on MU / DRAM / SNDK / SMH. Two instances on record: 2026-07-02 (KOSPI −7.9%, sidecar halt) and 2026-07-13 (SK Hynix −15.4%, its biggest one-day drop ever) — the US memory complex followed both times.
  • Forced liquidation ≠ informed selling. A margin cascade dumps at market regardless of price or fundamentals, so a big slice of the move carries no information about memory fundamentals. See journal/lessons.md.
  • A leverage flush burns out in days, not weeks — leveraged money self-destructs (a 3× ETF down 24% only needs two more such days to be gone). Do not wait weeks for it. See stocks/_leveraged-etf-mechanics.md.
  • But leverage explains the VIOLENCE, not the DIRECTION. A capitulation bottom in Korea does not un-announce SK Hynix's $51B fab or MU's $250B plan. Do not let a washout signal overwrite a real supply-side signal.
  • The margin-call rate is not in this API. Korea's Financial Supervisory Service publishes it with a lag; it must be sourced from news/X.

Output contract

Standard repo envelope — success → {"ok": true, "data": {...}, "meta": {...}}, exit 0; failure → {"ok": false, "error": ..., "hint": ...}, non-zero.

data.symbols[] carries close, change_pct, high, low, volume, rel_volume, recovery_from_low_pct, close_position_in_range, drawdown_from_20d_high_pct, is_index, a conditions_cleared tally, and exhaustion_evidence — where each condition reports its value, the reference it is read against, whether it clears, and why that condition matters.

There is no verdict field, by design. See "These are references, not a rule" above.

Cache TTL 300s; pass --fresh when polling intraday.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Korea Market AI skill do?

Korean market quotes (KOSPI / KOSDAQ / SK Hynix / Samsung) with capitulation-reversal detection. Use whenever reading the US memory/storage complex (MU / DRAM / SNDK / WDC / STX / SMH) — Korea is the SOURCE market and leads the US tape; Longbridge does not cover KRX. Triggers: 韩国 / 韩股 / KOSPI / 海力士 / SK Hynix / 三星 / Samsung / 韩国爆仓 / 韩国追保 / 存储板块见底了吗 / 洗盘结束了吗 / capitulation / Korean margin calls / has the flush ended.

Why use Korea Market on TypingMind?

Because you install it once and use it with any model. Korea Market is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Korea Market in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kansoku-trade/kansoku/tree/main/.claude/skills/korea-market. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Korea Market?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Korea Market?

As many as you like. As long as a model supports skills, you can use Korea Market with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Korea Market AI skill free?

It is published on GitHub by kansoku-trade. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇