clean-old-worktrees-global
A skill in the ClickHouse repository for freeing disk space by deleting unused git worktrees and old build folders across every checkout under the home folder or another root, including worktrees nested inside checkouts.
スキルの内容
A skill in the ClickHouse repository for freeing disk space by deleting unused git worktrees and old build folders across every checkout under the home folder or another root, including worktrees nested inside checkouts. Anything untouched since a set age, one day by default, counts as unused. A bundled scan script lists candidates; the agent then reviews them, keeping main repositories, anything of unknown age, and worktrees with uncommitted work or commits that would be lost unless the user confirms. A bundled delete script removes the final list, skipping folders in use by a process or holding mount points, and can be rerun if it times out. The report covers what was deleted, kept and skipped, with disk usage before and after.
できること
- Scan checkouts for stale worktrees and build folders
- Keep worktrees with unsaved or unpushed work
- Delete the reviewed list with safety checks
- Report disk usage before and after
概要
- 公開元
- ClickHouse
- ツール
- ファイルシステム
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- delete.sh
- scan.sh
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
出典
- スキルファイル(SKILL.md)github.com/ClickHouse/ClickHouse · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/ClickHouse/ClickHouse · 根拠となる項目:公開元2026年11月16日
- GitHubリポジトリgithub.com/clickhouse/clickhouse · 根拠となる項目:活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(clean-old-worktrees-global)github.com/ClickHouse/ClickHouse · 根拠となる項目:スクリプトを含む2026年11月10日