
Repo Scan
- 4.6k installs
- 238k repo stars
- Updated August 5, 2026
- affaan-m/everything-claude-code
What code is mine, what is third-party, what is redundant, and what should I extract, rebuild, or retire?
About
repo-scan classifies source files across C++, Java/Android, iOS (OC/Swift), and Web (TS/JS/Vue) ecosystems in a single pass, identifying which code is original, third-party, or build artifact. It detects over 50 known libraries (FFmpeg, Boost, OpenSSL) with version extraction and assigns four-stage verdicts (core asset, extract-integrate, rebuild, retire) to each module. Developers use it when inheriting large legacy codebases, preparing major refactors, auditing undeclared source-embedded dependencies, or reorganizing monorepos. It generates interactive dark-theme HTML reports with hierarchical drill-down navigation and supports multi-level scanning for monorepo summaries plus sub-project analysis. Cross-stack file classification: C++, Java/Android, iOS, and Web in one scan Library detection: identifies 50+ known libraries and extracts version numbers Four-stage module verdict system: core asset, extract-integrate, rebuild, retire Adjustable depth levels: fast, standard, deep, full - scales from 1-2 to
- Cross-stack file classification: C++, Java/Android, iOS, and Web in one scan
- Library detection: identifies 50+ known libraries and extracts version numbers
- Four-stage module verdict system: core asset, extract-integrate, rebuild, retire
- Adjustable depth levels: fast, standard, deep, full - scales from 1-2 to all files per module
- Interactive HTML reports with hierarchical navigation and monorepo sub-project support
Repo Scan by the numbers
- 4,578 all-time installs (skills.sh)
- +222 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #41 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
repo-scan capabilities & compatibility
- Capabilities
- cross stack codebase scanning · file ownership classification · embedded library detection with version extracti · module level verdict assignment · interactive html report generation · monorepo hierarchical analysis
- Use cases
- code review · refactoring · security audit · documentation
- Platforms
- macOS · Linux · Windows
- Runs
- Runs locally
- Pricing
- Free
What repo-scan says it does
50以上の既知ライブラリ(FFmpeg、Boost、OpenSSL…)を識別しバージョン番号を抽出
npx skills add https://github.com/affaan-m/everything-claude-code --skill repo-scanAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 4.6k |
|---|---|
| repo stars | ★ 238k |
| Security audit | 2 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | affaan-m/everything-claude-code ↗ |
What it does
Audit cross-stack codebases to classify files, detect embedded third-party libraries, and assign actionable verdicts for refactoring decisions.
Who is it for?
Legacy codebase audits, pre-refactor architecture decisions, monorepo reorganization planning, undeclared dependency discovery.
Skip if: Real-time package management, continuous dependency updates, dynamic runtime analysis.
When should I use this skill?
Inheriting large legacy codebases, preparing major refactors, auditing source-embedded third-party code, organizing monorepos.
What you get
Clear inventory of file ownership, embedded dependencies with versions, and four-stage refactoring verdicts delivered in interactive reports.
- File classification map (project/third-party/artifact)
- Detected library inventory with versions
- Four-stage module verdicts
By the numbers
- Detects 50+ known libraries (FFmpeg, Boost, OpenSSL, etc.)
- Example: 50k-file C++ monorepo analyzed in single pass
- Four-stage verdict system per module
Files
repo-scan
どのエコシステムにも独自の依存関係マネージャーがあるが、C++、Android、iOS、Web をまたいで「どのコードが本当に自分のもので、どれがサードパーティで、どれが余分な負担か」を教えてくれるツールはない。
適用場面
- 大規模なレガシーコードベースを引き継ぎ、全体的な構造を把握する必要がある場合
- 大規模なリファクタリング前——コアコード、重複コード、廃止コードを特定する
- パッケージマネージャーで宣言せずにソースに直接埋め込まれたサードパーティの依存関係を監査する
- モノレポの再編成に向けたアーキテクチャ決定記録を準備する
インストール
# 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エージェントスキルをインストールする前に、ソースコードをレビューしてください。
コア機能
| 機能 | 説明 |
|---|---|
| クロススタックスキャン | C/C++、Java/Android、iOS(OC/Swift)、Web(TS/JS/Vue)を一度にスキャン |
| ファイル分類 | 各ファイルをプロジェクトコード、サードパーティコード、またはビルドアーティファクトとしてマーク |
| ライブラリ検出 | 50以上の既知ライブラリ(FFmpeg、Boost、OpenSSL…)を識別しバージョン番号を抽出 |
| 4段階の判定 | コア資産 / 抽出・統合 / 再構築 / 廃止 |
| HTMLレポート | 階層的なドリルダウンナビゲーションに対応したインタラクティブなダークテーマページ |
| モノレポサポート | 階層的スキャンによるサマリー + サブプロジェクトレポート |
分析の深さレベル
| レベル | 読み取りファイル数 | 適用場面 |
|---|---|---|
fast | モジュールあたり1〜2個 | 大規模ディレクトリの素早い棚卸し |
standard | モジュールあたり2〜5個 | デフォルト監査、完全な依存関係 + アーキテクチャチェック |
deep | モジュールあたり5〜10個 | スレッド安全性、メモリ管理、API一貫性チェックを追加 |
full | 全ファイル | 統合前の包括的レビュー |
動作原理
1. リポジトリの表面を分類:ファイルを列挙し、各ファイルをプロジェクトコード、埋め込みサードパーティコード、ビルドアーティファクトとしてマークする。 2. 埋め込みライブラリを検出:ディレクトリ名、ヘッダーファイル、ライセンスファイル、バージョンマーカーを検査して、バンドルされた依存関係とその可能性のあるバージョンを識別する。 3. 各モジュールをスコアリング:ファイルをモジュールまたはサブシステムにグループ化し、所有権、重複度、保守コストに基づいて4つの判定のいずれかを割り当てる。 4. 構造的リスクを強調:冗長なアーティファクト、重複したラッパー、古いベンダーコード、および抽出・再構築・廃止すべきモジュールを指摘する。 5. レポートを生成:簡潔なサマリーとインタラクティブなHTML出力を返し、モジュールごとのドリルダウンにより監査結果を非同期でレビューできる。
例
50,000ファイルのC++モノレポで:
- FFmpeg 2.x(2015年版)がまだ使用されていることを発見
- 同じSDKラッパーが3回重複していることを発見
- 636 MBのコミット済みDebug/ipch/objビルドアーティファクトを識別
- 分類結果:3 MBのプロジェクトコード vs 596 MBのサードパーティコード
ベストプラクティス
- 初回監査は
standardの深さから始める - 100以上のモジュールを含むモノレポには
fastで素早く棚卸しする - リファクタリングが必要とフラグ立てされたモジュールに対して段階的に
deepを実行する - クロスモジュール分析の結果をレビューして、サブプロジェクト間の重複コードを検出する
リンク
Related skills
Forks & variants (1)
Repo Scan has 1 known copy in the catalog totaling 1.4k installs. They canonicalize to this original listing.
- affaan-m - 1.4k installs
How it compares
Unlike package managers (npm, Maven, CocoaPods, pip), repo-scan audits actual source-embedded dependencies and file ownership across mixed stacks.
FAQ
What languages and ecosystems does it scan?
C/C++, Java/Android, iOS (Objective-C/Swift), and Web (TypeScript/JavaScript/Vue) in a single pass.
How does it handle monorepos?
Performs hierarchical scanning to generate summary reports plus individual sub-project reports with cross-module duplication detection.
What depth levels does it support?
Fast (1-2 files/module), standard (2-5, default), deep (5-10, adds thread safety/memory checks), full (all files for pre-integration review).
Is Repo Scan safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.