← Back to Skills Marketplace
military bidding email
by
zhangpengle
· GitHub ↗
· v0.2.8
· MIT-0
249
Downloads
0
Stars
0
Active Installs
13
Versions
Install in OpenClaw
/install military-bidding-email
Description
军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install military-bidding-email - After installation, invoke the skill by name or use
/military-bidding-email - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is military bidding email?
军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。 It is an AI Agent Skill for Claude Code / OpenClaw, with 249 downloads so far.
How do I install military bidding email?
Run "/install military-bidding-email" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is military bidding email free?
Yes, military bidding email is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does military bidding email support?
military bidding email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created military bidding email?
It is built and maintained by zhangpengle (@zhangpengle); the current version is v0.2.8.
More Skills