← Back to Skills Marketplace
n1ke9yd

公共资源交易信息收集

by N1ke9yd · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
110
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ggzy-collect
Description
从公共资源交易网站(淄博)抓取项目信息并保存到Excel。用于收集特定日期范围内的招标公告、中标信息等信息。触发场景:(1) 用户要求查询或收集公共资源交易信息 (2) 需要从ggzyjy.zibo.gov.cn抓取项目数据 (3) 需要将项目列表导出为Excel文件
README (SKILL.md)

ggzy_collect - 公共资源交易信息收集

快速开始

  1. 使用浏览器访问目标网站
  2. 设置日期筛选条件
  3. 翻页收集项目信息
  4. 导出到Excel文件

网站信息

  • 网站: http://ggzyjy.zibo.gov.cn:8082/
  • 栏目: 公共资源子站 -> 建设工程 -> 招标公告/中标公示
  • URL模式: http://ggzyjy.zibo.gov.cn:8082/jyxx/002001/gonggongziyuan.html?Paging={页码}

工作流程

1. 打开浏览器并导航

使用浏览器工具打开目标页面:

  • 使用 profile="clawdbot-cn" 或 profile="chrome"(如果用户已连接Chrome扩展)
  • 初始URL: http://ggzyjy.zibo.gov.cn:8082/jyxx/002001/gonggongziyuan.html?Paging=1

2. 设置日期筛选

页面通常有筛选器,可以按日期过滤:

  • 找到日期筛选控件(通常在页面顶部)
  • 设置开始日期和结束日期
  • 点击"查询"或"确定"按钮

3. 翻页收集数据

  • 点击"下一页"按钮继续浏览
  • 每天一个表格,包含:项目地点、项目名称、发布时间
  • 当遇到日期早于目标范围时停止

4. 数据格式

每个项目包含以下字段:

  • 项目地点: 如"市本级"、"张店区"等
  • 项目名称: 招标/中标项目标题
  • 发布时间: 格式如 "2026-03-20"

5. 保存到Excel

使用Node.js脚本创建Excel文件:

const XLSX = require('xlsx');

const data = [
  ['项目地点', '项目名称', '发布时间'],
  ['市本级', 'XXX项目', '2026-03-20'],
  // ... 更多数据
];

const worksheet = XLSX.utils.aoa_to_sheet(data);
const workbook = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(workbook, worksheet, '项目列表');

XLSX.writeFile(workbook, 'D:\\ggzyjy.zb\\output.xlsx');

或者使用VBS脚本创建Excel。

注意事项

  • 翻页时等待页面加载完成
  • 检查项目日期,确保在目标日期范围内
  • Excel文件路径可以使用用户指定的路径
  • 如果页面有反爬机制,适当增加等待时间
Usage Guidance
本技能总体上是内聚且透明的:它仅帮助你在浏览器中抓页面并将表格写成本地 Excel。安装前请注意: - 确认你的环境有 Node.js,并手动用官方 npm 安装 xlsx 包(npm install xlsx),以避免从不可信源获取依赖; - 检查并选择一个安全的本地输出路径,防止意外覆盖重要文件;脚本对路径使用了 Windows 风格的反斜杠,非 Windows 系统可能需要修改; - 如果你打算让代理自动化浏览器(使用扩展或 profile),确保该扩展和浏览器授权可信,因为浏览器自动化会访问你的浏览数据; - 遵守目标网站的使用/爬虫政策与法律法规(有些政府站点可能限制自动爬取); - 虽然随附脚本很短且可读,但始终在受控环境下先审阅并在本地测试脚本再授予自动执行权限。 按照上述建议操作,风险较低且功能与描述一致。
Capability Analysis
Type: OpenClaw Skill Name: ggzy-collect Version: 1.0.0 The skill bundle is a legitimate tool designed to scrape public resource trading data from a specific government website (ggzyjy.zibo.gov.cn) and save it to an Excel file. The Node.js script (scripts/create_excel.js) and the instructions in SKILL.md perform standard web scraping and file system operations without any evidence of data exfiltration, malicious execution, or unauthorized access.
Capability Assessment
Purpose & Capability
技能名称和描述说明是从淄博公共资源交易网站抓取项目并导出为 Excel,所需的步骤(用浏览器浏览、筛选、翻页、把数据写到 Excel)与此完全一致。唯一欠缺的是没有声明需要 Node.js 以及 npm 包(xlsx),但这属于实现细节而非功能不符。
Instruction Scope
SKILL.md 的运行说明仅涉及打开目标网站、设置日期筛选、翻页收集条目并将结果保存为 Excel。没有指示访问不相关系统文件、外部可疑端点或收集多余凭证。说明提醒处理反爬机制、等待页面加载,范围清晰可控。
Install Mechanism
技能没有 install spec(这是最低风险类别)。但随附脚本 require('xlsx'),意味着运行脚本需要 Node.js 环境和安装 xlsx 包;这一依赖未在说明中声明或自动安装,建议在安装/运行前手工确认并从官方 npm 源安装依赖。
Credentials
技能不请求任何环境变量、凭证或配置路径。唯一与环境相关的操作是将 Excel 写入用户指定的本地路径,这在功能上是合理且必要的。请注意脚本使用 Windows 风格的反斜杠路径解析('\\'),在非 Windows 环境下可能报错。
Persistence & Privilege
技能没有请求常驻(always)或修改其他技能/系统设置的权限。默认的可由模型调用/autonomous invocation 未与其他高权限或宽泛凭证请求结合,因此没有额外特权风险。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ggzy-collect
  3. After installation, invoke the skill by name or use /ggzy-collect
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本
Metadata
Slug ggzy-collect
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 公共资源交易信息收集?

从公共资源交易网站(淄博)抓取项目信息并保存到Excel。用于收集特定日期范围内的招标公告、中标信息等信息。触发场景:(1) 用户要求查询或收集公共资源交易信息 (2) 需要从ggzyjy.zibo.gov.cn抓取项目数据 (3) 需要将项目列表导出为Excel文件. It is an AI Agent Skill for Claude Code / OpenClaw, with 110 downloads so far.

How do I install 公共资源交易信息收集?

Run "/install ggzy-collect" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 公共资源交易信息收集 free?

Yes, 公共资源交易信息收集 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 公共资源交易信息收集 support?

公共资源交易信息收集 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 公共资源交易信息收集?

It is built and maintained by N1ke9yd (@n1ke9yd); the current version is v1.0.0.

💬 Comments