一键导入
detect-duplicate-files
Identify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Identify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A QA gate that validates potentially destructive or irreversible actions before execution.
Detect and prevent state-visibility violations across execution contexts within a single transaction.
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Prepares isolated sub-workspaces for parallel agent execution. Copies context and generates specific mission instructions for "Worker" agents.
Structured logging and analysis of execution failures to prevent recurrence.
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
| name | Detect Duplicate Files |
| description | Identify duplicate files across the workspace using SHA256 hashing to reduce redundancy and confusion. |
| version | 1.0.0 |
| author | Antigravity Skills Library |
| created | "2026-01-16T00:00:00.000Z" |
| leverage_score | 2/5 |
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.
find duplicatescheck for duplicate filesscan redundancy| 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 |
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`