arch-wsl-cleanup
Arch WSL Disk Cleanup
Guide systematic disk space cleanup on Arch Linux WSL systems. Follow a layered approach: start with safe cache cleanup, then review installed packages, then scan for large files and directories.
Pre-flight Checks
- Confirm the environment is Arch Linux:
head -3 /etc/os-release - Check if running in WSL:
grep -qi microsoft /proc/version - Check current disk usage:
df -h / - Identify available package managers:
which pacman yay paru 2>/dev/null
Record baseline for the final report — save the output of df -h / and:
du -sh /var/cache/pacman/pkg/ ~/.cache/ 2>/dev/null
Phase 1: Safe Cleanup (zero risk, execute directly)
More from cnife/skills
obsidian-diary
将会话内容总结并写入 Obsidian 工作日志或个人日记,管理待办事项。当用户说「记录一下」「保存这个」「记一笔」「总结工作」「更新日志」「写日记」「记录会议」「更新待办」,或会话末尾有多个可记录的事件/结论/决策时,必须加载此技能。工作相关(代码开发、方案设计、运维部署、正式会议)用 work 变体;个人方向(技术探索、学习笔记、投资复盘、生活记录)用 personal 变体。不要等用户明确说「写日记」——会话中出现结构化结论、技术选型决策、部署结果、调研成果时就应该主动检查是否需要记录。
19skill-evaluator
>
18optimize-agents-md
AGENTS.md 编写与优化指南,遵循渐进式披露原则。当用户创建、修改或重构 AGENTS.md,讨论 AI agent 指令结构、规则放置位置,或提到「渐进式披露」「模块化」「AGENTS.md 最佳实践」时,务必加载此 skill。即使用户只是说「帮我写个 AGENTS.md」「优化一下这个配置文件」「拆分一下规则」,也应该使用此 skill。
13audit-hermes-agent-skills
>
10git-master
MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). Use when the user mentions commit, rebase, squash, git blame, bisect, who wrote, when was X added, find the commit that, git history, or any git-related operations.
9opencode-permission
>
5