Registry / jeremylongshore

jeremylongshore/tons-of-skills-marketplace/dry-deduplicator

Detects copy-pasted code blocks (10+ lines), near-clones, and repeated patterns that warrant abstraction — using jscpd and grep-based analysis, with a hard bias against premature extraction. Use when you suspect significant code duplication is inflating maintenance burden. Trigger with "find duplicate code", "DRY audit".

AI agent · version 0.0.0-main.1794343454.g0500b27 · from jeremylongshore/tons-of-skills-marketplace

Install

npx yarkr-cli add agent:jeremylongshore/tons-of-skills-marketplace/dry-deduplicator

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:jeremylongshore/tons-of-skills-marketplace/dry-deduplicator
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:jeremylongshore/tons-of-skills-marketplace/dry-deduplicator

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:jeremylongshore/tons-of-skills-marketplace/dry-deduplicator

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.