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.
npx skills add gejyn14/kiwoom-plugin --skill pnl-reportgit clone --depth 1 https://github.com/gejyn14/kiwoom-pluginWrote 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.
[](https://agentmods.dev/skills/gejyn14/kiwoom-plugin/pnl-report)<a href="https://agentmods.dev/skills/gejyn14/kiwoom-plugin/pnl-report"><img src="https://agentmods.dev/badge/skills/gejyn14/kiwoom-plugin/pnl-report/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gejyn14/kiwoom-plugin/pnl-report"><img src="https://agentmods.dev/badge/skills/gejyn14/kiwoom-plugin/pnl-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.00927 |
| Opus 5.5 | $0.00035 | $0.00371 |
| Sonnet 5.5 | $0.00017 | $0.00185 |
| Haiku 4.5 | $0.00009 | $0.00093 |
Grade A, and why
pnl-report 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 2mo 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.
What it actually says
손익·수익률
먼저 구분한다
- 실현손익 — 실제로 팔아서 확정된 것.
account pnl * - 평가손익 — 아직 들고 있는 것의 장부상 증감.
account balance(portfolio-review) - 수익률 — 투입 대비 비율.
account returns *
사용자의 "얼마 벌었어"는 대개 실현손익이지만 둘을 합쳐 생각하는 경우가 많다. 어느 쪽을 말하는지 애매하면 둘 다 보여 주고 각각 무엇인지 밝힌다.
기간
account pnl과 대부분의 account returns는 --from/--to가 필수다.
사용자가 기간을 말하지 않았으면 정하고 답에 그 기간을 밝힌다 — "이번 달"을
멋대로 "올해"로 넓히지 않는다. 날짜는 YYYYMMDD.
무엇을 부를까
기간 실현손익
kiwoom_run(["account","pnl","daily","--from","<YYYYMMDD>","--to","<YYYYMMDD>"])
일자별 실현손익. "이번 달 얼마 벌었어"의 기본 답이다.
종목별로 쪼개기
kiwoom_run(["account","pnl","by-period","--from","<YYYYMMDD>","--to","<YYYYMMDD>"])
"어떤 종목에서 벌고 잃었는지"에 쓴다. --code로 한 종목만, --market us로 미국,
--krw로 미국 손익을 원화 환산. 일자 기준은 account pnl by-date --from ….
당일 한 종목
kiwoom_run(["account","pnl","today","<코드>"])
국내는 종목코드가 필수다. 미국은 --market us로 코드 없이 전체를 받는다.
계좌 수익률
kiwoom_run(["account","returns","summary"])
인자가 필요 없다. 기간별로는
account returns daily-detail --from … --to …(일별 계좌수익률 상세),
account returns daily-balance --date …(일별 잔고수익률),
account returns daily-asset --from … --to …(일별 추정예탁자산).
매매일지
kiwoom_run(["account","history","journal"])
당일 무엇을 사고팔았는지. 기간 거래내역은 account history transactions.
답할 때
- 합계를 먼저, 내역은 그다음. 표를 통째로 붙이지 말고 기간 합계를 말한 뒤 기여가 큰 종목 몇 개를 짚는다.
- 이긴 것과 진 것을 같이 보여 준다. 수익 종목만 나열하면 그림이 왜곡된다.
- 상승 빨강 / 하락 파랑 (한국 관습).
- 수수료·세금이 반영된 값인지 단정하지 않는다. 키움이 돌려준 필드를 그대로 전하고, 사용자가 증권사 앱과 다르다고 하면 계산 기준 차이일 수 있다고 말한다.
meta.env가"mock"이면 모의투자 계좌다. 실제 수익으로 오해하지 않도록 명시한다.- 기간에 거래가 없으면 빈 결과가 정상이다. "손익 0"이 아니라 "그 기간에 매도가 없었다"고 말한다.
하지 않을 것
성과를 평가하거나 다음에 무엇을 사라고 하지 않는다. 숫자와 그 구성까지가 범위다.
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.
- 2mo ago First seen · 84 lines · 87 tokens per session scan A 3ffee9bb8aa6
pnl-report is a skill published in the GitHub repository gejyn14/kiwoom-plugin (1 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 927 once invoked, about $0.0003 per session on Opus 5.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.
pnl-report compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pnl-reportgejyn14/kiwoom-plugin | Skill | 1 | 3mo ago | Apache-2.0 | A | 87 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | today | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | today | MIT | A | 28 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 4d ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 4d ago | GPL-2.0 | A | 292 | Codex |