Local Multi-Document Similarity Analyzer
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_509b3ac1/tender-similarity-analyzer into my AI assistant.
About this skill
Problem
In bidding, proposal review, and document compliance workflows, the hard part is usually not “whether text is duplicated,” but where it is duplicated, which file it resembles, and how severe the overlap is. Whole-document similarity scores can be misleading because headings, numbering, and short boilerplate phrases may look similar even when the main body is original. Manual paragraph-by-paragraph comparison becomes difficult once the corpus includes multiple .docx, .pdf, .txt, or .md files. Local Multi-Document Similarity Analyzer is built for this cross-document comparison problem: it aims to produce paragraph-level, reviewable results instead of a single opaque score.
How It Works
The skill focuses on body-text detection, paragraph alignment, similarity judgment, and report generation:
- Inputs: it accepts at least
2files and can processWord,PDF, plain text, andMarkdowndocuments. - Body filtering: chapter numbers, short headings, and template-like fragments are identified and filtered to reduce noise from non-content text.
- Paragraph normalization: overly short fragments may be merged with surrounding context to avoid false positives from isolated phrases.
- Similarity scoring: paragraph similarity is estimated using
TF-IDFvectorization and related heuristics, with dynamic thresholds such as a higher threshold for short text and a lower threshold for longer text. - Report output: it generates an HTML report with overall statistics, duplication progress indicators, paragraph-pair distributions, status judgments, and side-by-side comparison of duplicated paragraphs.
- Revision suggestions: optional rewrite guidance can be generated, but it is advisory only and is not written back into the source files.
The report classifies results by body-text duplication rate: below 10% is treated as passing, 10%~30% as warning, and 30% or above as failing. These thresholds are best used as a triage signal rather than a final compliance decision.
Boundaries and Caveats
This skill is suited to local, offline analysis of bidding documents, technical proposals, specification files, or compliance materials. Files are read locally by default and are not uploaded to external services, and the source files are not modified. First use may require installing Python dependencies such as python-docx, pdfplumber, scikit-learn, and Jinja2.
Results depend on text extraction quality, especially for scanned PDFs, complex tables, image-based text, or heavily customized layouts. The duplication thresholds are engineering heuristics; formal tender decisions should still be reviewed by the responsible business owner. Rewrite suggestions are editorial aids, not legal or compliance opinions.
Use Cases
- Before submission, a bidding team keeps multiple technical proposal files locally and uses paragraph-level similarity checks to find overlaps with past files.
- A proposal owner receives several tender drafts and needs an HTML report showing body duplication rate, repeated paragraph comparisons, and status judgment.
- A compliance reviewer checks .docx/.pdf/.md bid documents offline to confirm that body-text duplication does not exceed 30%.
- A technical editor compares multiple AI-assisted proposal versions and requests advisory rewrite guidance without modifying source files.
Best For
- Tender project managers who need to confirm that multiple technical bids do not cross risky duplication thresholds before submission.
- Bid review specialists who verify duplicated paragraphs across .docx/.pdf/.md files and export HTML evidence.
- Compliance and risk officers who use pass/warning/fail thresholds to screen bid documents for high-similarity fragments.
- Technical writers who compare multiple proposal versions and apply advisory rewrite suggestions without editing source files directly.
Related Skills
Reads Excel/CSV files, cleans and analyzes them, then generates a charted Excel summary and interactive HTML dashboard.
Scrapes JD search results for product titles, prices, sales, and stores, then exports verified data to UTF-8 CSV.
An A-share market monitor using Sina Finance API for real-time quotes, price and percentage alerts, daily logging, and scheduled checks.
Turn pasted or queried Xiaohongshu notes into a research memo covering title patterns, structure, quoted comments, and follow-up angles; public lookups are optional and confirmed before paid execution.