dedup-finder SKILL.md skillA
dedup-finder from skyzhao1223/zspace-cli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add skyzhao1223/zspace-cli/dedup-finder@git:20261009.657293aPins git:20261009.657293a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- skyzhao1223/zspace-cli
- Path
skills/dedup-finder/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261009.657293a, committed Oct 9, 2026
- First version recorded
- Sep 20, 2026
- Size
- 22,633 bytes
- Repository stars
- 27
- License
- MIT
Use when 用户想找 NAS 上的重复文件 — "哪些文件重复了"、"帮我找重复照片/视频/文档"、"磁盘被重复文件占满了"、"下载了好几次同一个东西"、"精确去重不要误删"。只读扫描用三级指纹(size → 头部64KB → 全量 sha1)做内容级精确去重,零误报;每组给出「保留哪个/删哪个」的启发式建议,LLM 出删除计划,用户确认后由 Agent 执行(优先 mv 到隔离目录而非直接 rm)。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Dedup Finder — 内容级精确去重 ## 概述 **跨 NAS 通用**:扫描脚本跑在**本地挂载路径**上(SMB/NFS),纯 stdlib 零依赖。 与其他「弱指纹」去重不同,本 skill 用**三级指纹做内容级精确去重**: ``` size 分组 → 头部 64KB sha1 → 全量 sha1 (免费) (只读开头) (零误报) ``` 只有三级全部相同才判为重复 — **不会误删内容不同的文件**。 **写操作不在脚本里** — 扫描出重复组后,LLM 生成删除计划(每组保留哪个), 经用户确认后由 Agent 执行(优先 `mv` 到隔离目录,人工核对后再真删)。 ## Prerequisites ```bash open smb://<NAS_IP>/data # 挂载要扫描的共享 python3 --version # ≥3.9,无第三方依赖 ``` ## 快速验证 ```bash python3 dedup_finder.py scan --root /Volumes/nas/data --max-files 2000 ``` ## 命令 | 命令 | 用途 | |------|------| | `scan --root PATH` | 三级指纹去重扫描(只读);`--root` 可重复传多个跨目录找重复 | | `scan --root PATH --json --output F` | JSON 输出 | | `--min-size N` | 忽略小于 N KB 的文件(默认 1) | | `--max-files N` | 最多比对文件数(0=不限,大库先摸底) | | `--max-depth N` / `--top N` | 递归深度 / 显示前 N 组 | | 同目录 `config.json` | 可选覆盖层:`skip_dirs` + `prefer_keep_hints`(见下「配置覆盖」) | ```bash # 全盘找重复,只看 ≥1MB 的文件 python3 dedup_finder.py scan --root /Volumes/nas/data --min-size 1024 # 跨两个目录找重复(照片库 vs 下载区) python3 dedup_finder.py scan --root /Volumes/nas/照片 --root /Volumes/nas/下载 ``` ## 配置覆盖(`config.json`,可选) 「哪一份是正主」是**每个库自己的事**:有人把成品放 `终稿/`,有人放 `交付/`,有人 …
Read the whole file at its exact version.
How to install
mdr add skyzhao1223/zspace-cli/dedup-finder@sha256:03381e180eaf2bbdThe line at the top of this page pins the label git:20261009.657293a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_fs5cea76irchbe3r)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Sep 20, 2026 and Oct 9, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.657293a latest | 2026-10-09 | 657293a | 22,633 B | A | view · diff |
| git:20261009.510d1ca | 2026-10-09 | 510d1ca | 22,043 B | A | view · diff |
| git:20261008.4665db0 | 2026-10-08 | 4665db0 | 7,529 B | A | view · diff |
| git:20261008.aae65c7 | 2026-10-08 | aae65c7 | 7,483 B | A | view · diff |
| git:20261008.a310beb | 2026-10-08 | a310beb | 6,972 B | A | view · diff |
| git:20260920.d4bf53a | 2026-09-20 | d4bf53a | 6,883 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (22633 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
skyzhao1223/zspace-cli · 27 stars · license MIT · pushed 2026-10-09 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fs5cea76irchbe3r GET https://markdownregistry.com/api/v1/resolve?ref=skyzhao1223/zspace-cli/dedup-finder GET https://markdownregistry.com/api/v1/blob/03381e180eaf2bbd6899a2920463ba9a39076c6c740dc63d909e45e39f452bb9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from skyzhao1223/zspace-cli
Every file in skyzhao1223/zspace-cli