
Description
jscpd is an agent skill that teaches an AI agent to run jscpd, a copy-paste detector for source code in more than 220 languages. The skill covers how to detect exact, renamed and near-miss duplicated code, how to measure the percentage of duplication, and how to find refactoring hotspots. Its quick start shows the commands to run jscpd with the AI reporter, a compact output designed for agents. You can add ignore patterns for folders such as node_modules and dist, and limit the scan to particular formats such as JavaScript and TypeScript. For a second, noisier pass, the skill describes an option that ignores identifiers and sets a minimum token count, to find copies that differ only in names and values. The skill warns that this second pass produces more hits, so each one should be reviewed before acting on it. jscpd is the open-source project behind the detector, and its repository is on GitHub. The skill is listed as free on skills.sh and is intended for developers who want to check a codebase for duplication.…
Highlights
- Detects duplicates in 220+ languages
- Reports exact, renamed and near-miss copies
- Measures duplication percentages
- Agent-friendly compact output
Ratings & Reviews
No ratings yet
Be the first to rate jscpd.
People also visit
jscpd FAQ
What does the jscpd skill do?
It teaches an AI agent to run the jscpd copy-paste detector and read its output.
How do I install it?
Run: npx skills add https://github.com/kucherenko/jscpd --skill jscpd
Is it free?
Yes. The skill is listed as free on skills.sh, and jscpd is open source on GitHub.
Which languages does it support?
The skill describes jscpd as supporting more than 220 programming languages.
What does the second pass do?
It ignores identifiers and uses a lower token minimum to find copies that differ only in names and values. The skill says to review each hit.
Which security audits does it have?
Gen Agent Trust Hub: Pass. Socket: Warn. Snyk: Pass.
What are the best jscpd alternatives?
Popular alternatives to jscpd include kucherenko/jscpd, fallow and write-coding-standards-from-file. See all jscpd alternatives

















