Detect Duplicate Files
БесплатноБез исполняемых скриптовНе проверенIdentify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion.
от Sounder25★ 29 звёзд на GitHubОб этом скилле
SKILL-014: Detect Duplicate Files
Overview
Scans the workspace for identical files (by content, not name) to detect redundancy, copy-paste errors, or accidental forks. Generates a report suggesting deduplication actions.
Trigger Phrases
find duplicatescheck for duplicate filesscan redundancy
Inputs
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--workspace-path |
string | No | Current directory | Root to scan |
--min-size |
int | No | 0 | Minimum file size in bytes to check |
--exclude |
string[] | No | node_modules, .git, bin, obj |
Directories to ignore |
Outputs
1. DUPLICATE_REPORT.md
Summary of found duplicates:
# Duplicate File Report
**Total Duplicates:** 12
**Wasted Space:** 4.5 MB
## Group 1 (Hash: a1b2...)
- `src/utils/math.ts` (Original?)
- `src/legacy/math_copy.ts`
## Group 2 (Hash: c3d4...)
- `config/settings.json`
- `deploy/settings.prod.json`
Implementation
Script: find_duplicates.ps1
- recurses through directory (respecting excludes).
- Calculates SHA256 hash of every file.
- Groups by hash.
- Filters groups with count < 2.
- Generates Markdown report.
Use Cases
- Cleanup: Reducing repo size by removing accidental copies of large assets.
- Refactoring: Finding code that was copy-pasted instead of shared.
Установить Detect Duplicate Files в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Detect Duplicate Files?
Identify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion.
Как установить скилл Detect Duplicate Files?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Detect Duplicate Files запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic