[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77W62NNPAF2SCD7KCQGSHSE":3,"skill-same:01M77W62NNPAF2SCD7KCQGSHSE":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77W62NNPAF2SCD7KCQGSHSE","tender-similarity-analyzer",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftender-similarity-analyzer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# tender-similarity-analyzer\n\n**投标文件查重与分析工具** — 本地多文档交叉查重，精确到段的重复检测。\n\n---\n\n## 🎯 功能定位\n\n| 特性 | 说明 |\n|------|------|\n| 🔍 **核心功能** | 多文档交叉查重，精确到段落 |\n| 📊 **输出报告** | 美化HTML查重报告，含图表展示 |\n| ✍️ **自动修改** | 可选：自动生成修改建议（仅建议，不写入文件） |\n| 🔒 **安全保证** | 文件仅本地读取，网络隔离保护 |\n\n---\n\n## 🚀 快速开始\n\n```\n你: 查重 ~\u002FDesktop\u002F投标文件\nAI: 扫描中... 找到 3 个文件\n    执行查重... ✅ 完成！\n    [发送HTML报告]\n```\n\n---\n\n## 📖 使用指南\n\n### 基本命令\n\n```\n命令格式：\n  查重 \u003C目录路径> [选项]\n\n示例：\n  查重 ~\u002FDesktop\u002F投标项目\n  查重 \u002FUsers\u002Fxxx\u002FDesktop\u002Ftender_files --recursive\n```\n\n### 可选参数\n\n```\n--include docx,pdf    指定文件格式（默认支持所有格式）\n--output \u003C路径>       指定报告输出位置\n```\n\n---\n\n## 📊 报告说明\n\n报告包含：\n- **总体统计** — 文件数、段落数、重复率\n- **核心指标卡** — 重复率进度条、段落对分布、相似度仪表盘\n- **状态判定** — 通过\u002F警告\u002F不合格\n- **重复详情** — 每个重复段落的原文对比\n- **修改建议** — AI生成的改写方向（仅建议，不写入文件）\n\n### 判定标准\n\n| 状态 | 正文重复率 | 说明 |\n|------|-----------|------|\n| ✅ 通过 | \u003C 10% | 符合投标规范 |\n| ⚠️ 警告 | 10% ~ 30% | 建议检查 |\n| ❌ 不合格 | ≥ 30% | 需大幅修改 |\n\n---\n\n## 🔒 安全机制\n\n### ✅ 默认安全保证\n\n执行查重分析时：\n- ✅ 文件仅在本地读取，不上传任何内容\n- ✅ 网络隔离启用（禁用 requests\u002Furllib\u002Fhttpx）\n- ✅ 不修改任何源文件\n- ✅ 不发送任何外部请求\n\n### 📦 依赖安装（首次使用）\n\n首次运行时会提示缺少依赖，需手动安装：\n\n```bash\npip install -r requirements.txt\n```\n\n这是标准Python实践，仅下载包，不涉及文件内容。\n\n---\n\n## 🔧 算法原理（v4 优化版）\n\n### 三层漏斗模型\n\n```\n原始文本\n  ↓\n┌─────────────────────────────────────────┐\n│ 第一层：段落分类 + 短段落合并            │\n│   - 智能识别标题（章节编号\u002F长度\u002F格式）  │\n│   - 过滤标题-vs-标题重复                │\n│   - 短段落合并为完整语义单元            │\n├─────────────────────────────────────────┤\n│ 第二层：N-gram 快速初筛（3-gram）       │\n│   - Jaccard相似度 ≥ 0.25 进入下一轮     │\n├─────────────────────────────────────────┤\n│ 第三层：TF-IDF 精确比对                 │\n│   - 字符级(2-4) TF-IDF向量             │\n│   - 动态阈值(0.30~0.50)自适应长度       │\n└─────────────────────────────────────────┘\n```\n\n### 核心优化点\n\n| 优化 | 说明 |\n|------|------|\n| **标题过滤** | 识别章节编号(第X章\u002F1.1\u002FX.X)、短标题 |\n| **短段落合并** | \u003C50字段落与上下文合并，避免碎片误判 |\n| **动态阈值** | 短文本用高阈值(0.50)，长文本用低阈值(0.32) |\n\n---\n\n## 📁 支持的文件格式\n\n| 格式 | 扩展名 |\n|------|--------|\n| Word文档 | .docx \u002F .doc |\n| PDF | .pdf |\n| 纯文本 | .txt |\n| Markdown | .md |\n\n---\n\n## 📝 命令行用法\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Ftender-similarity-analyzer\n\n# 首次使用先安装依赖\npip install -r requirements.txt\n\n# 扫描本地目录\npython scripts\u002Fmain.py --dir ~\u002FDesktop\u002F投标文件\n\n# 指定文件格式\npython scripts\u002Fmain.py --dir .\u002Fdocs --include docx,pdf\n\n# 指定输出报告\npython scripts\u002Fmain.py --dir ~\u002FDesktop\u002Ftender -o my_report.html\n```\n\n---\n\n## ⚙️ 依赖说明\n\n### 必需依赖\n\n| 依赖 | 用途 |\n|------|------|\n| python-docx | Word文档读取 |\n| pdfplumber | PDF文本提取 |\n| scikit-learn | TF-IDF向量计算 |\n| Jinja2 | 报告模板渲染 |\n\n---\n\n## 📌 常见问题\n\n**Q: 查重需要几个文件？**\nA: 至少2个文件。\n\n**Q: 标题会被算入重复率吗？**\nA: 不会。标题已被智能识别并过滤，只统计正文段落。\n\n**Q: 文件内容会离开本机吗？**\nA: 不会。文件仅本地读取，网络隔离确保无外传。\n\n**Q: 报告保存在哪里？**\nA: 默认保存在当前目录，可通过 `-o` 参数指定。\n\n---\n\n## 🔄 版本历史\n\n| 版本 | 日期 | 更新 |\n|------|------|------|\n| v1.0 | 2026-03-20 | 初始版本 |\n| v1.1 | 2026-03-25 | 标题\u002F正文分类过滤 |\n| v1.2 | 2026-04-01 | 短段落合并、动态阈值 |\n| v2.0 | 2026-04-01 | 美化报告界面 |\n| v2.1 | 2026-04-01 | 移除外部告警，改为手动安装依赖 |\n\n---\n\n**版本:** v2.1  \n**日期:** 2026-04-01\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftender-similarity-analyzer",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tender-similarity-analyzer",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tender-similarity-analyzer",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tender-similarity-analyzer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftender-similarity-analyzer\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]