hipass-receipt
nomadamas/k-skill
Reuse logged-in Chrome sessions to query HiPass toll usage and access receipt popups.
What is hipass-receipt?
This skill leverages an already-authenticated Chrome session on the official HiPass website to retrieve toll usage history and navigate to receipt popups. It requires manual login and does not automate credential entry; it works only within active sessions and will prompt for re-login if the session expires.
- Query toll usage history within a date range and card filter
- Select specific transaction rows and navigate to receipt popups
- Detect session expiration and prompt for re-login
- Reuse persistent Chrome sessions via remote debugging or Playwright context
- Support encrypted card number filtering to narrow results
How to install hipass-receipt
npx skills add https://github.com/nomadamas/k-skill --skill hipass-receipt- macOS or environment with Chrome installed and remote debugging port available
- npm install hipass-receipt (includes playwright-core)
- User must manually log in to https://www.hipass.co.kr/comm/lginpg.do before using the skill
- Chrome profile directory and debugging port (default 9222) configured
How to use hipass-receipt
- 1.Start a dedicated Chrome profile with remote debugging enabled using: hipass-receipt chrome-command --profile-dir "$HOME/.cache/k-skill/hipass-chrome" --debugging-port 9222
- 2.Manually log in to HiPass in the opened browser at https://www.hipass.co.kr/comm/lginpg.do
- 3.Query usage history with: hipass-receipt list --cdp-url http://127.0.0.1:9222 --start-date YYYY-MM-DD --end-date YYYY-MM-DD --page-size 30
- 4.Note the rowIndex from the results for the transaction you need
- 5.Open the receipt popup with: hipass-receipt receipt --cdp-url http://127.0.0.1:9222 --start-date YYYY-MM-DD --end-date YYYY-MM-DD --row-index <index>
- 6.If session expires, close the browser and re-login, then repeat from step 2
Use cases
- Retrieve toll transaction records for a specific date range after manually logging into HiPass
- Access receipt/print popups for individual toll transactions to download or view details
- Monitor session status and handle re-authentication when sessions expire during batch operations
- Integrate HiPass receipt retrieval into larger toll management or expense tracking workflows
- HiPass account holders needing automated receipt access
- Toll expense auditors or fleet managers tracking transaction history
- Developers building toll management integrations that require session-based data retrieval
hipass-receipt FAQ
No. This skill explicitly does not automate credential entry, OTP, or certificate authentication. You must manually log in to HiPass first. The skill only reuses the authenticated session.
The skill detects session expiration (mgs_type 11/12 responses) and immediately stops, prompting you to re-login at /comm/lginpg.do. You must then restart the operation with a fresh session.
No. Saving only the JSESSIONID cookie for extended reuse is not supported. The recommended approach is to reuse a persistent Chrome context or user-data-dir via remote debugging.
Use the --encrypted-card-number flag (or its alias --ecd-no) when running hipass-receipt list to narrow results to a specific card.
You need macOS or any system with Chrome installed, npm, playwright-core, and an available remote debugging port (default 9222).
Full instructions (SKILL.md)
Source of truth, from nomadamas/k-skill.
name: hipass-receipt description: 공식 하이패스 홈페이지에서 사용자가 직접 로그인한 Chrome 세션을 재사용해 사용내역 조회와 영수증 팝업 진입을 돕는다. license: MIT metadata: category: transport locale: ko-KR phase: v1
하이패스 영수증 발급
What this skill does
공식 하이패스 홈페이지(https://www.hipass.co.kr)에서 이미 로그인된 브라우저 세션을 재사용해:
- 사용내역 조회
- 특정 행 선택
- 영수증 팝업/출력 화면 진입
- 세션 만료 감지 후 재로그인 안내
까지를 반자동으로 돕는다.
Hard limits
- 로그인은 반드시 사용자가 직접 해야 한다.
- 이 스킬은 로그인된 세션에서만 동작한다.
- ID/PW, 인증코드, OTP, 공동인증서 절차를 자동 입력하지 않는다.
JSESSIONID쿠키만 저장해 장시간 재사용하는 방식은 지원하지 않는다.- 권장 세션 형태는 Playwright persistent context 또는 Chrome
user-data-dir/ remote-debugging 재사용이다. - 세션이 만료되면 즉시 중단하고 다시 로그인해야 한다.
Why this design
현재 공개 페이지 기준으로:
- 로그인 페이지와 메인 페이지에
session_time=1200이 노출된다. - 세션 연장은
/comm/sessionCheck.do - 세션 종료는
/comm//sessionout.do - 미로그인/세션 종료 보호 응답은
mgs_type 11/12후/comm/lginpg.do로 이동한다. - 사용내역 조회는
/usepculr/InitUsePculrTabSearch.do→hpFormsubmit →/usepculr/UsePculrTabSearchList.do흐름이다. - 영수증은
/usepculr/UsePculrReceiptPrint.do팝업 진입으로 이어진다.
즉 v1은 “로그인된 Chrome 세션 재사용” 이 가장 현실적이다.
Prerequisites
- macOS 또는 Chrome 실행 가능한 환경
npm install hipass-receipt또는 이 레포에서npm install(playwright-core포함)- Chrome 원격 디버깅 포트 사용 가능
- 사용자가 직접 하이패스 로그인 가능
Workflow
1. 전용 Chrome 프로필로 로그인 브라우저를 띄운다
hipass-receipt chrome-command --profile-dir "$HOME/.cache/k-skill/hipass-chrome" --debugging-port 9222
위 명령이 출력한 Chrome 실행문으로 브라우저를 띄운 뒤, 사용자가 직접 https://www.hipass.co.kr/comm/lginpg.do 에 로그인한다.
2. 사용내역을 조회한다
hipass-receipt list \
--cdp-url http://127.0.0.1:9222 \
--start-date 2026-04-01 \
--end-date 2026-04-07 \
--page-size 30
- 카드사/암호화 카드번호를 알고 있으면
--encrypted-card-number등으로 더 좁힐 수 있다. --encrypted-card-number는 CLI의 기존--ecd-no별칭이다.- 결과 JSON에서
rowIndex를 확인한다.
3. 특정 row의 영수증 팝업을 연다
hipass-receipt receipt \
--cdp-url http://127.0.0.1:9222 \
--start-date 2026-04-01 \
--end-date 2026-04-07 \
--row-index 1
- 선택한 행의
영수증/출력control 을 클릭한다. - 팝업이 열리면 URL/title 을 반환한다.
Response policy
- “로그인 필수”, “세션 만료 시 재로그인 필요”를 항상 명확히 적는다.
- 하이패스 계정 비밀번호를 받아 저장하거나 새 env var를 만들지 않는다.
- 세션이 만료됐으면 즉시 실패시키고
/comm/lginpg.do재로그인만 안내한다. - v1 범위를 넘어서는 완전 무인 로그인 유지/백그라운드 재인증은 약속하지 않는다.
Verification
- 자동 검증: fixture 기반 query/parser/session-detection 테스트
- smoke 검증:
hipass-receipt fixture-demo --fixture ... - 최종 실서비스 검증: 로그인된 세션으로 수동 smoke test
Done when
- 로그인된 세션으로 사용내역 조회가 가능하다.
- 특정 row를 선택해 영수증 팝업 진입을 시도할 수 있다.
- 세션 종료 응답을 감지하면 재로그인을 요구한다.
Related skills
More from nomadamas/k-skill and the wider catalog.

hola-poke-yeoksam
Hola Poke Yeoksam location menu, store info, and event entry via remote MCP server.

household-waste-info
Query official South Korean household waste disposal schedules by district via data.go.kr API.

hwp
Parse HWP/HWPX documents to Markdown/JSON, extract form fields, diff versions, and reverse-convert Markdown→HWPX using kordoc.

intercity-bus-booking
Search and assist Korean 시외버스/Tmoney bookings using official HTTP/API-first flows; use for 시외버스 예매, 시간표, 좌석/요금 조회, and official checkout-entry handoff.

iros-registry-automation
Automate Korean IROS registry certificate cart preparation while keeping login, payment, and sensitive data handling manual and secure.

joseon-sillok-search
Search official Joseon Dynasty Annals records by keyword, king, and year from sillok.history.go.kr