military bidding email
CLAWHUB · Unverified
军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。 Skill: military bidding email Owner: zhangpengle Summary: 军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。 Tags: latest:0.2.8 Version history: v0.2.8 | 2026-04-05T13:36:23.610Z | auto - Updated logic in milb_email/fetcher.py (details not shown). - No user-facing feature or interface changes documented. - All usag
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 0.2.8release · Apr 5, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 0.2.8release
- 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.
Observed Apr 5, 2026 · source
Install and run
Setup complexity: medium.
clawhub skill install s17f8zn362dqdvydaw7pkk45es83ghqw:military-bidding-email- Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhangpengle-military-bidding-email/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
42,117 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: milb-email
description: 军工采购(军采)商机专用推报工具。汇总三大军采平台数据,生成 Excel 并通过 SMTP 发送邮件报告。与政府采购(政采)工具无关,仅处理军队采购渠道。当用户说"milb-email"、"军工商机邮件"、"推送军工商机"、"军工商机通报"时触发。注意:这不是通用邮件客户端,仅用于执行 milb 业务逻辑。
metadata: {"openclaw":{"emoji":"📧","requires":{"bins":["milb-email","milb-fetcher"]},"install":"pip install -e {baseDir}"}}
---
# Milb 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`: 称呼和签名
## 快速使用
- `/milb-email` → 发送昨日报告(默认,解决军队采购网白天更新的问题)
- `/milb-email --help` → 显示帮助信息
- `/milb-email --today` → 发送今日报告(获取各渠道最新数据)
- `/milb-email --date 2026-03-23` → 发送指定日期报告
- `/milb-email --keywords "模型,仿真"` → 使用自定义关键词筛选
- `/milb-email --to test@example.com` → 测试发送至指定收件人
## 参数说明
| 参数 | 说明 | 默认值 |
|------|------|--------|
| 无参数 | 默认昨日 | 启用 |
| `--today` | 今日(获取各渠道最新数据) | - |
| `--date YYYY-MM-DD` | 指定日期 | - |
| `--keywords WORDS` | 关键词,逗号分隔 | 配置中的默认关键词 |
| `--to ADDRESS` | 测试发送至指定收件人 | .env 中的配置 |
## 数据源
- 全军武器装备采购信息网
- 军队采购网
- 国防科大采购信息网
## 触发词
发送邮件、推送报告、邮件通知、商机通报
## 配置文件
配置文件位于 `milb_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 密码 |
创建配置文件可复制 `milb_email/.env.example` 为 `milb_email/.env` 后修改。
## 技术说明
- 数据来源:全军武器装备采购信息网、军队采购网、国防科大采购信息网(均为军采渠道,非政采)
- 使用 SMTP 直接发送邮件(配置 EMAIL_SMTP_* 环境变量)
- 使用文件锁防止并发执行_meta.json
{
"ownerId": "kn7egg3a3hx7nftrgxb1s3aj7s838fg5",
"slug": "military-bidding-email",
"version": "0.2.8",
"publishedAt": 1775396183610
}CLAUDE.md
# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## Project Overview `milb-email` is a Chinese military bidding opportunity email reporting tool. It fetches bidding information from three data sources, generates Excel reports, and sends them via email. ## Commands ```bash # Install package pip install -e . # Run the tool (sends yesterday's report by default) milb-email # Send today's report (fetches latest data from all channels) milb-email --today # Send report for specific date milb-email --date 2026-03-23 # Use custom keywords to filter opportunities milb-email --keywords "模型,仿真,AI" # Test send to specific recipient milb-email --to test@example.com ``` ## Architecture **Core Modules:** - `milb_email/fetcher.py` - Main entry point, handles CLI arguments, fetches data, sends emails - `milb_email/config.py` - Configuration loader, reads from `.env` file **Data Flow:** 1. CLI parses arguments (`--date`, `--today`, `--keywords`, `--to`) 2. Calls `milb_fetcher.fetcher.fetch_all_bidding()` to fetch data from three sources 3. Generates email body with high-recommendation items 4. Sends email via SMTP (smtplib) 5. Attaches Excel report from `/home/ubuntu/.openclaw/workspace/military-bidding/` **Email Sending:** - SMTP via smtplib (SMTP_SSL, port 465) - File lock at `/tmp/bidding_email.lock` prevents concurrent execution ## Configuration All config via `.env` file (see `.env.example`): - Email addresses: `EMAIL_TO`, `EMAIL_CC`, `EMAIL_FROM` - SMTP: `EMAIL_SMTP_HOST`, `EMAIL_SMTP_PORT`, `EMAIL_SMTP_USER`, `EMAIL_SMTP_PASSWORD` - Templates: `EMAIL_SUBJECT_PREFIX`, `EMAIL_BODY_INTRO`, `EMAIL_RECIPIENT_NAME`, `EMAIL_SENDER_NAME`
skill-card.md
## Description: A military procurement opportunity reporting skill that gathers data from three military procurement channels, generates an Excel report, and sends the report by SMTP email. This skill is ready for commercial/non-commercial use. ## Publisher: [zhangpengle](https://clawhub.ai/user/zhangpengle) ### License/Terms of Use: MIT-0 ## Use Case: External users and operators use this skill to collect Chinese military procurement opportunities, filter them by date or keywords, and send a summarized email report with an Excel attachment. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can send outbound email without an interactive confirmation step, which may cause unintended reports to reach configured recipients. Mitigation: Use a dedicated SMTP account or app password, keep EMAIL_TO and EMAIL_CC limited to intended recipients, and test with the --to option before routine use. Risk: Broad trigger phrases may invoke the reporting workflow when the user intended a different email-related action. Mitigation: Review the command and selected date, keywords, and recipient settings before execution, and prefer adding a preview or confirmation step in production workflows. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/zhangpengle/skills/military-bidding-email) - [ClawHub publisher profile](https://clawhub.ai/user/zhangpengle) ## Skill Output: **Output Type(s):** [Text, Files, Shell commands, Configuration] **Output Format:** [Plain-text email summary with an Excel report attachment and CLI status output] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires SMTP and recipient configuration before sending reports.] ## Skill Version(s): 0.2.8 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
pyproject.toml
[project]
name = "milb-email"
version = "0.1.0"
description = "军工采购商机邮件发送工具"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"requests",
"pandas",
]
[project.scripts]
milb-email = "milb_email.fetcher:main"
[tool.setuptools.packages.find]
where = ["."]AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-zhangpengle-military-bidding-email. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about military bidding email. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-zhangpengle-military-bidding-email, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/zhangpengle/skills/military-bidding-email",
"sourceUrl": "https://clawhub.ai/zhangpengle/skills/military-bidding-email",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:23:01.337Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-zhangpengle-military-bidding-email/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhangpengle-military-bidding-email/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T12:23:01.337Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceUrl": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:23:01.337Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.2.8",
"href": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceUrl": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-05T13:36:23.610Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-zhangpengle-military-bidding-email/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-zhangpengle-military-bidding-email/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.2.8",
"description": "- 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.",
"href": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceUrl": "https://clawhub.ai/zhangpengle/military-bidding-email",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-05T13:36:23.610Z",
"isPublic": true
}
]
}Record generated Nov 25, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-zhangpengle-military-bidding-email/run-check
