← 返回 Skills 市场
zhangpengle

goverment bidding fetcher

作者 zhangpengle · GitHub ↗ · v0.1.10 · MIT-0
cross-platform ⚠ suspicious
214
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install goverment-bidding-fetcher
功能描述
地方政府采购商机自动抓取工具(非军队采购)。从北京中建云智、湖南政府采购网等地方政府采购平台抓取招标公告,按关键词过滤,补全采购人、代理机构、预算、时间节点等详情,生成 Excel 报表。与 milb-fetcher(军队采购)互补,本工具专注地方政府渠道。
使用说明 (SKILL.md)

govb-fetcher

从多个地方政府采购平台自动抓取招标公告,关键词过滤后生成 Excel 报表。

快速使用

  • /govb-fetcher → 抓取今日数据(默认)
  • /govb-fetcher --help → 显示帮助信息

日期选择(三选一,不指定则默认今日)

  • /govb-fetcher --today → 抓取今日
  • /govb-fetcher --yesterday → 抓取昨日
  • /govb-fetcher --date 2026-03-30 → 抓取指定日期

输出控制

  • --no-detail → 仅输出列表字段(更快,跳过详情接口,Excel 只保留有值的列)
  • --output /path/to/file.xlsx → 指定输出路径

筛选参数

  • --keywords "关键词1,关键词2" → 覆盖核心关键词
  • --exclude-keywords "词1,词2" → 覆盖排除关键词
  • --high-value-keywords "词1,词2" → 覆盖高价值关键词(影响推荐等级)

凭证更新

  • /govb-fetcher --set-cookie --source bjzc --bearer "Bearer xxx" --session "YGCG_TBSESSION=xxx; JSESSIONID=xxx; jcloud_alb_route=xxx"

数据源

标识 平台 认证
bjzc 北京中建云智政府采购网 需 Cookie + Bearer
hnzc 湖南政府采购网 免认证

推荐等级

  • :命中高价值关键词(模型/仿真/数据/AI/软件等)或含「意向」
  • :命中「系统」关键词
  • :其他匹配项

触发词

政府采购商机、地方政府采购、地方招标、北京政府采购、湖南政府采购、政府商机

配置文件

配置文件搜索顺序(高优先级在前):

  1. 当前目录 .env
  2. ~/.config/govb-fetcher/.env
环境变量 用途
FETCHER_BJZC_BEARER_TOKEN 北京政采 Bearer token
FETCHER_BJZC_TBSESSION 北京政采 YGCG_TBSESSION(自动刷新)
FETCHER_BJZC_JSESSIONID 北京政采 JSESSIONID
FETCHER_BJZC_ALB_ROUTE 北京政采负载均衡路由
FETCHER_KEYWORDS 核心关键词,逗号分隔
FETCHER_EXCLUDE_KEYWORDS 排除关键词,逗号分隔
FETCHER_HIGH_VALUE_KEYWORDS 高价值关键词,逗号分隔
FETCHER_OUTPUT_DIR Excel 输出目录(默认 ~/.openclaw/workspace/govb-bidding
FETCHER_USE_PROXY 是否启用代理,true / false(默认 false
FETCHER_PROXY 代理地址,格式 http://user:pass@host:port
安全使用建议
This skill's code generally matches its description (scraping Beijing and Hunan procurement sites and creating Excel reports). Before installing: 1) Understand it needs site credentials for the Beijing source (Bearer token and cookies) — only provide these if you trust the source. 2) The tool will write session tokens into a .env file (local .env or ~/.config/govb-fetcher/.env); treat those files as sensitive and remove/revoke tokens after use if needed. 3) The registry omitted declaring these env vars — that's an inconsistency; ask the publisher or inspect the code yourself before supplying secrets. 4) Consider running the package in a sandbox/container or on a throwaway account, and inspect pyproject.toml and the code paths if you plan to install system-wide. 5) If you must use a proxy, ensure it is trusted (attacker-controlled proxy could capture credentials and scraped data).
功能分析
Type: OpenClaw Skill Name: goverment-bidding-fetcher Version: 0.1.10 The govb-fetcher skill is a legitimate tool designed to automate the collection of government bidding information from Beijing and Hunan procurement platforms. It manages authentication credentials locally in a .env file and includes logic to automatically refresh session cookies from the target server (zbcg-bjzc.zhongcy.com). The implementation in govb_fetcher/fetcher.py and govb_fetcher/config.py is transparent, follows standard scraping practices, and lacks any indicators of malicious intent, data exfiltration to third parties, or prompt injection attacks.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
The package code (fetcher.py + config.py) implements exactly the described behavior (fetch pages from Beijing and Hunan procurement sites, filter by keywords, build Excel). Requiring cookies/Bearer for the Beijing source is coherent with the stated purpose. However, the registry metadata claims no required env vars while SKILL.md and the code expect multiple FETCHER_* environment variables (credentials, keywords, proxy settings), which is an inconsistency.
Instruction Scope
Runtime instructions and code stay within the scraping/reporting scope: they call only the described vendor domains (zbcg-bjzc.zhongcy.com and ccgp-hunan.gov.cn), read .env/config and environment variables, and produce an Excel file. One behavior to note: the code automatically writes/refreshed session token (FETCHER_BJZC_TBSESSION) back to the chosen .env file, which persists credentials to disk without additional confirmation.
Install Mechanism
No install spec is present in the registry, but the package contains a pyproject.toml and SKILL.md recommends 'pip install -e .'. Installation appears to be a normal local pip install of this Python package (dependencies: requests, openpyxl, python-dotenv). There are no external download URLs or scripts that fetch arbitrary third-party payloads in the manifest — lower-risk but the missing formal install entry in registry is an inconsistency.
Credentials
The code expects several sensitive environment variables (Bearer token and multiple cookie/session values for the Beijing site) and will persist them to a local/global .env file. The registry declares no required env vars; this mismatch means users may inadvertently provide credentials without realizing. Also, FETCHER_PROXY allows routing traffic through a user-provided proxy (legitimate for some users but could be abused if set to an attacker-controlled proxy).
Persistence & Privilege
always:false and the skill does not request system-wide privileges or modify other skills. It does persist its own configuration/credentials to either the current directory .env or ~/.config/govb-fetcher/.env (expected for this tool), which is normal but worth noting for credential hygiene.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install goverment-bidding-fetcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /goverment-bidding-fetcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.10
- Minor internal update to govb_fetcher/fetcher.py. - No user-facing changes. - Documentation and usage remain the same.
v0.1.9
- 修复配置解析及环境变量加载逻辑,增强兼容性 - 优化抓取器主程序中的参数注入方式,提升代码健壮性
v0.1.8
Version 0.1.8 - 新增代理支持:可通过环境变量 `FETCHER_USE_PROXY` 和 `FETCHER_PROXY` 配置抓取时的代理设置。 - 文档(SKILL.md)同步更新,详细说明代理相关配置项。 - 配置模块和抓取逻辑加入对代理设置的处理。
v0.1.7
- Removed the test_cookie.py file. - Updated govb_fetcher/fetcher.py with code changes and improvements.
v0.1.6
No file changes detected for version 0.1.6. - No updates in functionality or documentation. - All features and usage remain unchanged.
v0.1.5
- Improved: Enhanced the core fetcher logic in govb_fetcher/fetcher.py. - Bugfixes and code optimizations for more reliable government bidding data extraction. - No changes to user interface or usage methods.
v0.1.4
govb-fetcher v0.1.4 - 增加详细 SKILL.md,全面说明功能、参数、配置、数据源及使用方法 - 支持多个地方政府采购平台(北京、湖南),可自动抓取并筛选招标公告 - 新增关键词、排除关键词及高价值关键词自定义过滤 - 支持命令行日期选择、Excel 输出、筛选及凭证更新 - 优化数据源凭证配置和自动刷新逻辑 - 提供多级推荐等级并完善配置文件说明
元数据
Slug goverment-bidding-fetcher
版本 0.1.10
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

goverment bidding fetcher 是什么?

地方政府采购商机自动抓取工具(非军队采购)。从北京中建云智、湖南政府采购网等地方政府采购平台抓取招标公告,按关键词过滤,补全采购人、代理机构、预算、时间节点等详情,生成 Excel 报表。与 milb-fetcher(军队采购)互补,本工具专注地方政府渠道。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 214 次。

如何安装 goverment bidding fetcher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install goverment-bidding-fetcher」即可一键安装,无需额外配置。

goverment bidding fetcher 是免费的吗?

是的,goverment bidding fetcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

goverment bidding fetcher 支持哪些平台?

goverment bidding fetcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 goverment bidding fetcher?

由 zhangpengle(@zhangpengle)开发并维护,当前版本 v0.1.10。

💬 留言讨论