← 返回 Skills 市场
tobewin

China Bid Generator

作者 ToBeWin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
305
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install china-bid-generator
功能描述
中国招投标文档生成工具。支持招标文件、投标书、技术方案、商务报价等专业文档。符合中国招投标规范,支持政府采购、工程建设、IT/软件、医疗设备、教育装备等行业。招投标、标书、投标书。
使用说明 (SKILL.md)

中国招投标文档生成工具

生成符合中国招投标规范的专业文档。

功能特点

  • 📋 双角色支持:招标方和投标方
  • 🏭 多行业适配:政府采购、工程建设、IT/软件、医疗、教育
  • 📄 专业排版:符合中国招投标规范
  • 🌐 信息整合:支持互联网查询+用户输入+文件素材
  • 📊 数据准确:确保数据准确性
  • 📦 批量生成:支持批量生成多份文档

⚠️ 免责声明

本工具生成的文档仅供参考。 不同AI模型能力不同,文档质量可能有差异。 重要招投标文件请人工审核。 请确保符合当地招投标法规。

支持的文档类型

招标方文档

文档 说明
招标公告 项目简介、资质要求、时间安排
招标文件 详细技术规格、商务条款
技术规格书 产品/服务技术要求
评分标准 评分细则、权重分配

投标方文档

文档 说明
投标书 投标函、报价单、资质证明
技术方案 技术实现、架构设计
商务报价 价格明细、付款方式
案例展示 成功案例、客户评价

使用方式

User: "帮我写一份IT项目的投标书"
Agent: 生成投标书模板

User: "写一份政府招标文件"
Agent: 生成招标文件

User: "帮我写一份医疗设备的技术方案"
Agent: 生成技术方案

工作流程

用户输入(项目信息/要求/素材)
        ↓
1. 信息整合
├─ 用户提供的项目信息
├─ 用户提供的素材文档
├─ OpenClaw web-search查询行业信息
└─ OpenClaw AI模型优化内容
        ↓
2. 文档生成
├─ 选择文档类型(招标/投标)
├─ 选择行业模板
├─ 生成专业内容
└─ 格式化排版
        ↓
3. 输出文档
├─ Word (.docx)
└─ PDF

行业模板

政府采购

  • 严格遵循《政府采购法》
  • 评分标准明确
  • 资质要求详细

工程建设

  • 技术规格详细
  • 图纸要求明确
  • 工期安排清晰

IT/软件

  • 技术架构详细
  • 案例展示重要
  • 价格对比清晰

医疗设备

  • 资质要求高
  • 合规性重要
  • 售后服务详细

Python代码

from docx import Document
from docx.shared import Pt, Cm, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH

class BidGenerator:
    def __init__(self):
        self.templates = {
            'tender': self._tender_template,
            'bid': self._bid_template,
            'technical': self._technical_template,
            'commercial': self._commercial_template
        }
    
    def generate(self, doc_type, project_info, industry, output_path):
        """生成招投标文档"""
        
        template = self.templates.get(doc_type, self._bid_template)
        doc = template(project_info, industry)
        doc.save(output_path)
        return output_path
    
    def _tender_template(self, project_info, industry):
        """招标文件模板"""
        doc = Document()
        
        # 标题
        title = doc.add_heading(f'{project_info["name"]}招标文件', 0)
        title.alignment = WD_ALIGN_PARAGRAPH.CENTER
        
        # 项目概述
        doc.add_heading('一、项目概述', level=1)
        doc.add_paragraph(f'项目名称:{project_info.get("name", "")}')
        doc.add_paragraph(f'项目编号:{project_info.get("id", "")}')
        doc.add_paragraph(f'招标单位:{project_info.get("organization", "")}')
        
        # 技术要求
        doc.add_heading('二、技术要求', level=1)
        for req in project_info.get('requirements', []):
            doc.add_paragraph(f'• {req}')
        
        # 商务条款
        doc.add_heading('三、商务条款', level=1)
        doc.add_paragraph(f'预算金额:{project_info.get("budget", "")}')
        doc.add_paragraph(f'交付时间:{project_info.get("deadline", "")}')
        doc.add_paragraph(f'付款方式:{project_info.get("payment", "")}')
        
        # 评分标准
        doc.add_heading('四、评分标准', level=1)
        
        return doc
    
    def _bid_template(self, project_info, industry):
        """投标书模板"""
        doc = Document()
        
        # 投标函
        title = doc.add_heading('投标书', 0)
        title.alignment = WD_ALIGN_PARAGRAPH.CENTER
        
        doc.add_heading('一、投标函', level=1)
        doc.add_paragraph(f'致:{project_info.get("organization", "")}')
        doc.add_paragraph(f'我方愿意按照招标文件的要求,投标{project_info.get("name", "")}项目。')
        
        # 报价
        doc.add_heading('二、商务报价', level=1)
        
        # 技术方案
        doc.add_heading('三、技术方案', level=1)
        
        # 资质证明
        doc.add_heading('四、资质证明', level=1)
        
        return doc
    
    def _technical_template(self, project_info, industry):
        """技术方案模板"""
        doc = Document()
        
        title = doc.add_heading('技术方案', 0)
        title.alignment = WD_ALIGN_PARAGRAPH.CENTER
        
        doc.add_heading('一、技术架构', level=1)
        doc.add_heading('二、功能模块', level=1)
        doc.add_heading('三、技术路线', level=1)
        doc.add_heading('四、安全方案', level=1)
        doc.add_heading('五、运维方案', level=1)
        
        return doc
    
    def _commercial_template(self, project_info, industry):
        """商务报价模板"""
        doc = Document()
        
        title = doc.add_heading('商务报价', 0)
        title.alignment = WD_ALIGN_PARAGRAPH.CENTER
        
        doc.add_heading('一、报价明细', level=1)
        doc.add_heading('二、付款方式', level=1)
        doc.add_heading('三、售后服务', level=1)
        doc.add_heading('四、质保承诺', level=1)
        
        return doc

# 使用示例
generator = BidGenerator()

project_info = {
    'name': '智慧城市平台建设项目',
    'id': 'ZB2026-001',
    'organization': 'XX市政府',
    'budget': '500万元',
    'deadline': '2026年6月30日',
    'payment': '验收后30日内支付',
    'requirements': [
        '支持100万用户并发',
        '99.9%系统可用性',
        '符合等保三级要求'
    ]
}

generator.generate('bid', project_info, 'it', 'bid.docx')

Notes

  • 专注中国招投标市场
  • 符合《政府采购法》《招标投标法》
  • 支持多种行业模板
  • 专业排版,可直接使用
安全使用建议
This skill appears coherent and limited to generating bid/tender documents. Before installing or using it: (1) don't upload confidential or regulated documents or secrets as 'user-provided materials' because the skill may include content in generated files; (2) if the agent will run the suggested 'pip install', perform it in a virtualenv/container to avoid unexpected package changes to your system; (3) manually review and legally verify any generated government procurement documents before submission (the skill even includes a disclaimer recommending human review); (4) if you require offline operation or are uncomfortable with web-searches, confirm the agent's web-access settings before use.
功能分析
Type: OpenClaw Skill Name: china-bid-generator Version: 1.0.0 The skill is a legitimate tool for generating Chinese bidding and tender documents. The Python code in SKILL.md uses standard libraries (python-docx) to populate document templates based on user-provided project information, and the instructions are clearly aligned with the stated purpose without any signs of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description match the actions in SKILL.md: creating .docx/.pdf bid documents. Declared requirement of python3 and the listed Python libraries (python-docx, fpdf2) is consistent with that purpose.
Instruction Scope
Instructions specify combining user input, user-provided documents, and OpenClaw web-search to generate and format documents. That is within scope, but the SKILL.md allows web searches and ingestion of user files — users should avoid submitting sensitive or confidential material. The instructions do not direct reading of unrelated system files or environment variables.
Install Mechanism
No formal install spec is present (instruction-only skill). The front-matter includes a dependencies string ('pip install python-docx fpdf2'), so an agent/operator might run pip at runtime. This is reasonable for the task but means packages will be fetched at install/run time; run in an isolated environment if concerned.
Credentials
The skill requests no environment variables, no credentials, and no config paths — proportional and appropriate for document generation.
Persistence & Privilege
always is false and there is no request to modify other skills or system-wide settings. Autonomous invocation is allowed by default but not combined with elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install china-bid-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /china-bid-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
中国招投标文档生成工具:支持招标/投标双角色,政府采购/工程建设/IT/医疗/教育多行业,专业排版
元数据
Slug china-bid-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

China Bid Generator 是什么?

中国招投标文档生成工具。支持招标文件、投标书、技术方案、商务报价等专业文档。符合中国招投标规范,支持政府采购、工程建设、IT/软件、医疗设备、教育装备等行业。招投标、标书、投标书。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 305 次。

如何安装 China Bid Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install china-bid-generator」即可一键安装,无需额外配置。

China Bid Generator 是免费的吗?

是的,China Bid Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

China Bid Generator 支持哪些平台?

China Bid Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 China Bid Generator?

由 ToBeWin(@tobewin)开发并维护,当前版本 v1.0.0。

💬 留言讨论