← 返回 Skills 市场
goverment bidding email
作者
zhangpengle
· GitHub ↗
· v0.1.4
· MIT-0
135
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install goverment-bidding-email
功能描述
政府采购商机专用推报工具。根据商机数据自动生成 Excel 并通过 SMTP 发送邮件。当用户说"govb-email"、"政府采购商机邮件"、"推送政府采购商机"、"政采商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 govb 业务逻辑。
使用说明 (SKILL.md)
Govb Email
自动抓取政府采购商机并发送邮件报告。
环境变量要求
该技能必须在 .env 中配置以下核心参数才能激活:
EMAIL_TO,EMAIL_CC,EMAIL_FROM: 收发件地址EMAIL_SMTP_HOST,EMAIL_SMTP_PORT: SMTP 服务器信息EMAIL_SMTP_USER,EMAIL_SMTP_PASSWORD: 认证信息EMAIL_SUBJECT_PREFIX,EMAIL_BODY_INTRO: 邮件模板配置EMAIL_RECIPIENT_NAME,EMAIL_SENDER_NAME: 称呼和签名
快速使用
/govb-email→ 发送昨日报告(默认)/govb-email --help→ 显示帮助信息/govb-email --today→ 发送今日报告/govb-email --date 2026-03-23→ 发送指定日期报告/govb-email --keywords "模型,仿真"→ 使用自定义关键词筛选/govb-email --to [email protected]→ 测试发送至指定收件人
参数说明
| 参数 | 说明 | 默认值 |
|---|---|---|
| 无参数 | 默认昨日 | 启用 |
--today |
今日 | - |
--date YYYY-MM-DD |
指定日期 | - |
--keywords WORDS |
关键词,逗号分隔 | govb_fetcher 配置的默认关键词 |
--to ADDRESS |
测试发送至指定收件人 | .env 中的配置 |
数据源
- 北京政采(zbcg-bjzc.zhongcy.com)
- 湖南政采(ccgp-hunan.gov.cn)
触发词
发送邮件、推送报告、邮件通知、政采商机通报
配置文件
配置文件位于 ~/.config/govb-email/.env,可配置以下参数:
| 环境变量 | 用途 |
|---|---|
EMAIL_TO |
收件人,逗号分隔 |
EMAIL_CC |
抄送人,逗号分隔 |
EMAIL_FROM |
发件人 |
EMAIL_RECIPIENT_NAME |
收件人称呼 |
EMAIL_SENDER_NAME |
发件人签名 |
EMAIL_SUBJECT_PREFIX |
邮件主题前缀 |
EMAIL_BODY_INTRO |
邮件正文开头 |
EMAIL_SMTP_HOST |
SMTP 服务器 |
EMAIL_SMTP_PORT |
SMTP 端口 |
EMAIL_SMTP_USER |
SMTP 用户名 |
EMAIL_SMTP_PASSWORD |
SMTP 密码 |
创建配置文件可复制 .env.example 为 ~/.config/govb-email/.env 后修改。
技术说明
- 使用 SMTP 直接发送邮件(配置 EMAIL_SMTP_* 环境变量)
- 使用文件锁防止并发执行
安全使用建议
This package appears to implement exactly what it says (fetch bids, build Excel, send via SMTP) and requires SMTP credentials — which is expected — but there are inconsistencies you should resolve before installing. Actions to consider: 1) Verify source and provenance: ask the publisher for a homepage or repository URL and inspect govb-fetcher (the separate fetcher package) before running it. 2) Confirm install instructions: registry metadata and SKILL.md disagree about install; prefer installing from a known repository or vet the included pyproject.toml. 3) Protect credentials: only place SMTP credentials in .env if you trust the code and SMTP provider; restrict file permissions. 4) Test carefully: run with --to pointing to a test address and with test SMTP account. 5) If you cannot validate govb-fetcher or the package origin, avoid giving real SMTP credentials or installing into production. If you want, provide the source for govb-fetcher or the intended install command and I can re-check with that context.
功能分析
Type: OpenClaw Skill
Name: goverment-bidding-email
Version: 0.1.4
The skill bundle is a legitimate tool designed to fetch government procurement data and send reports via SMTP. The code in govb_email/fetcher.py and govb_email/config.py implements the stated functionality transparently, using standard libraries like smtplib for secure email transmission and argparse for command-line interaction. No evidence of malicious intent, unauthorized data access, or prompt injection was found.
能力评估
Purpose & Capability
The skill's name/description (government bidding email reporter) matches its code: it generates reports and sends mail via SMTP. Requiring a govb-fetcher component is reasonable because fetching is delegated to a separate fetcher module. However the registry metadata claims 'Required env vars: none' while SKILL.md and the code require many EMAIL_* variables — this mismatch is unexpected and reduces trust.
Instruction Scope
SKILL.md and the Python code are focused: they read config from a .env (cwd or ~/.config/govb-email/.env), call govb_fetcher.fetcher to get data, save an Excel file to an output dir, and send email via SMTP. There is no evidence in the included files of reading unrelated system secrets or exfiltrating data to unexpected endpoints. The fetcher dependency will perform network fetches of the public bidding sites (expected for the purpose).
Install Mechanism
Registry says 'No install spec / instruction-only' but SKILL.md metadata contains an install hint ('pip install -e {baseDir}') and a pyproject.toml + script entrypoint are present. This is inconsistent. There is no explicit external download URL or high-risk installer, but the skill depends on an external package/binary govb-fetcher that is not listed in pyproject dependencies — a potential supply-chain / availability issue. Confirm how the user is expected to install govb-fetcher and the package source.
Credentials
The code legitimately needs SMTP credentials and email configuration (EMAIL_SMTP_HOST, PORT, USER, PASSWORD, plus EMAIL_FROM/TO etc.). That is proportionate to sending mail. However the registry metadata claiming 'no required env vars' contradicts the SKILL.md and code which require many EMAIL_* secrets. Also storing SMTP credentials in a plain .env file is typical but has security implications — ensure the .env is stored with appropriate file permissions and you trust the SMTP account.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and only writes expected files (Excel output via fetcher-provided output dir) and a lock file under /tmp. Its use of a lockfile and config files is normal for a CLI tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install goverment-bidding-email - 安装完成后,直接呼叫该 Skill 的名称或使用
/goverment-bidding-email触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.4
- Improved internal logic in govb_email/fetcher.py; no user-facing features changed.
- No updates required for documentation or usage.
v0.1.3
- Improved stability in govb_email/fetcher.py to enhance data fetching or processing.
- No changes to user-facing commands or configuration.
- Updated internal logic only; overall functionality and usage remain unchanged.
v0.1.2
- No functional or documentation changes in this version.
- Version and metadata remain unchanged; no file modifications detected.
v0.1.1
- 全新发布:提供政府采购商机自动推报邮件工具
- 支持通过环境变量配置收发件地址和 SMTP 邮件服务器信息
- 可按昨日、今日、指定日期、关键词等条件筛选并发送商机报告
- 报告自动生成 Excel 并通过邮件发送,适用于 govb 官方业务流程
- 增加详细帮助文档、触发词说明与配置方法
元数据
常见问题
goverment bidding email 是什么?
政府采购商机专用推报工具。根据商机数据自动生成 Excel 并通过 SMTP 发送邮件。当用户说"govb-email"、"政府采购商机邮件"、"推送政府采购商机"、"政采商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 govb 业务逻辑。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。
如何安装 goverment bidding email?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install goverment-bidding-email」即可一键安装,无需额外配置。
goverment bidding email 是免费的吗?
是的,goverment bidding email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
goverment bidding email 支持哪些平台?
goverment bidding email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 goverment bidding email?
由 zhangpengle(@zhangpengle)开发并维护,当前版本 v0.1.4。
推荐 Skills