Ecc repo scan

From Undermybelt/hermes-skills · View interactive version

Ecc repo scan is an AI agent skill from the GitHub repository Undermybelt/hermes-skills. Cross-stack source code asset audit — classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.

How to use this skill

Skill file

repo-scan

Every ecosystem has its own dependency manager, but no tool looks across C++, Android, iOS, and Web to tell you: how much code is actually yours, what's third-party, and what's dead weight.

When to Use

Installation

# Fetch only the pinned commit for reproducibility
mkdir -p ~/.claude/skills/repo-scan
git init repo-scan
cd repo-scan
git remote add origin https://github.com/haibindev/repo-scan.git
git fetch --depth 1 origin 2742664
git checkout --detach FETCH_HEAD
cp -r . ~/.claude/skills/repo-scan

Review the source before installing any agent skill.

Core Capabilities

| Capability | Description |

|---|---|

| Cross-stack scanning | C/C++, Java/Android, iOS (OC/Swift), Web (TS/JS/Vue) in one pass |

| File classification | Every file tagged as project code, third-party, or build artifact |

| Library detection | 50+ known libraries (FFmpeg, Boost, OpenSSL…) with version extraction |

| Four-level verdicts | Core Asset / Extract & Merge / Rebuild / Deprecate |

| HTML reports | Interactive dark-theme pages with drill-down navigation |

| Monorepo support | Hierarchical scanning with summary + sub-project reports |

Analysis Depth Levels

| Level | Files Read | Use Case |

|---|---|---|

| fast | 1-2 per module | Quick inventory of huge directories |

| standard | 2-5 per module | Default audit with full dependency + architecture checks |

| deep | 5-10 per module | Adds thread safety, memory management, API consistency |

| full | All files | Pre-merge comprehensive review |

How It Works

  1. Classify the repo surface: enumerate files, then tag each as project code, embedded third-party code, or build artifact.
  2. Detect embedded libraries: inspect directory names, headers, license files, and version markers to identify bundled dependencies and likely versions.
  3. Score each module: group files by module or subsystem, then assign one of the four verdicts based on ownership, duplication, and maintenance cost.
  4. Highlight structural risks: call out dead-weight artifacts, duplicated wrappers, outdated vendored code, and modules that should be extracted, rebuilt, or deprecated.
  5. Produce the report: return a concise summary plus the interactive HTML output with per-module drill-down so the audit can be reviewed asynchronously.

Examples

On a 50,000-file C++ monorepo:

Best Practices

Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.