Agent skill
repo-cleanup-common-hidden-folders
Sub-skill of repo-cleanup: Common Hidden Folders (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_internal/meta/repo-cleanup/common-hidden-folders
SKILL.md
Common Hidden Folders (+2)
Common Hidden Folders
| Folder | Description | Action |
|---|---|---|
.agent-os/ |
Legacy agent OS framework | Consolidate to .claude/ |
.ai/ |
Legacy AI configuration | Consolidate to .claude/ |
.agent-runtime/ |
Runtime symlinks (often dead) | Delete if dead links |
.common/ |
Orphaned utility scripts | Delete or relocate to scripts/ |
.specify/ |
Stale specification templates | Delete if unused |
.drcode/ |
External tool config (Dr. Code) | Keep if actively used |
.slash-commands/ |
Command registry | Keep |
Discovery Commands
# List all hidden directories with sizes
du -sh .*/ 2>/dev/null | grep -v "^\./\.git"
# Find dead symlinks in hidden folders
find .agent-runtime -type l ! -exec test -e {} \; -print 2>/dev/null
# Count files in each hidden directory
for dir in .claude .agent-os .ai .common .specify; do
if [ -d "$dir" ]; then
count=$(find "$dir" -type f | wc -l)
echo "$dir: $count files"
fi
done
Cleanup Commands
# Remove dead symlink directories
rm -rf .agent-runtime/
# Remove stale template directories
rm -rf .specify/
# Remove orphaned utilities (after relocating useful scripts)
rm -rf .common/
*See sub-skills for full details.*
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?