jscpd
✓Finds duplicate code blocks and analyzes duplication metrics across files. Use when identifying copy-pasted code, measuring technical debt, or preparing for refactoring.
Installation
SKILL.md
Copy-paste detector for JavaScript, TypeScript, and many other languages.
| --min-tokens N | Minimum tokens for duplicate detection | | --min-lines N | Minimum lines for duplicate detection | | --threshold N | Fail if duplication % exceeds threshold | | --ignore "glob" | Ignore patterns (comma-separated) | | --reporters type | Output format: console, json, html | | --output path | Output directory for reports |
Finds duplicate code blocks and analyzes duplication metrics across files. Use when identifying copy-pasted code, measuring technical debt, or preparing for refactoring. Source: knoopx/pi.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/knoopx/pi --skill jscpd Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/knoopx/pi --skill jscpd- Source
- knoopx/pi
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-15
- Updated
- 2026-02-18
Quick answers
What is jscpd?
Finds duplicate code blocks and analyzes duplication metrics across files. Use when identifying copy-pasted code, measuring technical debt, or preparing for refactoring. Source: knoopx/pi.
How do I install jscpd?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/knoopx/pi --skill jscpd Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/knoopx/pi
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-15