download-cleaner SKILL.md skillA
download-cleaner 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/download-cleaner@git:20261009.88e9b2fPins git:20261009.88e9b2f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- skyzhao1223/zspace-cli
- Path
src/zspace_cli/skills/download-cleaner/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261009.88e9b2f, committed Oct 9, 2026
- First version recorded
- Sep 20, 2026
- Size
- 18,201 bytes
- Repository stars
- 27
- License
- MIT
Use when 用户想清理 NAS 下载目录 — "下载区太乱帮我清一下"、"哪些下载可以删了"、"安装包/种子/压缩包占空间"、"下载完的视频没归档"、"半截下载残留"、"重复下载了好几次"。只读扫描按类别分诊(未完成/种子/安装包/压缩包/待归档媒体文档),给每文件一个建议动作(delete/extract/move-to-library/review);LLM 出清理计划,用户确认后由 Agent 执行。.
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
# Download Cleaner — 下载区分诊清理 ## 概述 **跨 NAS 通用**:扫描脚本跑在**本地挂载路径**上(SMB/NFS),纯 stdlib 零依赖。 下载区是 NAS 最脏的地方:半截下载、用完的安装包、种子、解压后忘删的压缩包、 下载完没归档的影视/音乐/文档混在一起。本 skill 做**分诊**:给每个文件打类别 + 建议动作,不自动删。 **写操作不在脚本里** — LLM 按 `action` 分组出清理计划,用户确认后由 Agent 执行 (优先 `mv` 到隔离/归档目录,人工核对后再真删)。 ## Prerequisites ```bash open smb://<NAS_IP>/下载 # 极空间/群晖/威联通/绿联等均支持 SMB python3 --version # ≥3.9,无第三方依赖 ``` ## 快速验证 ```bash python3 download_cleaner.py scan --root /Volumes/nas/下载 --sample 500 ``` ## 命令 | 命令 | 用途 | |------|------| | `scan --root PATH` | 下载区分诊扫描(只读) | | `scan --root PATH --json --output F` | JSON 输出 | | `--stale-days N` | 超过 N 天视为久未处理(默认 365) | | `--max-depth N` / `--sample N` / `--top N` | 深度 / 文件数上限 / 每类显示条数 | | 同目录 `config.json` | 可选覆盖层:`skip_dirs` + `extension_overrides`(见下「配置覆盖」) | ## 配置覆盖(`config.json`,可选) 真实下载区里总有**故意的例外**:一个当仓库用的 `临时/` 目录、某款下载器的私有 半截文件扩展名、公司内部的 `.iso` 交付物。没有这个机制之前,唯一的办法是改脚本 里的 `SKIP_DIRS` / `*_EXTS` 集合 —— 而下次 `pip install -U` 就把它冲掉了。 **没有这个文件时,本 skill 的输出与引入该机制之前逐字节一致** —— 不多一个 JSON 字段、不少一条问题。 ### 本 skill 接受哪些键 只有两个。**顶层出现第三个键 → 直接报错退出。** | 键 | 类型 | 作用 | |----|------|------| …
Read the whole file at its exact version.
How to install
mdr add skyzhao1223/zspace-cli/download-cleaner@sha256:4733a100d9d64c6bThe line at the top of this page pins the label git:20261009.88e9b2f, 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_emauv56flibznydr)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 20, 2026 and Oct 9, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.88e9b2f latest | 2026-10-09 | 88e9b2f | 18,201 B | A | view · diff |
| git:20261009.510d1ca | 2026-10-09 | 510d1ca | 18,546 B | A | view · diff |
| git:20261008.aae65c7 | 2026-10-08 | aae65c7 | 7,566 B | A | view · diff |
| git:20260920.d4bf53a | 2026-09-20 | d4bf53a | 7,055 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 (18201 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_emauv56flibznydr GET https://markdownregistry.com/api/v1/resolve?ref=skyzhao1223/zspace-cli/download-cleaner GET https://markdownregistry.com/api/v1/blob/4733a100d9d64c6b070812242bc8317dda5f84ef5dbd73d692d39005dccc6726
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