Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

g2b-cliG2B CLI 搜索

Agent Skill

g2b-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

894

周安装

38

GitHub Stars

公开资料未说明

下载量

313
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:g2b-cli(G2B CLI 搜索)
来源仓库:https://github.com/chloepark85/g2b-cli
安装命令:
openclaw skills install g2b-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install g2b-cli

简介

韩国公共采购(나라장터)조달청 OpenAPI 命令行包装器。

  • 支持按业务分类查询招标公告、投标信息和采购计划。
  • 适用于政府采购信息检索和投标准备场景。
  • 安装命令:openclaw skills install g2b-cli,需申请政府 API 密钥。
  • 使用前应阅读官方文档,确保符合数据使用政策和频率限制。

SKILL.md

name
g2b-cli
description
Korean public procurement (나라장터 g2b.go.kr) command-line wrapper for the 조달청 OpenAPI surface — three subcommands cover BidPublicInfoService (입찰공고 per 업무구분 thng/servc/cnstwk/frgcpt + PPS keyword search), CntrctInfoService (계약현황 per 업무구분), and PubDataOpnStdService (개방표준 unified bid/awarded/contract feeds). Use when monitoring government tenders, building bid-aggregator dashboards, scraping awarded-contract winners, performing supplier KYB on awardee 사업자번호, alerting subscribers to new RFPs by keyword, or backfilling historical procurement data into a warehouse. Pairs with nts-bizno-cli (resolve awardee 사업자등록번호), juso-address-cli (geocode 수요기관 addresses), kakao-local-cli (map pins), opendart-cli (cross-check awardee disclosures), kr-holiday-cli (calendar overlay for 공고 timing), and tistory-api-cli/velog-cli (publish daily tender digests). Free data.go.kr tier (1,000 req/day dev, expandable on prod approval).
version
0.1.0
license
MIT

g2b-cli

Command-line wrapper for 조달청 나라장터 OpenAPI — Korea's first-party public-procurement system. 나라장터 (g2b.go.kr) is the single national platform every Korean government agency, public university, and SOC project must use to post tenders worth roughly ₩200T per year. The 조달청 (Public Procurement Service) exposes three OpenAPI services on data.go.kr that mirror the website's three core surfaces: 입찰공고, 계약현황, and the 개방표준 data feed.

Three subcommands wrap the surface:

CommandServicePurpose
scripts/bid.shBidPublicInfoService입찰공고 (current bidding announcements) per 업무구분 + PPS keyword search.
scripts/contract.shCntrctInfoService계약현황 (signed-contract listings) per 업무구분.
scripts/std.shPubDataOpnStdService개방표준 unified feed: bid / awarded / contract on one canonical schema.

All output is JSONL — one row per record — so it pipes directly into jq, csvkit, pandas, or downstream skills. Pass --meta to any subcommand to get {totalCount, pageNo, numOfRows} instead of the items, which is the right shape for paging loops.

When to use this skill

  • Tender-monitoring dashboardsbid.sh --type servc --keyword "AI" every hour to surface new AI-related RFPs nationwide. Pair with email/Slack alerts.
  • Awarded-contract scrapersstd.sh --what awarded --from 202601010000 --to 202612310000 to backfill the year's 낙찰 records into a warehouse with a single, schema-stable feed.
  • Supplier KYB on awardees — pull bizrno from awarded records, fan out to nts-bizno-cli status to confirm the company is still 정상사업자 before you sign downstream paperwork.
  • B2B sales prospectingbid.sh --type thng --inquiry-div 5 --dminstt-cd <기관> to monitor a target buyer institution's tender pipeline.
  • Construction / SOC analystscontract.sh --type cnstwk --from --to for monthly 공사 contract volumes by region; pair with kosis-cli for population/GDP normalisation.
  • Compliance audits — repeated calls with --meta give totals; reconcile against a third-party data vendor's claims.
  • News grounding for AI agents — when an LLM answers "who won the Seoul subway camera tender?", cite real records from std.sh --what awarded instead of hallucinating.

Do not use this skill for

  • Bid submission — the OpenAPI is read-only. Actual bid filing requires the 나라장터 GPKI/GBKI digital cert + browser session — that's still a Windows-only ActiveX/exe flow as of 2026.
  • Pre-RFP procurement plans (사전공고) — those live on a separate 조달정보표준 service not yet covered here.
  • Sub-minute polling — data.go.kr dev keys are 1,000 req/day. For live aggregation in production, request the prod tier on data.go.kr (justification + use-case form, ~3 business days).
  • Outside-Korea procurement — only 나라장터-listed Korean public tenders. For EU TED, US SAM.gov, or KONEPS/KOICA-funded foreign tenders, use those systems directly.
  • Sub-public tenders (private B2B RFPs) — Korea's 나라장터 does not host private-sector RFPs. Use third-party platforms (BidWeb, EProcurement) for that.

Prerequisites

  1. Register at <https://www.data.go.kr/> (free, no business required).
  2. Apply for all three services (instant approval, dev tier; production tier needs a usage-case form):

- "조달청_나라장터 입찰공고정보서비스" (BidPublicInfoService) - "조달청_나라장터 계약현황정보" (CntrctInfoService) - "조달청_나라장터 공공데이터개방표준서비스" (PubDataOpnStdService)

  1. Copy the Decoding key (the raw form, *not* URL-encoded) and export:
   export G2B_SERVICE_KEY='your_decoded_key_here'
  1. Optional overrides (rarely needed; useful for staging):
   export G2B_BID_BASE='https://apis.data.go.kr/1230000/ad/BidPublicInfoService'
   export G2B_CNTRCT_BASE='https://apis.data.go.kr/1230000/ao/CntrctInfoService'
   export G2B_STD_BASE='https://apis.data.go.kr/1230000/ao/PubDataOpnStdService'

Common workflows

A) Today's new 용역 (services) tenders

scripts/bid.sh --type servc --rows 200 \
  | jq -c '{bidNtceNo, bidNtceNm, ntceInsttNm, dminsttNm, presmptPrce, bidNtceDt, bidBeginDt}'

B) Keyword-driven RFP alert (AI-related 용역)

scripts/bid.sh --keyword "인공지능" --rows 50 \
  | jq -c 'select(.bidNtceDt >= "2026-04-01") | {bidNtceNo, bidNtceNm, presmptPrce, ntceInsttNm}' \
  | tee today_ai_rfps.jsonl

C) Last-week awarded contracts → warehouse

# Use the open-standard feed for warehouse-ready, schema-stable rows.
scripts/std.sh --what awarded --from 202604220000 --to 202604290000 --rows 500 \
  > awarded_2026wk17.jsonl

D) Awardee KYB chain (g2b → nts-bizno)

# 1. Pull awarded list.
scripts/std.sh --what awarded --rows 100 > awarded.jsonl

# 2. For each awardee 사업자번호, confirm 정상사업자 status.
jq -r '.bizrno // empty' awarded.jsonl | sort -u | while read brn; do
  nts-bizno-cli status --b-no "$brn" \
    | jq --arg brn "$brn" '{bizrno: $brn, taxType: .tax_type, businessStatus: .b_stt}'
done > awardee_kyb.jsonl

E) One specific 공고 detail (when you have the bidNtceNo)

scripts/bid.sh --type thng --bid-no 20240412345-00 --rows 1 | jq .

F) Buyer-institution tender pipeline (수요기관 기준)

# 6110000 = 서울특별시청 (example dminsttCd; look up via the 나라장터 institution dictionary).
scripts/bid.sh --type cnstwk --inquiry-div 5 --dminstt-cd 6110000 --rows 200 \
  | jq -c '{bidNtceNo, bidNtceNm, presmptPrce, opengDt}'

G) Pagination loop (full month dump)

month_from=202604010000; month_to=202604300000
scripts/std.sh --what bid --from $month_from --to $month_to --meta
# {"totalCount":4982,"pageNo":1,"numOfRows":100}

for p in $(seq 1 50); do
  scripts/std.sh --what bid --from $month_from --to $month_to --rows 100 --page $p \
    >> bid_2026_04.jsonl
done

Data shapes (high-signal fields)

bid.sh (BidPublicInfoService) — non-exhaustive list:

FieldMeaning
bidNtceNo입찰공고번호 (primary key)
bidNtceOrd차수 (revision; 00 = original)
bidNtceNm입찰공고명
ntceInsttNm공고기관명 (the institution that *posted*)
dminsttNm수요기관명 (the institution that *will use* it)
presmptPrce추정가격 (원)
bidNtceDt공고게시일자
bidBeginDt입찰개시일시
opengDt개찰일시
bidMethdNm입찰방식
cntrctCnclsMthdNm계약체결방법

contract.sh (CntrctInfoService) — non-exhaustive list:

FieldMeaning
cntrctNo계약번호 (primary key)
cntrctNm계약명
cntrctMthdNm계약방식
cntrctCnclsDate계약체결일자
cntrctPrce계약금액 (원)
bizrno낙찰자 사업자등록번호
corpNm낙찰자 상호

std.sh --what awarded — non-exhaustive list:

FieldMeaning
bidNtceNo입찰공고번호
opengDate개찰일자
sucsfbidAmt낙찰금액 (원)
sucsfbidRate낙찰률 (%)
bizrno낙찰자 사업자등록번호
corpNm낙찰자 상호

Field names are stable inside each --what mode of std.sh but vary across the four 업무구분 in the non-std endpoints — always inspect a row before assuming a key exists.

Pairs naturally with

  • nts-bizno-cli — resolve every bizrno in awarded records to a tax-type + business-status (KYB on the supplier side).
  • juso-address-cli — geocode 수요기관/공고기관 addresses to a 행정동 + WGS84.
  • kakao-local-cli — map-pin the resolved coordinates for a regional tender map.
  • opendart-cli — cross-check listed-company awardees against their public disclosures (ownership, financials, related-party).
  • kr-holiday-cli — calendar-overlay tenders to detect off-cycle posting (often a sign of urgency or favoritism).
  • tistory-api-cli / velog-cli — publish daily/weekly tender-digest posts (e.g., "AI 입찰 모음 — 2026-04-29").

Implementation notes

  • All endpoints accept both XML and JSON (type=json). This skill always asks for JSON; the wrapper will hard-fail with a clear message if the upstream returns XML (the 조달청 service silently falls back to XML on a serviceKey error).
  • Date params on g2b are 12-digit YYYYMMDDHHMM — the wrapper validates this and provides a sensible default (last 7 days) when neither --from/--to nor --bid-no is given.
  • inqryDiv (조회구분) defaults match what the official portal example shows: 1 for date-window queries, 3 for --bid-no, 4 for --instt-cd, 5 for --dminstt-cd. Override with --inquiry-div if you need 등록 vs. 공고게시 vs. 개찰일자 selection.
  • The keyword search (--keyword) targets getBidPblancListInfoServcPPSSrch — only 용역 has a documented PPS keyword endpoint. For 물품/공사/외자, post-filter with jq 'select(.bidNtceNm | test("키워드"))' instead.
  • The wrapper validates the response.header.resultCode == "00" envelope and surfaces resultMsg on failure — common codes: 30 (서비스키 미등록), 22 (LIMITED_NUMBER_OF_SERVICE_REQUESTS_EXCEEDS — daily quota hit), 11 (NODATA_ERROR — empty result, *not* a failure shape; the wrapper still treats this as an error so you'll know upstream returned nothing).

Examples

See examples/ for end-to-end recipes including: AI-keyword RFP digest, weekly 낙찰 ETL, awardee KYB pipeline, regional construction-contract map.

Key takeaways

  • Three subcommands cover the entire 조달청 OpenAPI public surface. Pick std.sh first when you want one canonical schema; pick bid.sh / contract.sh when you need the per-업무구분 fields the open-standard feed strips.
  • This is the read side of 나라장터; bid submission is intentionally out of scope.
  • Pair with nts-bizno-cli for end-to-end awardee-vetting in a single shell pipeline — the missing piece between "the contract was awarded" and "the awardee is currently a 정상사업자".

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.6%
按下载量换算221

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills