← 返回 Skills 市场
142
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install cnc-quote-system
功能描述
CNC智能报价系统 - 基于RAG的制造零件报价工具。支持材料检索、成本估算、风险预警。Use when user needs CNC part quoting, manufacturing cost estimation, or knowledge base retrieval.
使用说明 (SKILL.md)
CNC智能报价系统
🦫 让AI代替人工完成制造零件报价
基于RAG的智能检索系统,10分钟完成传统需要数天的报价工作。
作者信息
| 项目 | 信息 |
|---|---|
| 作者 | Timo |
| 邮箱 | [email protected] |
| 标识 | 海狸 (Beaver) - 靠得住、能干事、在状态 |
核心功能
| 功能 | 说明 |
|---|---|
| 🔍 智能检索 | 向量检索 + 规则匹配双引擎 |
| 🧠 知识库 | 基于RAG的智能报价 |
| ⚡ 风险控制 | 价格异常检测与预警 |
| 📊 案例匹配 | 历史报价案例相似度检索 |
系统架构
用户输入需求
↓
HybridRetriever(混合检索器)
├─ VectorRetriever(向量检索)
└─ RuleRetriever(规则匹配)
↓
QuoteEngine(报价引擎)
├─ 材料成本计算
├─ 工时估算
└─ 风险评估
↓
输出报价 + 风险报告
文件结构
cnc-quote-rag-system/
├── SKILL.md # 本文件
├── SKILL_BOM.md # 物料清单
├── config.json # 配置文件
├── requirements.txt # 依赖列表
├── cases.json # 案例库
├── cnc_quote_engine.py # 报价引擎
├── hybrid_retriever.py # 混合检索器
├── case_retriever.py # 案例检索器
└── risk_control.py # 风险控制器
快速开始
安装依赖
pip install -r requirements.txt
使用示例
from cnc_quote_engine import CNCQuoteEngine
from hybrid_retriever import HybridRetriever
from risk_control import RiskController
# 初始化
engine = CNCQuoteEngine()
retriever = HybridRetriever(mode="hybrid")
risk_ctrl = RiskController()
# 计算报价
quote = engine.calculate(
material="AL6061",
dimensions=[100, 50, 10],
surface="anodize",
quantity=10
)
print(f"单价: ¥{quote.unit_price}")
print(f"交期: {quote.lead_time}天")
核心模块
| 模块 | 文件 | 功能 |
|---|---|---|
| 报价引擎 | cnc_quote_engine.py |
成本计算+风险评估 |
| 混合检索器 | hybrid_retriever.py |
向量+规则双引擎 |
| 案例检索 | case_retriever.py |
历史案例匹配 |
| 风险控制 | risk_control.py |
价格异常检测 |
检索模式
| 模式 | 说明 | 适用场景 |
|---|---|---|
vector_only |
纯向量检索 | 语义相似查询 |
rule_only |
纯规则匹配 | 精确条件查询 |
hybrid |
混合检索 | 综合场景(推荐) |
性能指标
| 指标 | 数值 |
|---|---|
| 检索速度 | \x3C200ms |
| 准确率 | >95% |
| 支持材料 | 50+ |
| 案例库 | 可扩展 |
风险等级
| 等级 | 分数范围 | 说明 |
|---|---|---|
| LOW | 80-100 | 安全,可直接执行 |
| MEDIUM | 60-79 | 需注意,建议复核 |
| HIGH | 40-59 | 高风险,必须检查 |
| CRITICAL | 0-39 | 严重风险,禁止执行 |
License
MIT License - Copyright (c) 2026 Timo
🦫 海狸 (Beaver) | 靠得住、能干事、在状态
安全使用建议
This package appears coherent and implements a local CNC quoting and retrieval tool. Before installing, consider: (1) review requirements.txt and only install packages you trust (faiss-cpu is a heavy native dependency and may require build tools); (2) run the code in a sandbox or virtual environment to avoid contaminating your system Python; (3) verify or edit config.json and populate cases.json with real data as needed (cases.json is empty in the bundle); (4) if you need remote embedding/search backends, inspect or modify code first—there are no hidden network endpoints, but adding such features later would require new review.
功能分析
Type: OpenClaw Skill
Name: cnc-quote-system
Version: 1.0.0
The skill bundle implements a CNC manufacturing quotation system using RAG-based retrieval and cost estimation logic. The code in files such as `cnc_quote_engine.py`, `hybrid_retriever.py`, and `risk_control.py` contains standard business logic for calculating material costs, matching historical cases, and flagging pricing anomalies. There is no evidence of data exfiltration, unauthorized network access, or malicious instructions in the documentation (SKILL.md). The dependencies listed in `requirements.txt` are standard libraries for data processing and vector search.
能力评估
Purpose & Capability
Name/description (CNC quoting, material cost, risk warnings) match the included modules (cnc_quote_engine.py, hybrid_retriever.py, case_retriever.py, risk_control.py) and the declared dependencies (FAISS, numpy, pandas) used for retrieval and numeric work.
Instruction Scope
SKILL.md only instructs installing Python deps and using local engine/retriever/risk controller APIs. Runtime behavior reads local config.json and cases.json, and does not instruct reading unrelated files, contacting unknown endpoints, or exfiltrating data.
Install Mechanism
There is no platform install spec; SKILL.md tells users to pip install -r requirements.txt which pulls packages from PyPI (faiss-cpu, numpy, pandas). This is expected for a Python skill but carries normal package-install risks (native binaries, heavy deps like faiss). No downloads from unknown URLs or extract-from-URLs are present.
Credentials
The skill requests no environment variables, credentials, or config paths. All file I/O is limited to included local files (config.json, cases.json). No unrelated secrets or external-service tokens are required.
Persistence & Privilege
Skill does not request always:true and makes no changes to other skills or system-wide agent settings. It is user-invocable and allows autonomous invocation (platform default) but contains no elevated persistence behavior.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cnc-quote-system - 安装完成后,直接呼叫该 Skill 的名称或使用
/cnc-quote-system触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
🦫 独立发布 - CNC智能报价系统 | Author: Timo ([email protected])
元数据
常见问题
CNC Quote System 是什么?
CNC智能报价系统 - 基于RAG的制造零件报价工具。支持材料检索、成本估算、风险预警。Use when user needs CNC part quoting, manufacturing cost estimation, or knowledge base retrieval. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。
如何安装 CNC Quote System?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cnc-quote-system」即可一键安装,无需额外配置。
CNC Quote System 是免费的吗?
是的,CNC Quote System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
CNC Quote System 支持哪些平台?
CNC Quote System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 CNC Quote System?
由 Timo2026(@timo2026)开发并维护,当前版本 v1.0.0。
推荐 Skills