korean-payment-gateway

korean-payment-gateway is a skill for Claude Code, Codex from humanerd-drew/opencode-drewgent. It costs 71 tokens per session (1,560 once invoked), scanned A, original, MIT.

A guide to adding Korean online payments to a plain JavaScript web app through PortOne, a service that connects several Korean payment providers through one SDK.

In plain words
What is it for?
Use it to load the PortOne SDK, start card or Naver Pay and Kakao Pay payments, handle the response, and verify payments on your backend.
Why use it?
It removes the need to learn each payment provider's separate browser integration. It also explains how to send payment results to a server for verification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to load the PortOne SDK, start card or Naver Pay and Kakao Pay payments, handle the response, and verify payments on your backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/humanerd-drew/opencode-drewgent/korean-payment-gateway
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.

Any agent
npx skills add humanerd-drew/opencode-drewgent --skill korean-payment-gateway
Clone the repo
git clone --depth 1 https://github.com/humanerd-drew/opencode-drewgent

Made for: Claude Code, Codex.

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 korean-payment-gateway

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/korean-payment-gateway.svg)](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/korean-payment-gateway)
Your own site
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/korean-payment-gateway"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/korean-payment-gateway.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00071 $0.01560
Opus 5 $0.00036 $0.00780
Sonnet 5 $0.00014 $0.00312
Haiku 4.5 $0.00007 $0.00156

Measured 4d ago against content hash aa8108b53716, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

korean-payment-gateway 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 4d 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.

skills/software-development/korean-payment-gateway/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Korean Payment Gateway Integration (PortOne V2 SDK)

Overview

PortOne (포트원, formerly 아임포트) is a Korean payment gateway aggregator. It unifies multiple PG providers (KG이니시스, NHN KCP, 토스페이먼츠, etc.) under a single JavaScript SDK.

This skill covers the PortOne V2 SDK (@portone/browser-sdk) integration into a vanilla JS SPA (no bundler).

Architecture

Browser SPA ──PortOne.requestPayment()──▶ PortOne Cloud ──PG routing──▶ PG provider
     │                                          │
     │ txId + paymentId                         │ PortOne API verify
     ▼                                          ▼
Your Backend ◀──── payment/verify API ─────── PortOne server SDK

Step 1: SDK Loading

CDN (Vanilla JS — no bundler)

<script src="https://cdn.portone.io/v2/browser-sdk.js"></script>

This sets window.PortOne globally.

NPM (Bundler — Vite, webpack, etc.)

npm i @portone/browser-sdk
import PortOne from '@portone/browser-sdk/v2';

Step 2: Configuration

Two values from PortOne Admin Console → 결제 연동 → 연동 정보:

Key Description Format
storeId 상점 아이디 store-abc123
channelKey 채널 키 (per-channel) channel-key-xxxxx
const PORTONE_CONFIG = {
  storeId: 'store-YOUR_STORE_ID',
  channelKey: 'channel-key-YOUR_CHANNEL_KEY',
};

Step 3: Payment Request

Basic Card Payment

const response = await window.PortOne.requestPayment({
  storeId: PORTONE_CONFIG.storeId,
  channelKey: PORTONE_CONFIG.channelKey,
  paymentId: `ORDER-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,
  orderName: 'Premium Report',
  totalAmount: 10000,          // Integer (KRW = 1×)
  currency: 'KRW',
  payMethod: 'CARD',
});

NaverPay / KakaoPay (Easy Pay)

const response = await window.PortOne.requestPayment({
  storeId: PORTONE_CONFIG.storeId,
  channelKey: PORTONE_CONFIG.channelKey,
  paymentId: `ORDER-${Date.now()}`,
  orderName: 'Premium Report',
  totalAmount: 10000,
  currency: 'KRW',
  payMethod: 'EASY_PAY',
  easyPay: { easyPayProvider: 'NAVERPAY' }, // or 'KAKAOPAY'
});

Read the full file on GitHub · 216 lines

Files

What ships with it

3 files 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.

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. 4d ago First seen · 216 lines · 71 tokens per session scan A aa8108b53716

Subscribe to this mod's changes

korean-payment-gateway is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (2 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 1,560 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-09-03.

Related

Other skills, from other repositories

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

product-description-generator

E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve…

nexscope-ai/eCommerce-Skills · 126 tokens

amazon-price-tracker

Amazon price monitoring and competitive pricing intelligence. Real-time price tracking, Buy Box analysis, promotion detection, and dynamic pricing strategy optimization. Use when the user asks about price monitoring, competitor pricing, Buy Box tracking, or pricing strategy.

nexscope-ai/Amazon-Skills · 51 tokens