kr-trade-flow-analysis
Skill2 starsChanged 8 days agoMITView on GitHub
Normalize Korean and global trade-flow CSV data and use it with DART disclosures, peer results, and disclosed contracts to infer export-driven revenue or shipment changes for KRX-listed companies when customer, geography, or product mix is not separately disclosed. Use for Korean stock work where HS code, destination country, port/region, plant cluster, or customs data may proxy undisclosed end demand. Always separate confirmed disclosures from Trade Flow Inference.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- kr-analyst-report-discoverSkill
- kr-analyst-report-fetchSkill
- kr-analyst-report-insightSkill
- kr-analyst-report-watchSkill
- kr-article-readabilitySkill
- kr-chatgpt-reviewSkill
- kr-daily-market-newsSkill
- kr-earnings-reviewSkill
- kr-finance-slide-claritySkill
- kr-foreign-analystSkill
- kr-market-leadersSkill
- kr-market-sentimentSkill
- kr-naver-bloggerSkill
- kr-naver-blog-publishSkill
- kr-naver-browseSkill
- kr-naver-insightSkill
- kr-order-backlog-analysisSkill
- kr-portfolio-guardSkill
- kr-portfolio-monitorSkill
- kr-research-siteSkill
- kr-sector-analysisSkill
- kr-sector-auditSkill
- kr-sector-compareSkill
- kr-sector-data-packSkill
- kr-sector-planSkill
- kr-sector-updateSkill
- kr-stock-analysisSkill
- kr-stock-chartSkill
- kr-stock-dart-analysisSkill
- kr-stock-data-packSkill
- kr-stock-planSkill
- kr-stock-updateSkill
- kr-strategy-backtestSkill
- kr-web-browseSkill
- telegram-report-senderSkill
- us-daily-market-newsSkill
- us-earnings-reviewSkill
- us-sec-analysisSkill
- us-stock-analysisSkill
- us-strategy-backtestSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to build a source-dated proxy analysis for Korean companies whose customers, destination mix, or product mix are not fully …
- Distinctive: line 12
Start with user-provided or downloaded CSVs from 관세청 수출입무역통계, KITA, UN Comtrade, overseas official customs data, or a manual CSV.
- Distinctive: line 15
If the workspace is writable, write company artifacts to:
- Very specific: line 18
If the downstream memo uses the result, keep it in a Trade Flow Inference block.
- Very specific: line 25
Run normalize-trade-flow.js on each CSV and preserve source type, source URL/file, period, HS code, partner, value, quantity, and unit.
- Distinctive: line 29
Use the evidence ladder below.
- Distinctive: line 31
Use the standard output format, keep source dates visible, and list unresolved checks.
- Distinctive: line 35
Read references/workflow.md for the detailed trade-lane mapping process.
- Distinctive: line 36
Read references/output-format.md for the report shape.
- Very specific: line 50
Run all bundled scripts with node.
- Distinctive: line 54
Prefer primary sources for official facts: DART, KRX disclosures, company IR, official trade-stat providers, and official overseas customs …
- Distinctive: line 55
Keep trade-stat source dates separate from filing dates and market data dates.
- Distinctive: line 57
Do not infer revenue mix from a broad HS code without explaining contamination risk.
- Distinctive: line 58
Do not treat export value as company revenue unless the company, product, destination, and timing are independently tied.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Korean Trade Flow Analysis
Use this skill to build a source-dated proxy analysis for Korean companies whose customers, destination mix, or product mix are not fully disclosed. The skill is evidence support, not a replacement for DART or company filings.
Quick Start
- Start with user-provided or downloaded CSVs from 관세청 수출입무역통계, KITA, UN Comtrade, overseas official customs data, or a manual CSV.
- Normalize CSVs with
scripts/normalize-trade-flow.jsbefore interpreting them. - Score the thesis with
scripts/score-trade-inference.jswhen the user provides trade movement plus DART, peer, results, or contract evidence. - If the workspace is writable, write company artifacts to:
analysis-example/kr/<company>/trade-flow-data.jsonanalysis-example/kr/<company>/trade-flow-analysis.md
- If the downstream memo uses the result, keep it in a
Trade Flow Inferenceblock. Do not write it as a DART-confirmed fact.
Workflow
- Define the proxy. Lock the company, product, HS code(s), destination country, shipment direction, and why that trade lane could map to the company.
- Normalize the data.
Run
normalize-trade-flow.json each CSV and preserve source type, source URL/file, period, HS code, partner, value, quantity, and unit. - Triangulate company attribution. Compare trade changes with DART/IR facts, peer results, plant or region constraints, disclosed supply contracts, and product-specific demand events.
- Score confidence. Use the evidence ladder below. A strong investment assumption is allowed only when it is labeled as inference and supported by multiple independent checks.
- Write the report. Use the standard output format, keep source dates visible, and list unresolved checks.
- Hand off to stock skills.
Feed the artifact into
kr-stock-data-packasExternal EvidenceorRevenue Mix Proxy, and intokr-stock-updateonly as a datedhigh-confidence inferencewhen it resolves a tracked mix/customer gap.
Read references/workflow.md for the detailed trade-lane mapping process. Read references/output-format.md for the report shape.
Evidence Grades
confirmed disclosure: DART, KRX, official IR, or audited financial statements explicitly say it.high-confidence inference: trade-flow increase, peer divergence, company result change, and disclosed contract/economic scale all point the same way.medium-confidence proxy: direction is plausible, but value, volume, or company attribution remains loose.weak proxy: sector-wide or country-wide signal with no reliable company attribution.contradicted: trade-flow signal conflicts with filings, company results, or known customer/product facts.
Bundled Scripts
scripts/normalize-trade-flow.jsconverts 관세청/KITA-style, UN Comtrade-style, or manual CSV files into a shared JSON row schema.scripts/score-trade-inference.jsscores a structured thesis packet and emits confidence, supporting factors, contradictions, and required labels.- Run all bundled scripts with
node.
Operating Rules
- Prefer primary sources for official facts: DART, KRX disclosures, company IR, official trade-stat providers, and official overseas customs data.
- Keep trade-stat source dates separate from filing dates and market data dates.
- State when a product, customer, destination, plant, or HS-code mapping is not separately disclosed.
- Do not infer revenue mix from a broad HS code without explaining contamination risk.
- Do not treat export value as company revenue unless the company, product, destination, and timing are independently tied.
- For battery-material work on 엘앤에프, exclude Tesla EV LFP from the L&F thesis unless separately evidenced. Track Samsung SDI / U.S.-bound ESS LFP as a separate thesis. For China NCM, a 1Q26 revenue increase plus peer non-increase plus disclosed contract-scale fit can support
high-confidence inference, notconfirmed disclosure.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

