Skip to content
Back to skills

Step 1 Inventory All Hidden Folders

ASecurity

'Sub-skill of hidden-folder-audit: Step 1: Inventory All Hidden Folders

  • 17 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
documentationgobashgitci/cddocumentation

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add vamseeachanta/workspace-hub --skill step-1-inventory-all-hidden-folders --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Step 1 Inventory All Hidden Folders?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Step 1 Inventory All Hidden Folders
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-step-1-inventory-all-hidden-folders/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-step-1-inventory-all-hidden-folders)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hidden-folder-audit-step-1-inventory-all-hidden-folders
description: 'Sub-skill of hidden-folder-audit: Step 1: Inventory All Hidden Folders
  (+4).'
version: 1.2.0
category: _internal
type: reference
scripts_exempt: true
---

# Step 1: Inventory All Hidden Folders (+4)

## Step 1: Inventory All Hidden Folders


List all hidden directories at the repository root.

```bash
# List all hidden directories (excluding .git)
find . -maxdepth 1 -type d -name ".*" ! -name ".git" | sort

# With sizes
du -sh .*/ 2>/dev/null | grep -v "^0" | sort -hr

# Include symlinks
find . -maxdepth 1 \( -type d -o -type l \) -name ".*" ! -name ".git" | sort
```

## Step 2: Check Git Tracking Status


Determine which hidden folders are tracked, ignored, or untracked.

```bash
# Check if folder is tracked
git ls-files --error-unmatch .folder/ 2>/dev/null && echo "TRACKED" || echo "NOT TRACKED"

# Check if folder is ignored
git check-ignore -v .folder/ 2>/dev/null && echo "IGNORED" || echo "NOT IGNORED"

# List all tracked hidden files
git ls-files | grep "^\." | cut -d'/' -f1 | sort -u

# List all gitignored hidden folders
git status --porcelain --ignored | grep "^!!" | grep "^\./\." | cut -d'/' -f2 | sort -u
```

## Step 3: Analyze Content Overlap


Check for duplicate or overlapping content between hidden folders.

```bash
# Compare agent configurations
diff -rq .agent-os/agents/ .claude/agents/ 2>/dev/null

# Find duplicate files by name
find .agent-os .ai .claude -name "*.md" -type f 2>/dev/null | xargs -I {} basename {} | sort | uniq -d

# Find duplicate files by content (MD5)

*See sub-skills for full details.*

## Step 4: Identify Authoritative Source


Determine which folder should be the single source of truth.

**Criteria for Authoritative Source:**
1. **Git tracking** - Tracked folders are more likely authoritative
2. **Recency** - Check last modification dates
3. **Completeness** - More complete configuration wins
4. **Active use** - Referenced in CI/CD, scripts, documentation
5. **Tool requirements** - Some tools require specific folder names

```bash

*See sub-skills for full details.*

## Step 5: Plan Consolidation


Create a migration plan based on analysis.

**Migration Checklist:**
- [ ] Identify target folder structure
- [ ] List files to migrate
- [ ] Identify files to delete
- [ ] Update references in code/scripts
- [ ] Update .gitignore
- [ ] Test after migration

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.