← Back to Skills Marketplace
zhangpengle

goverment bidding email

by zhangpengle · GitHub ↗ · v0.1.4 · MIT-0
cross-platform ⚠ suspicious
135
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install goverment-bidding-email
Description
政府采购商机专用推报工具。根据商机数据自动生成 Excel 并通过 SMTP 发送邮件。当用户说"govb-email"、"政府采购商机邮件"、"推送政府采购商机"、"政采商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 govb 业务逻辑。
README (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_* 环境变量)
  • 使用文件锁防止并发执行
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install goverment-bidding-email
  3. After installation, invoke the skill by name or use /goverment-bidding-email
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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 官方业务流程 - 增加详细帮助文档、触发词说明与配置方法
Metadata
Slug goverment-bidding-email
Version 0.1.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is goverment bidding email?

政府采购商机专用推报工具。根据商机数据自动生成 Excel 并通过 SMTP 发送邮件。当用户说"govb-email"、"政府采购商机邮件"、"推送政府采购商机"、"政采商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 govb 业务逻辑。 It is an AI Agent Skill for Claude Code / OpenClaw, with 135 downloads so far.

How do I install goverment bidding email?

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

Is goverment bidding email free?

Yes, goverment bidding email is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does goverment bidding email support?

goverment bidding email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created goverment bidding email?

It is built and maintained by zhangpengle (@zhangpengle); the current version is v0.1.4.

💬 Comments