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 humanerd-drew/opencode-drewgent --skill portone-payment-integrationgit clone --depth 1 https://github.com/humanerd-drew/opencode-drewgentWrote 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/humanerd-drew/opencode-drewgent/portone-payment-integration)<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/portone-payment-integration"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/portone-payment-integration/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/humanerd-drew/opencode-drewgent/portone-payment-integration"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/portone-payment-integration.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.00069 | $0.01693 |
| Opus 5.5 | $0.00028 | $0.00677 |
| Sonnet 5.5 | $0.00014 | $0.00339 |
| Haiku 4.5 | $0.00007 | $0.00169 |
Grade A, and why
portone-payment-integration 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PortOne V2 Payment Integration (Korean PG)
Overview
PortOne (포트원, formerly 아임포트/I'mport) is a Korean payment gateway aggregator. This skill covers integration with a Cloudflare Workers backend and vanilla JS SPA frontend, using the PortOne V2 SDK (@portone/browser-sdk).
When to Use
- Adding Korean PG payment (KG이니시스, 카카오페이, 토스페이먼츠, etc.) to a web app
- Need per-entity/per-record purchase tracking (not per-account)
- Integrating with Cloudflare Workers + D1 database
- Setting up payment verification backend
Core Architecture
Data Flow
User → SPA (PaymentView) → PortOne SDK → PG 결제창
↓ 성공
SPA → POST /api/payment/verify
↓
CF Worker → PortOne API 검증
↓
D1 purchases 테이블 저장
↓
SPA localStorage 캐시 (fallback)
Required Configuration
const PORTONE_CONFIG = {
storeId: 'store-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', // PortOne admin console
channelKeys: {
naverpay: 'channel-key-...', // KG이니시스 (네이버페이)
kakaopay: 'channel-key-...', // 카카오페이
card: 'channel-key-...', // 한국결제네트웍스
},
};
Frontend Integration
SDK Loading
<script src="https://cdn.portone.io/v2/browser-sdk.js"></script>
<script type="module" src="js/app.js"></script>
The SDK exposes window.PortOne.requestPayment().
Payment Request
const response = await window.PortOne.requestPayment({
storeId: PORTONE_CONFIG.storeId,
channelKey: PORTONE_CONFIG.channelKeys[selectedMethod],
paymentId: `ORDER-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,
orderName: config.title,
totalAmount: config.amount, // integer (KRW = 1x)
currency: 'KRW',
customer: {
email: user?.email || '',
fullName: user?.name || '',
phoneNumber: payerPhone || undefined,
},
redirectUrl: window.location.href,
payMethod: 'EASY_PAY', // 'CARD' | 'EASY_PAY' | 'TRANSFER' | etc.
easyPay: { easyPayProvider: 'NAVERPAY' },
});
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 196 lines · 69 tokens per session scan A 72ce3ecfafdd
portone-payment-integration is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (3 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 1,693 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-09-03.
portone-payment-integration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| portone-payment-integrationhumanerd-drew/opencode-drewgent | Skill | 3 | 4mo ago | MIT | A | 69 | Claude Code, Codex |
| tushareHKUDS/Vibe-Trading | Skill | 40k | yesterday | MIT | A | 79 | Claude Code, Codex |
| hyperliquid-websocketgalleonlabs/hypergrok-trading-desk | Skill | 652 | 2d ago | MIT | A | 89 | Claude Code |
| build-a-stripe-integrationsuperset-sh/superset | Skill | 17k | 6d ago | MIT | A | 74 | Claude Code |
| freee-api-skillfreee/freee-mcp | Skill | 528 | today | Apache-2.0 | A | 407 | Claude Code |
| liter-llm-running-the-proxyxberg-io/liter-llm | Skill | 269 | today | MIT | A | 45 | Claude Code |
| fastbillHybridAIOne/hybridclaw | Skill | 166 | yesterday | MIT | A | 27 | Claude Code |