Agent skill
repo-cleanup-list-untracked-files
Sub-skill of repo-cleanup: List Untracked Files (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_internal/meta/repo-cleanup/list-untracked-files
SKILL.md
List Untracked Files (+3)
List Untracked Files
# All untracked files
git status --porcelain | grep "^??"
# Untracked files with size
git status --porcelain | grep "^??" | cut -c4- | xargs -I {} sh -c 'du -h "{}" 2>/dev/null'
Find Large Files
# Files larger than 1MB
find . -type f -size +1M -exec ls -lh {} \;
# Files larger than 10MB
find . -type f -size +10M -exec ls -lh {} \;
# Largest files in repo
find . -type f -exec du -h {} + 2>/dev/null | sort -rh | head -20
Find Duplicates
# Find duplicate markdown files in agent directories
find . -name "*.md" -path "*/agents/*" -type f
# Find files with same name
find . -type f -name "*.py" | xargs -I {} basename {} | sort | uniq -d
# Find duplicate by content (requires md5sum)
find . -type f -exec md5sum {} + | sort | uniq -w32 -d
Find Hidden Directories
# List all hidden directories
find . -maxdepth 1 -type d -name ".*" | grep -v "^\./\.git$"
# Hidden directories with sizes
du -sh .*/
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?