Borrowing it
Nothing to install: this file belongs to Burly-Mingo/modernization-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Burly-Mingo/modernization-kit/main/.claude/commands/phase-1-codebase-analysis.mdgit clone --depth 1 https://github.com/Burly-Mingo/modernization-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/burly-mingo/modernization-kit/phase-1-codebase-analysis)<a href="https://agentmods.dev/commands/burly-mingo/modernization-kit/phase-1-codebase-analysis"><img src="https://agentmods.dev/badge/commands/burly-mingo/modernization-kit/phase-1-codebase-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/burly-mingo/modernization-kit/phase-1-codebase-analysis"><img src="https://agentmods.dev/badge/commands/burly-mingo/modernization-kit/phase-1-codebase-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00435 |
| Opus 5.5 | $0.00000 | $0.00174 |
| Sonnet 5.5 | $0.00000 | $0.00087 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
phase-1-codebase-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phase 1: Codebase Analysis
Read the actual source code and produce a factual technical assessment of each application. No recommendations yet — purely diagnostic.
For Each Application, Assess:
Architecture & Structure: Pattern, project structure, entry points, request flow, inter-app communication, third-party dependencies with version/EOL status.
Code Quality & Patterns: Language/framework versions, design patterns, separation of concerns, error handling, logging, configuration management.
Data Layer: Database tech/version/count, relationships, cross-DB dependencies, ORM/data access patterns, schema complexity, credential handling.
Security Posture: Password storage, auth/session management, SQL injection, XSS, CSRF, encryption, secrets management, compliance-relevant findings.
Business Logic Location: App code vs. stored procs vs. triggers vs. config tables. Quantify the ratio. Identify black-box components.
Deployment & Operations: Build process, deployment mechanism, environments, monitoring, backup/recovery.
7 R's Classification: For each app/component — Retain, Retire, Rehost, Replatform, Refactor, Rearchitect, or Rebuild. Tag each as [Tactical] or [Strategic] with justification.
Multi-App: Consolidated Assessment
After per-app assessments, produce CONSOLIDATED_ASSESSMENT.md: shared data sources, data ownership conflicts, overlapping business logic, hidden coupling, data consistency risks, blast radius of schema changes, consolidation opportunities, inter-app dependency map.
Deliverables
- ASSESSMENT.md per application (findings with evidence — file paths, code snippets, config values)
- CONSOLIDATED_ASSESSMENT.md for multi-app engagements
Scaling (Large Codebases)
- Prioritize: entry points, config, data access, auth, build/deploy (80/20 rule)
- Run static analysis tools first (SonarQube, Snyk), feed results for interpretation
- Consider vector DB approach for semantic code search
Human Checkpoint
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 39 lines · 0 tokens per session scan A 7f62dbc9b5c6
phase-1-codebase-analysis is a command published in the GitHub repository Burly-Mingo/modernization-kit (11 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 435 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
phase-1-codebase-analysis compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phase-1-codebase-analysisBurly-Mingo/modernization-kit | Command | 11 | 8mo ago | MIT | A | 0 | Claude Code |
| fixihatesea69/kiro-kit | Command | 19 | 2mo ago | MIT | A | 17 | Claude Code, Kiro |
| debugihatesea69/kiro-kit | Command | 19 | 2mo ago | MIT | A | 12 | Claude Code, Kiro |
| scoutihatesea69/kiro-kit | Command | 19 | 2mo ago | MIT | A | 10 | Claude Code, Kiro |
| validate-gapgotalab/cc-sdd | Command | 3.8k | 16d ago | MIT | A | 9 | Claude Code |
| kiro-validate-gapgotalab/cc-sdd | Command | 3.8k | 16d ago | MIT | A | 0 | Claude Code |
| bug-triageMRCalderon3D/everything-game-dev-code | Command | 104 | 28d ago | MIT | A | 14 | Claude Code |