# Detect copy-pasted code hotspots before refactors, audits, or review

> Use jscpd when an agent needs to scan a codebase for duplicated blocks and turn clone findings into a focused cleanup or review queue. The skill is about duplication detection and hotspot reporting, not general linting, testing, or automated refactoring by itself.

- Skill: `agentskillexchange/detect-copy-pasted-code-hotspots-before-refactors-audits-or-` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/detect-copy-pasted-code-hotspots-before-refactors-audits-or-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/detect-copy-pasted-code-hotspots-before-refactors-audits-or-/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/detect-copy-pasted-code-hotspots-before-refactors-audits-or-

---


# Detect copy-pasted code hotspots before refactors, audits, or review

Use jscpd when an agent needs to scan a codebase for duplicated blocks and turn clone findings into a focused cleanup or review queue. The skill is about duplication detection and hotspot reporting, not general linting, testing, or automated refactoring by itself.

## Prerequisites

Node.js and npm

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.npmjs.com/package/jscpd

## Documentation

- https://github.com/kucherenko/jscpd#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/detect-copy-pasted-code-hotspots-before-refactors-audits-or-review/)

