用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SocketDev/action --skill tidying-files命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Propagate a wheelhouse template change across fleet repos: worktrees, push/PR fallback, cleanup.
Run this repo's GitHub Actions locally with Agent-CI before pushing CI-sensitive changes.
Audit package exports for dead, internal-only, or weakly-consumed subpaths before pruning.
基于 SOC 职业分类
正在显示 SKILL.md
| name | tidying-files |
| description | Remove untracked or ignored junk and scratch files across fleet repos without touching tracked work. |
| user-invocable | true |
| allowed-tools | Bash(node:*), Bash(git:*), Read |
| model | claude-haiku-4-5 |
| context | fork |
| metadata | {"internal":true} |
OS cruft (.DS_Store), editor backups (*.orig, *.swp, *~), build stragglers
(*.pyc, __pycache__), and stray AI/temp scratch (orphaned /tmp/cascade-* dirs, dry-run
logs) accrete across the fleet. This is the conservative, no-prompt sweep that clears them —
the tidying-* family member for junk files. It deletes ONLY paths git doesn't track and that
don't live in a submodule, so it can never remove real work.
/loop so junk never accumulates./tmp scratch the fleet's own tooling leaves behind.# Dry-run (default): report what WOULD be deleted, delete nothing.
node .claude/skills/fleet/tidying-files/lib/tidy-files.mts
# Act: delete the junk fleet-wide.
node .claude/skills/fleet/tidying-files/lib/tidy-files.mts --fix
# One repo.
node .claude/skills/fleet/tidying-files/lib/tidy-files.mts --fix --repo socket-cli
Reads the canonical roster from cascading-fleet/lib/fleet-repos.txt; resolves repos under
$PROJECTS (default ~/projects).
/loop 6h /fleet:tidying-files --fix
Safe unattended: the deletion is gated to never-wanted patterns AND a per-path
git-safe check, so a --fix run can only ever remove junk.
.DS_Store (+ variants), Thumbs.db, Desktop.ini, *.orig, *.rej,
*.swp/*.swo, *~, *.pyc, __pycache__/./tmp/cascade-* dirs + dry-run logs.isUntrackedNonSubmodulePath
before removal; deletion uses safeDelete from @socketsecurity/lib/fs/safe.The sweep-ds-store Stop hook removes only .DS_Store, at edit time, in the current repo.
This skill is the fleet-wide, multi-pattern, periodic complement.
--fix opts into deletion.