AIRS-具身智能招投标采集器

v1.0.6

AIRS 具身智能 天眼查 招投标 数据查询工具。 查询企业在天眼查平台的招投标/中标公示信息,导出结构化 CSV 报表,基于浏览器自动化技术实现。 Keywords: AIRS, 具身智能, 天眼查, 招投标, embodied intelligence, bidding, tianyancha

6· 196·1 current·1 all-time
byairs-git@airs-guest

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for airs-guest/embodied-bidding-tracker.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "AIRS-具身智能招投标采集器" (airs-guest/embodied-bidding-tracker) from ClawHub.
Skill page: https://clawhub.ai/airs-guest/embodied-bidding-tracker
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install embodied-bidding-tracker

ClawHub CLI

Package manager switcher

npx clawhub@latest install embodied-bidding-tracker
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the implementation: the code uses puppeteer-core to automate Chrome, searches Tianyancha, parses results and writes CSV/Excel. Declared requirements (Node >=18, Chrome) align with the actual code and dependencies.
!
Instruction Scope
Runtime instructions require you to close Chrome and restart it with --remote-debugging-port and a user-data-dir, then log in to Tianyancha manually. This is necessary for puppeteer-core to attach to an existing Chrome, but it elevates local attack surface (exposes the DevTools protocol on a TCP port and creates/uses an alternate profile in a temp dir). The SKILL.md and antiCrawl code also direct you to manually complete captchas/logins and the tool reads/writes the local assets and data files; these behaviors are within scope but the remote debugging instruction is the primary security concern.
Install Mechanism
No remote download/install spec in the registry manifest; installation is local via npm (package.json and package-lock.json included). Dependencies are typical (puppeteer-core, xlsx, winston, csv-writer). Using npm is standard but brings the usual supply-chain considerations — the package-lock references a registry mirror (npmmirror) which is common in some regions but you should verify registry/trust if that matters to you.
Credentials
The skill does not request environment credentials or config paths beyond an optional TIANYANCHA_DEBUG_PORT. All environment access (reading assets MD, writing data/*.csv, logging to data/tool.log) is proportional to the stated functionality.
Persistence & Privilege
The skill is not always-enabled, does not claim elevated platform privileges, and only writes to its own project/data and assets files. It does not attempt to modify other skills or system-wide agent settings.
Assessment
This skill appears to do what it says (browser-driven scraping of Tianyancha and CSV export). Before installing/running, consider the following: 1) Run in an isolated environment (VM, container, or throwaway account) rather than on your main workstation. 2) Do NOT reuse your primary Chrome profile: follow the instructions but point --user-data-dir to a dedicated directory you control. 3) Be aware that enabling Chrome remote debugging (default port 9222) exposes the DevTools protocol on localhost — ensure no untrusted local users/processes can access that port, and bind it to localhost only. 4) Inspect package.json and package-lock.json, run npm install yourself and consider npm audit / reviewing dependencies. 5) Review the included assets file (assets/具身智能中游企业数据库.md) for any sensitive data before use. 6) The tool expects manual intervention when anti‑bot checks trigger; this is normal for scraping but may require human handling of captchas and can trigger site rate limits or ToS issues. 7) If you need stronger guarantees, run the tool inside a disposable VM or container and use a throwaway Tianyancha account.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c39aweejde9chebs78jrsn184zmdw
196downloads
6stars
7versions
Updated 1w ago
v1.0.6
MIT-0

When to Use

当用户需要以下场景时触发此技能:

  • 查询、导出企业在天眼查平台上的招投标/中标/投标公示信息
  • 批量查询一批企业的招投标历史记录
  • 按时间范围和金额筛选企业中标信息
  • 基于企业名单文件进行招投标数据查询
  • 交互式查询单个企业的招投标记录

典型用户请求:

  • "查询宇树科技的招投标记录"
  • "导出这些企业的中标信息"
  • "采集 2026 年第一季度的招投标数据"
  • "搜索乐聚机器人的中标项目"

Requirements

系统要求

  • Node.js: >= 18.0.0
  • 操作系统: macOS / Windows / Linux
  • Chrome 浏览器: 已安装并可运行

前置准备

1. 安装 Node.js

如未安装,请访问 https://nodejs.org/ 下载 LTS 版本。

验证安装:

node --version  # 应显示 v18 或更高版本
npm --version

2. 启动 Chrome 远程调试

⚠️ 必须先关闭所有 Chrome 窗口,然后运行以下命令:

macOS:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/chrome_debug_profile

Windows:

"C:\Program Files\Google\Chrome\Application\chrome.exe" \
  --remote-debugging-port=9222 \
  --user-data-dir=%TEMP%\chrome_debug_profile

Linux:

google-chrome \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/chrome_debug_profile

3. 登录天眼查

Chrome 启动后,访问 https://www.tianyancha.com 并完成登录。

Quick Start

# 进入脚本目录
cd scripts

# 安装依赖
npm install

# 检查环境状态
node cli.js status

# 搜索并确认企业信息
node cli.js search

# 下载招投标记录
node cli.js download --start-date 2026-01-01 --end-date 2026-03-31

# 交互式查询单个企业
node cli.js query "宇树科技"

Commands

status - 环境状态检查

检查 Node.js、Chrome 连接、npm 依赖等环境状态。

node cli.js status

search - 企业搜索确认

从企业名单搜索天眼查信息,补全企业全称和链接。

本地优先匹配: 如果企业在 assets/具身智能中游企业数据库.md 中已有「天眼查企业全称」和「天眼查链接」,则直接使用本地数据,不再访问天眼查搜索。仅对缺少天眼查信息的企业才发起在线搜索。

# 使用默认企业名单
node cli.js search

# 使用自定义名单
node cli.js search --company-file /path/to/custom.md

输出: data/company_list.csv

download - 批量下载招投标记录

基于已确认的企业列表,批量下载招投标记录。

# 使用默认参数(本季度)
node cli.js download

# 指定时间范围和金额门槛
node cli.js download \
  --start-date 2026-01-01 \
  --end-date 2026-03-31 \
  --min-amount 100

参数:

参数类型默认值说明
--start-datestring本季度第一天开始日期 (YYYY-MM-DD)
--end-datestring今天结束日期 (YYYY-MM-DD)
--min-amountnumber0最低金额门槛(万元)

输出: data/bidding_records.csv

query - 交互式单企业查询

交互式查询单个企业的招投标记录,支持模糊匹配。

# 交互式输入
node cli.js query

# 直接指定企业名称
node cli.js query "宇树科技"

# 指定查询参数
node cli.js query "宇树科技" --start-date 2026-01-01 --min-amount 50

交互流程:

  1. 输入企业名称(支持简称/全称/模糊匹配)
  2. 在本地企业数据库(assets/具身智能中游企业数据库.md)中匹配,命中则直接使用已有的天眼查全称和链接,无需在线搜索
  3. 如有多个匹配,显示列表供选择
  4. 输入时间范围和金额门槛
  5. 自动采集并保存结果

Data Format

输入:企业名单(Markdown 表格)

| 索引 | 企业名称 | 所属领域 | 产品名称 | 城市 | 天眼查企业全称 | 天眼查链接 |
|------|----------|----------|----------|------|----------------|------------|
| 1 | 宇树科技 | 本体 | Unitree H1 | 杭州 | 宇树科技股份有限公司 | https://... |

输出 1:企业列表(CSV)

路径:data/company_list.csv

字段说明
索引企业编号
企业简称(MD)输入的简称
企业全称(天眼查)天眼查完整名称
公司ID天眼查公司ID
天眼查链接企业详情页 URL
所属领域行业领域
产品名称主要产品
城市所在城市
搜索状态已确认/未找到/失败

输出 2:招投标记录(CSV)

路径:data/bidding_records.csv

字段说明
企业名称天眼查企业全称
项目名称招投标项目标题
公告类型中标公告/招标公告等
采购人招采单位
中标金额原始金额文本
发布日期YYYY-MM-DD
天眼查详情页链接项目详情 URL

Error Handling

错误场景错误信息解决方案
Chrome 未连接未检测到 Chrome 远程调试服务按前置准备步骤启动 Chrome
需要安全验证天眼查平台安全验证已触发在 Chrome 窗口中手动完成验证码/滑块
企业未找到未找到企业"XXX"的搜索结果检查企业名称准确性,或尝试简称
npm 依赖缺失Cannot find package运行 npm install
天眼查信息缺失该企业没有天眼查信息先运行 node cli.js search

Performance Guidelines

  • 单次查询建议: 不超过 200 家企业
  • 时间范围建议: 不超过 1 年,可分季度采集
  • 请求频率: 自动 3-6 秒间隔,避免触发风控
  • 安全验证: 如遇频率过高(>5次/50家),建议暂停 30 分钟

Expected Output

企业搜索确认报告

企业搜索完成:共 161 家国内企业
  已确认: 161 家
  未找到: 0 家
  海外跳过: 16 家

招投标记录摘要

招投标记录下载完成
  时间范围: 2026-01-01 至 2026-03-31
  金额门槛: 无门槛
  有记录企业: 28 / 161 家
  符合条件记录: 156 条

Comments

Loading comments...