Dupe Clean

    1

    Find and safely quarantine near-duplicate documents using Jaccard similarity and reversible file moves.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    dupe-clean

    Example session with this skill installed

    Scan my ~/Documents/proposals folder for near-duplicates with a threshold of 0.7 and save a report called audit.md.

    • Read your context and instructions
    • Compiled the dupe-clean
    • Generated the document

    I have scanned the ~/Documents/proposals directory. 14 files were analyzed, 3 groups of near-duplicates were identified, and 4 files are recommended for quarantine.

    Duplicate Analysis Report: proposals

    GroupKeeper FileQuarantined FilesSimilarityReclaimableReason
    GRP_01proposal_v3_final.docxproposal_v2.docx, proposal_v1.docx0.94, 0.88450 KBNewest modification date
    GRP_02acme_draft.mdacme_copy.md0.9812 KBLongest text content
    GRP_03template.txtold/template_backup.txt1.005 KBShortest file path

    Ignored Files

    • img_001.png: Unsupported file type.
    • brief.txt: Too short (32 words).
    • notes.pdf: PDF format not supported in v0.1.0.

    Next steps

    1. Review audit.md to ensure proposal_v2.docx isn't needed for its version history.
    2. Run the quarantine command: python3 scripts/dupe_clean.py ~/Documents/proposals --quarantine ~/Documents/quarantine_proposals.
    3. Keep the receipt.json in the quarantine folder in case you need to use --restore later.

    proposal_v3_final.docx

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Find near-duplicate business documents in a folder - contracts, proposals and invoices saved with small edits - group them by content similarity, recommend which copy to keep, and move the rest to a quarantine folder with a receipt so nothing is ever deleted. Deterministic stdlib CLI, offline, free, no API key.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    No PDF or image support. Skips files under 50 words. Does not process code or system files. Quarantine folder must be outside the target path.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    The skill focuses on text-heavy formats, specifically .txt, .md, and .docx files. To ensure accurate similarity scoring, it skips files with fewer than 50 words and does not currently support PDFs or images.

    Unlike a standard 'delete' command, this skill moves redundant files to an external quarantine folder and generates a `receipt.json` file. This allows you to perform a full, atomic restoration to the original directory if you realize a file was moved in error.

    The skill uses Jaccard similarity, which compares the unique sets of words between documents. This means it can identify files that are 90% identical even if they have different filenames or small edits, which standard duplicate finders often miss.

    You will receive the Python-based utility script, comprehensive documentation on configuration flags, and a template for interpreting the similarity reports. It is designed to run in any Python environment with access to your local file system.

    Yes, you can customize the Jaccard similarity threshold and set specific path exclusions via flags. This ensures the skill doesn't process sensitive folders or group documents that you prefer to keep separate despite content similarities.

    New in Workflow Automation

    Free