Agent skill · Content & Marketing

content-similarity-checker

Compare document similarity using TF-IDF, cosine similarity, and Jaccard index. Use for plagiarism detection, duplicate finding, or content matching.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill content-similarity-checker --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/analysis/content-similarity-checker/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Content Similarity Checker Compare documents and text for similarity using multiple algorithms. ## Features - **Cosine Similarity**: TF-IDF based comparison - **Jaccard Similarity**: Set-based comparison - **Levenshtein Distance**: Edit distance for short texts - **Batch Comparison**: Compare multiple documents - **Similarity Matrix**: Pairwise comparison of all documents - **Reports**: Detailed similarity reports ## Quick Start ```python from similarity_checker import SimilarityChecker checker = SimilarityChecker() # Compare two texts score = checker.compare( "The quick brown fox jumps over the lazy dog", "A fast brown fox leaps over a sleepy dog" ) print(f"Similarity: {score:.2%}") # Compare documents score = checker.compare_files("doc1.txt", "doc2.txt") ``` ## CLI Usage ```bash # Compare two texts python similarity_checker.py --text1 "Hello world" --text2 "Hello there world" # Compare two files python similarity_checker.py --file1 doc1.txt --file2 doc2.txt # Compare all files in folder python similarity_checker.py --folder ./documents/ --output matrix.csv # Use specific algorithm python similarity_checker.py --file1 doc1.txt --file2 doc2.txt --method jaccard # Find similar doc

What's inside
Steps it walks through
  1. Features
  2. Quick Start
  3. CLI Usage
  4. API Reference
  5. SimilarityChecker Class
  6. Similarity Methods
  7. Cosine Similarity (Default)
  8. Jaccard Similarity
  9. Levenshtein (Edit Distance)
  10. TF-IDF + Cosine
  11. Batch Comparison
  12. Compare to Corpus
  13. Similarity Matrix
  14. Find Duplicates
Ships with 1 file
  • metadata.json
Commands it runs
Compare two texts
python similarity_checker.py --text1 "Hello world" --text2 "Hello there world"
Compare two files
python similarity_checker.py --file1 doc1.txt --file2 doc2.txt
Compare all files in folder
python similarity_checker.py --folder ./documents/ --output matrix.csv
Use specific algorithm
python similarity_checker.py --file1 doc1.txt --file2 doc2.txt --method jaccard
Find similar documents (threshold)
python similarity_checker.py --folder ./documents/ --threshold 0.7
More from claude-skill-registry
All skills →
About this skill
What does the content-similarity-checker skill do?

Compare document similarity using TF-IDF, cosine similarity, and Jaccard index. Use for plagiarism detection, duplicate finding, or content matching.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill content-similarity-checker --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going