smithery/sounder25

Detect Duplicate Files

Identify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion.

Installation

$ npx skills add smithery/sounder25 --skill detect-duplicate-files

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/sounder25 · top by installs.

npx skills add smithery/sounder25

Browse all from smithery/sounder25

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents antigravity

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,658 B
  • docs SUMMARY.md 132 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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 duplicates
  • check for duplicate files
  • scan 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

  1. recurses through directory (respecting excludes).
  2. Calculates SHA256 hash of every file.
  3. Groups by hash.
  4. Filters groups with count < 2.
  5. Generates Markdown report.

Use Cases

  1. Cleanup: Reducing repo size by removing accidental copies of large assets.
  2. Refactoring: Finding code that was copy-pasted instead of shared.