
Bunjang Search
Search Bunjang (번개장터), pull item details, optionally bulk-scrape pages to JSON or TOON chunks for AI pricing research via bunjang-cli.
Overview
bunjang-search is an agent skill for the Validate phase that guides bunjang-cli search, detail, bulk JSON/TOON collection, and optional login-gated actions on 번개장터.
Install
npx skills add https://github.com/nomadamas/k-skill --skill bunjang-searchWhat is this skill?
- CLI-first: `npx --yes bunjang-cli` for search, item get, auth status, and help smoke tests
- Bulk collect via `--start-page`, `--pages`, `--max-items`, `--with-detail`, `--output`
- AI export with `--ai --output <directory>` producing `.toon` chunks
- Auth login is headful browser + TTY; favorites/chat/purchase only when explicitly requested
- Does not auto-run favorite or chat unless the user asks
- Quick smoke test uses search max-items 3 and sample item get 354957625
- Bulk and AI paths combine --start-page, --pages, --max-items, --with-detail, and --ai --output
Adoption & trust: 2.2k installs on skills.sh; 5.4k GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need current secondhand prices and listing detail from Bunjang without manually browsing or writing scrapers.
Who is it for?
Solo builders researching Korean resale markets, arbitrage ideas, or training data from Bunjang with npx bunjang-cli.
Skip if: Purchase or payment automation, forced favorite/chat without login and explicit consent, or non-Bunjang marketplaces in the same flow.
When should I use this skill?
User asks to search Bunjang, view listing detail, multi-page collect to JSON, or build TOON chunks for AI analysis (Korean marketplace prompts).
What do I get? / Deliverables
Your agent returns JSON search results, item payloads, or paginated datasets and optional TOON chunks suitable for AI comparison—not automated checkout.
- Search or item JSON from bunjang-cli
- Multi-page JSON dump or directory of `.toon` AI chunks
Recommended Skills
Journey fit
Secondhand listing search and multi-page harvest are classic validate/pricing work before you commit to sourcing, resale, or feature pricing assumptions. Pricing subphase fits comparing live ask prices, sort orders, and detail fields—not shipping a production marketplace integration.
How it compares
A Bunjang-specific CLI playbook, not a generic ecommerce MCP or Amazon price tracker.
Common Questions / FAQ
Who is bunjang-search for?
Indie builders and researchers who work in Korean and want agents to query 번개장터 through documented bunjang-cli commands.
When should I use bunjang-search?
During Validate when comparing used-device pricing, before bulk-saving listings for AI evaluation, or when verifying a single item ID’s detail fields.
Is bunjang-search safe to install?
It may open a browser for login and call Bunjang APIs; review the Security Audits panel on this page and avoid handing purchase flows to unattended agents.
SKILL.md
READMESKILL.md - Bunjang Search
# Bunjang Search ## What this skill does upstream [`bunjang-cli`](https://www.npmjs.com/package/bunjang-cli) / [`pinion05/bunjangcli`](https://github.com/pinion05/bunjangcli) 를 사용해 번개장터에서 아래 흐름을 처리한다. - 상품 검색 - 상품 상세조회 - 선택적 찜/채팅 - 다페이지 대량 수집 - AI 분석용 TOON chunk export ## Core policy - 기본 경로는 **항상 CLI first** 다. - 기본 명령은 `npx --yes bunjang-cli ...` 형식을 쓴다. - `auth login` 은 headful 브라우저 + **TTY / interactive 터미널**이 필요하다. - 로그인 전에는 검색/상세조회/대량 수집 위주로 답하고, `favorite` / `chat` / `purchase` 는 **선택적 로그인 플로우**로만 안내한다. - 대량 수집은 `--start-page`, `--pages`, `--max-items`, `--with-detail`, `--output` 조합을 우선 쓴다. - AI 분석용 export 는 `--ai --output <directory>` 로 `.toon` chunk 를 만든다. - 찜/채팅은 명시적으로 요청받지 않으면 실행하지 않는다. ## When to use - "번개장터에서 아이폰 검색해줘" - "번장에서 이 상품 상세 봐줘" - "여러 페이지 모아서 JSON으로 저장해줘" - "AI 평가용으로 번개장터 결과를 chunk 로 만들어줘" ## When not to use - 계정 로그인 없이 바로 찜/채팅을 강행해야 하는 경우 - 구매 확정/결제 자동화를 기대하는 경우 - 번개장터 외 다른 중고거래 플랫폼을 동시에 다뤄야 하는 경우 ## Quick smoke test ```bash npx --yes bunjang-cli --help npx --yes bunjang-cli --json auth status npx --yes bunjang-cli --json search "아이폰" --max-items 3 --sort date npx --yes bunjang-cli --json item get 354957625 ``` ## Login flow ```bash npx --yes bunjang-cli auth login npx --yes bunjang-cli auth logout npx --yes bunjang-cli --json auth status ``` - `auth login` 은 브라우저에서 로그인한 뒤 **터미널로 돌아와 Enter 를 눌러야** 완료된다. - 그래서 비-TTY 실행 대신 interactive 세션에서만 진행한다. ## Search flow ```bash npx --yes bunjang-cli search "아이폰" npx --yes bunjang-cli search "아이폰" --price-min 500000 --price-max 1200000 npx --yes bunjang-cli search "아이폰" --sort date npx --yes bunjang-cli --json search "아이폰" --max-items 5 ``` 검색 결과는 광고/매입글/악세서리 노이즈가 섞이고, search summary 의 `location` 이 noisy 하거나 `description` / `status` 가 비어 있을 수 있다. 그래서 **검색 단계는 제목/가격 중심 1차 triage** 로만 쓴다. - 기기명/용량 키워드 일치 여부 - 가격대 범위 - 판매 링크/썸네일 중복 여부 `description`, `status`, 깔끔한 `location` 이 필요하면 **반드시 `item get` 또는 `--with-detail` 이후** 에만 판단한다. ## Detail flow ```bash npx --yes bunjang-cli item get 354957625 npx --yes bunjang-cli --json item get 354957625 npx --yes bunjang-cli --json item list --ids 354957625,354801707 ``` 상세조회에서는 아래 필드를 먼저 읽는다. - `price` - `description` - `location` - `category` - `status` - `sellerName` - `sellerItemCount` - `sellerFollowerCount` - `sellerReviewCount` - `favoriteCount` - `transportUsed` ## Bulk collection ```bash npx --yes bunjang-cli search "아이폰" \ --start-page 1 \ --pages 5 \ --max-items 50 \ --sort date \ --with-detail \ --output artifacts/bunjang-iphone.json ``` 검증할 때는 export 파일 생성 여부와 top-level `items[]` 안의 `summary` / `detail` / optional `error` 구조, 그리고 각 item 의 `sourcePage` 또는 `summary.raw.page` 를 같이 확인한다. ## AI export ```bash npx --yes bunjang-cli search "아이폰" \ --start-page 1 \ --pages 5 \ --max-items 50 \ --with-detail \ --ai \ --output artifacts/bunjang-iphone-ai ``` - `--ai` 에서는 `--output` 이 **파일이 아니라 디렉토리** 여야 한다. - 결과는 `items-1.toon` 형태 chunk 로 저장된다. - AI 평가용으로 여러 서브에이전트에 분산 읽기시키기 좋다. ## Optional favorite/chat flow 로그인된 interactive 세션에서만 아래 액션을 진행한다. ```bash npx --yes bunjang-cli --json favorite list npx --yes bunjang-cli --json favorite add 354957625 npx --yes bunjang-cli --json favorite remove 354957625 npx --yes bunjang-cli --json chat list npx --yes bunjang-cli --json chat start 354957625 --message "안녕하세요" npx --yes bunjang-cli --json chat send 84191651 --message "상품 상태 괜찮을까요?" ``` - 찜/채팅은 **로그인이 필요한 선택적 기능**이다. - 검증 목적이면 `favorite list` 로 세션을 먼저 확인하고, 같은 상품에 대해 `favorite add` / `favorite remove` 를 왕복 실행한다. - `chat start` 는 상품 페이지에서 새 대화를 열 때, `chat send` 는 기존 thread 에 메시지를 보낼 때 쓴다. ## Recommended response format 1. 검색어가 넓으면 예산/모델/지역을 먼저 좁힌다. 2. 검색 결과 상위 3~5개는 제목/가격 중심 1차 요약만 한다. 3. `description` / `status` / `location` 판단이 필요하면 `item get` 또는 `--with-detail` 로 상세를 먼저 읽는다. 4. 로그인 액션이 필요하면 "지금은