instruction.md
# Court Payment Order Assistant
## What this skill does
대한민국 법원 전자소송 포털에서 **지급명령(독촉) 신청**을 준비해야 할 때, 사용자가 제공한 채권자·채무자·청구내용·증빙 정보를 정리해 신청서 초안, 누락 질문, 첨부 체크리스트, 브라우저 handoff 절차를 만든다.
이 스킬은 참고용 작성 보조다. 법률 자문, 승소 가능성 판단, 관할 확정, 최종 제출 대행을 하지 않는다.
## 법적 안전 운영 기준
이 스킬은 변호사법상 무면허 법률사무 취급에 해당하지 않도록 아래 기준 안에서만 동작한다.
1. **본인 사건 전용이다.** 사용자가 자신의 채권 회수를 위해 쓰는 참고 도구로 한정하고, 제3자의 소송·지급명령 문서를 대가를 받고 대행 작성·중개·알선하지 않는다. 그런 요청이 오면 변호사/법무사 상담을 안내한다.
2. **산출물은 항상 참고용 초안이다.** 신청서 초안·체크리스트에는 법적 효력을 보장하지 않는 참고용임을 표기하고, 제출 전 변호사·법무사 또는 법원 나홀로소송 안내 확인을 사용자에게 고정 안내한다.
3. **법률 판단을 하지 않는다.** 승소 가능성, 관할 확정, 청구원인의 법적 유효성, 소송 전략은 판단하지 않는다. 관할 법원은 사용자가 최종 확인한다.
4. **최종 제출은 사용자가 직접 한다.** 전자소송 로그인·인증·전자서명·결제·제출은 사용자 본인의 공식 포털 세션에서만 진행하고, 스킬은 입력값 handoff까지만 준비한다.
## When to use
- "떼인 돈 지급명령 신청 준비해줘"
- "전자소송에서 지급명령 신청서 입력 도와줘"
- "채무자 정보랑 증빙으로 지급명령 초안 만들어줘"
- "로그인은 내가 할 테니 입력할 내용 정리해줘"
## Prerequisites
- Node.js 18+
- **실제 브라우저는 필수가 아니다.** 이 스킬의 핵심 산출물(지급명령/독촉 초안, 필요서류 체크리스트, 입력값 handoff)은 실제 브라우저를 띄우지 않고 생성된다. 브라우저는 사용자가 공식 포털에서 직접 로그인·확인·제출하는 수동 단계에서만 쓰이며, 그때 권장 순서는 BrowserOS/runtime CDP → 수동 브라우저다.
- BrowserOS/runtime CDP 우선 사용: 사용자가 직접 띄운 BrowserOS GUI 세션(`KSKILL_BROWSEROS_CDP_URL`, 기본 `http://127.0.0.1:9100`)에 attach한다. 스킬은 BrowserOS를 launch하거나 headless로 띄우지 않는다.
- 사용자가 직접 처리할 것: 전자소송 로그인, 공동/금융인증서 또는 간편인증, 보안 프로그램, 전자서명, 인지대/송달료 결제, 최종 제출
## Public access path discovered
Official portal:
```text
https://ecfs.scourt.go.kr/psp/index.on
```
Observed public surface:
- 전자소송 포털은 공개 상태에서 로그인/사용자등록, `서류제출`, `민사 서류` 영역을 보여준다.
- 문서 작성은 로그인 이후 가능하다는 경계가 표시된다.
- 나홀로소송/도움말 영역에서 지급명령(독촉) 설명 진입점을 확인할 수 있다.
- `https://ecfs.scourt.go.kr/ecf/index.jsp`는 점검/오류 페이지로 redirect될 수 있어, 현재 안정 진입점은 `/psp/index.on`이다.
## Workflow
### 1. Ask for required facts
Use the package to normalize and validate intake:
```js
const { buildRequiredQuestions, validateIntake } = require("court-payment-order-assistant")
const validation = validateIntake(input)
if (!validation.canDraft) {
console.log(buildRequiredQuestions(input))
}
```
Required information:
| Area | Required facts |
| --- | --- |
| 채권자 | 성명/상호, 송달 주소, 연락처(가능하면) |
| 채무자 | 성명/상호, 송달 가능한 주소, 식별정보(가능하면) |
| 청구 | 원금, 변제기, 청구원인, 신청취지 |
| 증빙 | 계약서, 차용증, 송금내역, 세금계산서, 독촉 문자/이메일 등 |
| 법원 | 사용자가 최종 확인할 관할 법원 |
### 2. Prepare a draft and checklist
```js
const { buildPaymentOrderDraft } = require("court-payment-order-assistant")
const draft = buildPaymentOrderDraft(input)
```
Return:
- parties
- claim statement
- cause statement
- evidence list
- missing fields
- warnings
- review checklist
- stop-before list
### 3. Browser handoff
```js
const { buildBrowserHandoff } = require("court-payment-order-assistant")
console.log(buildBrowserHandoff(input))
```
Fallback order:
1. BrowserOS/runtime CDP: attach to the user-launched BrowserOS GUI session for official portal inspection and reversible field entry after the user manually logs in.
2. Manual browser: if BrowserOS CDP is unavailable or authentication, certificate, security module, CAPTCHA, or maintenance blocks automation, hand off exact field values for manual entry.
## Stop rules
- Do not click final submit.
- Do not perform electronic signature.
- Do not pay 인지대 or 송달료.
- Do not bypass login, certificate, security module, CAPTCHA, or maintenance pages.
- Do not tell the user that filing is legally sufficient or guaranteed.
## Done when
- Required facts were collected or missing questions were returned.
- A draft/checklist was generated for user review.
- Official portal entry and login-required boundary were confirmed through BrowserOS/runtime CDP or documented fallback.
- The browser handoff stops before signature, payment, and final submission.
## Failure modes
- Electronic litigation portal maintenance or redirect.
- Login, certificate, security module, CAPTCHA, popup, or session timeout.
- Unknown debtor address or wrong jurisdiction.
- Missing evidence for claim cause or amount.
- User asks for legal judgment, guaranteed outcome, or final submission without review.
## Notes
- No proxy, API key, or secret is used.
- This is not legal advice. For disputed facts, large amounts, limitation-period issues, business debt, or uncertain debtor address, recommend professional review.
skill.json
{
"name": "court-payment-order-assistant",
"description": "법원 전자소송 지급명령 신청을 위해 채권자·채무자·청구금액·청구원인·증빙 정보를 인터뷰하고, 신청서 초안과 공식 전자소송 브라우저 입력 handoff를 준비한다. 돌쇠에서는 가능한 가장 가까운 합법적 공식 단계까지 준비한다.",
"profiles": [
"vault",
"browser",
"legal"
],
"frontmatter": "name: court-payment-order-assistant\ndescription: 법원 전자소송 지급명령 신청을 위해 채권자·채무자·청구금액·청구원인·증빙 정보를 인터뷰하고, 신청서 초안과 공식 전자소송 브라우저 입력 handoff를 준비한다. 돌쇠에서는 가능한 가장 가까운 합법적 공식 단계까지 준비한다.\nlicense: MIT\nmetadata:\n category: legal\n locale: ko-KR\n phase: v1"
}
SKILL.md
---
name: court-payment-order-assistant
description: 법원 전자소송 지급명령 신청을 위해 채권자·채무자·청구금액·청구원인·증빙 정보를 인터뷰하고, 신청서 초안과 공식 전자소송 브라우저 입력 handoff를 준비한다. 돌쇠에서는 가능한 가장 가까운 합법적 공식 단계까지 준비한다.
license: MIT
metadata:
category: legal
locale: ko-KR
phase: v1
---
# court-payment-order-assistant
<!-- k-skill:cli-stub — generated by scripts/generate-skill-stubs.js; edit skill.json / instruction.md instead -->
## Get the full instructions (required first step)
Run this and follow its output as the primary instructions for this skill:
```bash
npx -y @nomadamas/k-skill@0 instruct court-payment-order-assistant
```
The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by:
```bash
npx -y @nomadamas/k-skill@0 files court-payment-order-assistant
```
Keep the CLI and every coding-agent skill install current (including Vercel Agent Skills) with:
```bash
npx -y @nomadamas/k-skill@0 update
```
If `npx` is unavailable, install Node.js 18+ or follow https://github.com/NomaDamas/k-skill#readme, or read the source instructions at https://github.com/NomaDamas/k-skill/blob/main/court-payment-order-assistant/instruction.md.
## Hard rules even without the CLI
- Never execute payment, message/email delivery, final submission, cancellation, or public posting without the user's explicit approval immediately beforehand.
- Never ask for, print, or store plaintext credentials in chat, files, or shell arguments.
- Never bypass legal, physical-presence, CAPTCHA, identity-proofing, or electronic-signature boundaries.