← 返回 Skills 市场
military bidding email
作者
zhangpengle
· GitHub ↗
· v0.2.8
· MIT-0
249
总下载
0
收藏
0
当前安装
13
版本数
在 OpenClaw 中安装
/install military-bidding-email
功能描述
军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。
安全使用建议
Key points to consider before installing or running this skill:
- The skill requires SMTP credentials (EMAIL_SMTP_USER and EMAIL_SMTP_PASSWORD) and email addresses to operate. These are sensitive: anyone with these credentials can send email via that SMTP server. Only supply them if you trust the code and the environment.
- Metadata inconsistencies: registry metadata lists no required env vars, yet the SKILL.md and code require several EMAIL_* values. Confirm the actual required environment variables and where the .env must live before use.
- Configuration path mismatch: SKILL.md suggests milb_email/.env, but the code looks in the current working directory or ~/.config/milb-email/.env. CLAUDE.md mentions an attachment path under ~/.openclaw/workspace. Clarify which paths will be read/written to avoid accidental exposure of other files.
- External dependency: the fetch logic depends on a separate package/binary 'milb_fetcher' (not included). Verify the provenance and content of milb_fetcher before installing; it is responsible for retrieving data from the three military procurement sites and could perform additional network operations.
- Review attachments: the code will attach an Excel file from ~/.openclaw/workspace/military-bidding/… ensure that directory only contains files you expect to be sent.
- To raise confidence: request or inspect the milb_fetcher source, update registry metadata to declare required env vars explicitly, and fix SKILL.md/docs so the expected .env path and install instructions match the code. If you cannot verify those, treat the skill as potentially risky to run with real SMTP credentials or in environments containing sensitive files.
功能分析
Type: OpenClaw Skill
Name: military-bidding-email
Version: 0.2.8
The skill bundle is a specialized tool for aggregating military procurement data from Chinese platforms and sending reports via SMTP. The code in milb_email/fetcher.py and milb_email/config.py implements standard functionality for data processing, Excel generation, and email transmission using smtplib. While it handles sensitive SMTP credentials and accesses specific workspace directories, its behavior is strictly aligned with the stated purpose in SKILL.md and lacks any indicators of malicious intent, obfuscation, or unauthorized data exfiltration.
能力评估
Purpose & Capability
The code implements the claimed functionality (fetch data, build Excel, send via SMTP). However the registry metadata lists no required environment variables while SKILL.md and the code require multiple EMAIL_* settings (SMTP host/port/user/password, from/to, templates). The skill also depends on an external package/binary 'milb_fetcher' (imported as milb_fetcher.fetcher) which is not provided in the bundle; requiring that external binary is reasonable for fetching, but the omission from top-level environment/requirements declarations is an inconsistency.
Instruction Scope
Runtime instructions and code read configuration from .env files and use paths outside the package: code searches for .env in current working directory or ~/.config/milb-email/.env, SKILL.md instructs creating milb_email/.env, and CLAUDE.md refers to an attachment path under ~/.openclaw/workspace/military-bidding/. These mismatched config paths and the use of a workspace path outside the package are inconsistent and expand the skill's scope beyond the advertised 'package-local' configuration.
Install Mechanism
No official install spec is present in registry metadata, but SKILL.md contains a metadata line recommending 'pip install -e {baseDir}' and a pyproject.toml is included so editable pip install is possible. This is a reasonable install method (local package), but the registry's lack of an explicit install instruction is an omission to be aware of.
Credentials
The tool legitimately needs SMTP credentials and email addresses to send reports; these are present in SKILL.md and get_email_config(). However the top-level skill requirements list zero environment variables, which is misleading. The skill will require EMAIL_SMTP_PASSWORD (sensitive) and other EMAIL_* secrets — users must recognize they are giving an SMTP credential capable of sending email. The code also reads config from home directories and may access attachment files in ~/.openclaw/workspace, which grants the skill access to files outside its own directory.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide persistent privileges. It uses a /tmp lock file to prevent concurrent runs and reads/writes user-space files (workspace path), but it does not modify other skills or agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install military-bidding-email - 安装完成后,直接呼叫该 Skill 的名称或使用
/military-bidding-email触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.8
- Updated logic in milb_email/fetcher.py (details not shown).
- No user-facing feature or interface changes documented.
- All usage instructions and requirements remain unchanged.
v0.2.7
- 明确区分军队采购(军采)与政府采购(政采),强调仅处理军采数据。
- 更新技能描述和技术说明,突出三大军采平台归属,排除政采混淆。
- 无业务逻辑变更。
v0.2.6
- Updated internal configuration handling in milb_email/config.py.
- No user-facing changes or modifications to documentation or feature set.
v0.2.5
- 移除 himalaya 邮件发送支持,现仅支持 SMTP 方式发送邮件
- 更新依赖和说明文档,反映不再需要 himalaya,简化安装指引
- 技术说明调整,明确邮件发送统一通过 SMTP 账户进行
- 修改触发描述,强调仅为军工采购业务专用
v0.2.4
- Improved error handling and logging in the data fetching process (`fetcher.py`) to better deal with fetch failures.
- No changes to user-facing commands or configuration.
- Internal update only; skill functionality and usage remain unchanged.
v0.2.3
- Added a new file: CLAUDE.md
- No changes to core functionality.
v0.2.2
- Improved logic in milb_email/fetcher.py.
- Internal code changes; no user-facing feature updates.
v0.2.1
No visible changes detected in this version.
- No file or documentation updates were made between versions 0.2.1 and the previous release.
v0.2.0
- Now requires the external tool milb-fetcher (updated dependency list).
- Cleaned up build artifacts by removing outdated milb_email.egg-info files.
- No end-user command or usage changes.
- Internal dependency and packaging improvements.
v0.1.4
Major update: Improved configurability, modularization, multi-method email sending.
- Skill renamed from "military-bidding-email" to "milb-email" with updated command triggers.
- Now uses a dedicated `.env` file for all email and business logic configuration.
- Supports multiple email sending backends: himalaya CLI (preferred) and fallback to SMTP.
- Command-line interface expanded; parameters like `--today`, `--date`, `--to`, and custom keywords now supported.
- Architecture modularized and files reorganized for clarity and maintainability.
- More detailed documentation, explicit trigger words, and enhanced usage guidance.
v0.1.2
No code or documentation changes detected in this version.
- Version bumped to 0.1.2 with no file updates or visible modifications.
v0.1.1
- Improved code logic or functionality in fetcher.py.
- No user-facing feature or usage changes.
v0.1.0
Initial release: Automatically collects and sends military procurement bidding opportunity reports by email.
- Scrapes latest tender data from three official military procurement websites.
- Filters opportunities matching company capabilities.
- Generates Excel summary and sends via email to specified recipients.
- Supports date and keyword-based customization via CLI and Python interface.
- Email content includes top recommended opportunities from each source.
元数据
常见问题
military bidding email 是什么?
军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 249 次。
如何安装 military bidding email?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install military-bidding-email」即可一键安装,无需额外配置。
military bidding email 是免费的吗?
是的,military bidding email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
military bidding email 支持哪些平台?
military bidding email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 military bidding email?
由 zhangpengle(@zhangpengle)开发并维护,当前版本 v0.2.8。
推荐 Skills