# Repo Cleanup Common Hidden Folders

> Sub-skill of repo-cleanup: Common Hidden Folders (+2).

- Skill: `vamseeachanta/repo-cleanup-common-hidden-folders-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/repo-cleanup-common-hidden-folders-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/repo-cleanup-common-hidden-folders-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/repo-cleanup-common-hidden-folders-2

---


# 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


```bash
# 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


```bash
# 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.*

