Rename Pdfs
realspqrk/autorename-pdf
[Dev] Rename PDF files using AI (Python, requires venv). An agent skill from realspqrk/autorename-pdf.
Scans a Mac or Windows PC read-only to find what fills the disk, grades each item by how safe it is to clean and builds an interactive HTML report.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install KKKKhazix/khazix-skills storage-analyzer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/storage-analyzer .claude/skills/storage-analyzer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .claude/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install KKKKhazix/khazix-skills storage-analyzer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/storage-analyzer .agents/skills/storage-analyzer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .agents/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install KKKKhazix/khazix-skills storage-analyzer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/storage-analyzer .cursor/skills/storage-analyzer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .cursor/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/KKKKhazix/khazix-skills.git --path storage-analyzer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install KKKKhazix/khazix-skills storage-analyzer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/storage-analyzer .gemini/skills/storage-analyzer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .gemini/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install KKKKhazix/khazix-skills storage-analyzerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/storage-analyzer .github/skills/storage-analyzer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .github/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install KKKKhazix/khazix-skills storage-analyzer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/storage-analyzer .opencode/skills/storage-analyzer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "storage-analyzer" agent skill from https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer into .opencode/skills/storage-analyzer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storage-analyzer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
storage-analyzerScans a Mac or Windows PC read-only to find what fills the disk, grades each item by how safe it is to clean and builds an interactive HTML report.
The skill runs a read-only analysis of disk usage on macOS or Windows and detects the system on its own. A scan script lists large folders as JSON, the agent then classifies the findings, and a report builder produces an interactive HTML page with collapsible sections and cleanup commands that can be copied with one click. An optional local server, scripts/server.py, can serve the page so items can be moved to the trash from it.
Each finding lands in one of three tiers: green for safe cleanup such as caches, temporary files and developer caches; yellow for items that need your judgment, such as offline videos, documents and node_modules; and red for items better left alone, with uninstall steps for large apps. The agent never runs delete commands itself and stops to ask first, labels freed-space figures as estimates, and lists folders the scan could not read.
The SKILL.md is written in Chinese and triggers on phrases about a full disk or low storage. It does not apply to questions about RAM or which process uses memory. Reference files describe where data lives on macOS and on Windows.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 322346d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3brewFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Disk Storage Analyzer loads about 1.4k tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 117 tokens; SKILL.md has 300 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from KKKKhazix/khazix-skills at commit 322346d, republished under its MIT licence (© KKKKhazix). 300 words, ~1,402 tokens.
.claude/skills/storage-analyzer/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.对 macOS 做一次只读存储分析,产出交互式 HTML 报告。流程:扫描 → 分析分级 → 生成网页 → 打开。
python3 scripts/scan.py > /tmp/storage_scan.jsonscan.py 自动识别系统(sys.platform):
du 算大小。os.scandir 算大小;system.disks 含所有盘符。输出 JSON:system(系统/磁盘信息,含 disk_name 主盘名 + disks 全部盘)+ groups(各组子目录大小,已降序、过滤 50MB 以下)。扫描较慢,耐心等。读不到的目录标 denied,需在报告里列出并提示遗漏体量。
先看 system.os 判断系统,读对应的数据布局参考:macOS 读 references/macos.md,Windows 读 references/windows.md(讲该系统东西存哪、怎么辨认、归哪一级)。然后读 /tmp/storage_scan.json 做这几件事:
ls/du 深入一层看清楚,但仍只读。.Downloads 目录、旧备份目录),给它 trash_paths → 网页出现「移到废纸篓」按钮(橙灯只准移废纸篓、可逆,绝不给"直接删除")。App 托管又无安全子路径的(Chrome/微信)只给打开按钮、不给 trash_paths。按钮下方会自动写明注意事项(打开只查看不删、移废纸篓可逆需清空才释放等);如果某项在文件管理器里是 App 内部格式、不方便手动挑选,给它一个 open_note 字段做客观说明(会显示在注意事项里)。口吻要中性、像产品说明:直接描述"这里是什么结构、为什么不好手动删、想精细操作该去哪",不要写成"我发现/提醒注意/看着像没视频"这种暴露开发者踩坑视角的话。indirect_release 写具体卸载步骤(自带卸载器 / 启动台长按 / 右键移废纸篓 / AppCleaner 清残留 / App Store 可重装等,要可照做不是空话)。应用项给 app_paths(真实 .app 绝对路径数组)→ 网页出现「在文件管理器打开(去卸载)」按钮,定位到 App 让用户自己正规卸载。红灯不给删除/卸载按钮(应用在系统目录、可能要管理员密码、可能有自带卸载器和残留,后台代删不稳妥)。纯系统文件、APFS 快照不要单独列红卡(没有清理决策),归蓝色即可;系统层面的释放技巧(重启释 swap、Time Machine 快照策略、可清除空间自动回收)写进 summary.long_term 长期建议。每个 🟢 项要给:预估释放空间、清理前需关闭的进程、可一键复制的清理命令(用移到废纸篓或 App 自身清理入口的安全方式,谨慎用 rm;如用 rm 必须是明确的缓存子目录)。
大小字段写干净:size / size_estimate 用"约 14 GB""合计约 8.6 GB"即可——"约"已表示估算,不要再加"(估算)",重复且不专业(模板也会自动去掉这种冗余括号)。可再生属性已由分级标题和按钮说明覆盖,别塞进大小字段。
把分析结果写成 analysis JSON(schema 见 scripts/build_report.py 顶部注释)。
🟢 项必须带 trash_paths(具体可删的绝对路径数组,区别于人类可读的 path 展示字段)——这是网页删除按钮的前提,漏了按钮就不出现。
默认用一键删除模式(server.py)打开报告,因为这个 skill 的核心价值就是网页上能直接清理:
python3 scripts/server.py /tmp/storage_analysis.json # 自动开浏览器,Ctrl+C 停server.py 起在 127.0.0.1 + 随机端口 + 随机 token。🟢 项给「移到废纸篓」(可逆) +「直接删除」(立即释放、不可逆);🟡 项给「在访达打开」+(有安全子路径时)「移到废纸篓」。安全模型——三套白名单,权限从严到宽:rm 只允许绿灯 trash_paths;trash 允许绿灯+橙灯 trash_paths(橙灯永远不能 rm);open(在文件管理器打开,非破坏性)允许上述全部 + 橙灯真实 path。所有请求 realpath 校验 + 必须在 $HOME 内 + token + Host 校验,每次点击浏览器先 confirm。osascript/SHFileOperationW 入废纸篓,macOS 首次弹访达自动化授权点允许即可。
仅当用户明确只想要一份可分享/留存的只读文件时,才用静态模式(无删除按钮,因为 file:// 打开的页面碰不到文件系统):
python3 scripts/build_report.py /tmp/storage_analysis.json ~/Desktop/storage-report.html && open ~/Desktop/storage-report.html排障:网页上没有删除/移废纸篓按钮 = 要么开的是静态报告(改用 server.py),要么 🟢 项漏了 trash_paths(补上重启服务)。
报告阅读流(固定顺序):磁盘总览卡片(容量 + 进度条 + 三色容量 pills + 系统信息,纯数据)→ 占用排行 Top5 → 执行建议 → 🟢🟡🔴 三级可折叠卡片(命令一键复制)→ 长期优化建议。即"现状 → 诊断 → 处方 → 操作 → 预防"。
注意 summary.overview 要写成一句话洞察(直接说最大占用是什么、能释放多少),不要重复总/已用/可用数字——那些已在卡片大数字里显示。overview 渲染在"执行建议"小节开头作引子(普通文字),紧接着是 summary.priority 优先级清单。
磁盘进度条把"已用"拆成分段:绿(可自动清)+橙(需手动)+红(已识别的不建议动项)+蓝(系统及其他,自动取 已用−绿−橙−红 的余量),余下为可用(灰底)。summary.tier_stats 的 green / yellow / red 三个值都要以可解析的 GB 数字开头(如 "约 27.8 GB"),脚本从中取数算分段;蓝色段和"系统及其他"pill 由模板自动算余量。
pills 只渲染解析出的纯数字(如"约 5.5 GB"),不显示数据里的附注,所以 tier_stats 三个值写干净的数字即可,别加"仅已识别项/系统未计"这类道歉式说明——系统文件本来就归在蓝色段,红色只放你能量化的 🔴 项(重复应用、可卸载大应用等),量不准的系统文件/快照自然落到蓝色。
报告生成后,在对话里用一段话给结论先行的摘要:总可释放估算、最该先清的 2-3 项、风险最高的一项。细节让用户看网页。
du、diskutil、osascript,开箱即用。python 或 py -3(不是 python3)。本 skill 命令示例写的是 python3,在 Windows 上自动改用 python / py -3。scan.py 的 scan_windows、server.py 的 _trash_windows 走 SHFileOperationW),但未在真实 Windows 上实测。首次在 Windows 跑要核对:目标目录路径、os.scandir 大小、回收站删除是否正常。多盘符已支持(主盘分段条 + 其他盘列表)。brew cleanup、Xcode DerivedData、浏览器缓存© KKKKhazix, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (scripts, references, assets) in storage-analyzer of KKKKhazix/khazix-skills.
Open the folder on GitHubat commit 322346d
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in KKKKhazix/khazix-skills, which our catalogue first saw on October 7, 2026.
Disk Storage Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Disk Storage Analyzer this skillKKKKhazix/khazix-skills | 21k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Rename Pdfsrealspqrk/autorename-pdf | 122 | — | ~541 | Automated safety check: Pass | MIT | |
| Setupmarketcalls/vectorbt-backtesting-skills | 208 | — | ~2k | Automated safety check: Notes | None | |
| Mole Mac Cleanup CLI Safetytw93/Mole | 70k | — | ~1.9k | Automated safety check: Pass | GPL-3.0 | |
| Jev Desktop Computer Usekerpopule/hermes-jev-skills | 1.1k | — | ~4.3k | Automated safety check: Pass | MIT | |
| Fantastical Calendartwhsi/skills | 259 | — | ~688 | Automated safety check: Pass | None |
realspqrk/autorename-pdf
[Dev] Rename PDF files using AI (Python, requires venv). An agent skill from realspqrk/autorename-pdf.
marketcalls/vectorbt-backtesting-skills
Set up the Python backtesting environment. An agent skill from marketcalls/vectorbt-backtesting-skills.
tw93/Mole
Teaches an agent to drive the Mole (mo) Mac cleaning CLI safely: preview first, use JSON output, and leave destructive runs to the user.
kerpopule/hermes-jev-skills
Drives desktop GUI apps and OS dialogs by letting Jev pick the next action from a menu of safe actions the agent built, with a Mac Co-Agent shortcut.
twhsi/skills
Turns scheduling requests into Fantastical events or reminders on macOS, previewing the parsed item in the app first and adding it only when you confirm.
TheSyart/emperor-agent
Operate web pages in Emperor's built-in browser with the browser tools, and macOS app windows with the desktop tools — open or bind a target, read it, fill, click or type, and verify the result.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
KKKKhazix/khazix-skills
Writes long-form WeChat official account articles in the personal style of the Khazix account, from briefs, links, PDFs or rough notes, with a topic quality check.
KKKKhazix/khazix-skills
Runs a two-axis deep research method on a product, company, concept or person: its full history over time, compared with peers today, delivered as a typeset PDF report.
KKKKhazix/khazix-skills
Answers questions about recent AI news by querying AIHOT's Chinese-language agent API live, covering daily highlights, search, hot events and the daily digest.
KKKKhazix/khazix-skills
Turns a one-line idea into a task brief of up to 4000 characters that an autonomous agent can run through /goal, with measured baselines and cheat-resistant acceptance checks.
Categories
Scans a Mac or Windows PC read-only to find what fills the disk, grades each item by how safe it is to clean and builds an interactive HTML report. The skill runs a read-only analysis of disk usage on macOS or Windows and detects the system on its own. A scan script lists large folders as JSON, the agent then classifies the findings, and a report builder produces an interactive HTML page with collapsible sections and cleanup commands that can be copied with one click.
Disk Storage Analyzer fits situations like: the disk is nearly full and you want to know what is taking the space; getting a cleanup plan with risk levels for caches, downloads and app data; producing a shareable HTML report of disk usage on a Mac or Windows PC.
Run `npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a claude-code`. Or copy the skill folder (storage-analyzer in KKKKhazix/khazix-skills) into .claude/skills/storage-analyzer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a codex`. Or copy the skill folder (storage-analyzer in KKKKhazix/khazix-skills) into .agents/skills/storage-analyzer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add KKKKhazix/khazix-skills --skill storage-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/storage-analyzer, .gemini/skills/storage-analyzer, .github/skills/storage-analyzer and .opencode/skills/storage-analyzer in your project.
Going by SKILL.md and its folder, Disk Storage Analyzer needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and brew). Our summary lists: Python 3, to run the scan and report scripts; macOS or Windows.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Disk Storage Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 983 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Disk Storage Analyzer: Rename Pdfs (realspqrk/autorename-pdf, 122 stars), Setup (marketcalls/vectorbt-backtesting-skills, 208 stars), Mole Mac Cleanup CLI Safety (tw93/Mole, 70k stars) and Jev Desktop Computer Use (kerpopule/hermes-jev-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
KKKKhazix (a GitHub user) maintains it in KKKKhazix/khazix-skills, which has 21,265 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 1, 2026.
Source: KKKKhazix/khazix-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.