# codebase health check

> Automated multi-language code audits for linting, security vulnerabilities, and outdated dependencies.

codebase health check is a paid AI agent skill on Agensi by Abinesh Lal, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Abinesh Lal](https://www.agensi.io/creators/abinesh-lal)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 1
- Version: 1.0
- Last updated: 2026-09-28
- Security: scan passed (2026-09-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/codebase-health-check
- Tags: code-review, security, python, javascript

## About this skill

Stop shipping code with hidden vulnerabilities or outdated dependencies. This skill performs an automated, language-agnostic audit of your entire repository to identify technical debt, security risks, and maintenance gaps. It eliminates the need for manual tool configuration by detecting your stack and running the appropriate native analysis commands.

### What it does
- **Stack detection** identifies languages, package managers, and runtime versions across your directory.
- **Multi-layer auditing** scans for lint errors, known CVEs, hardcoded secrets, and risky code patterns like SQL injection.
- **Dependency analysis** flags outdated packages and end-of-life runtimes with prioritized upgrade paths.
- **Prioritized reporting** generates a structured Markdown report with a weighted health score and actionable fix commands.
- **Safe automation** applies non-breaking lint fixes and security patches only when explicitly requested.

### How it works
1. **Discovery** scans for manifest files like `package.json`, `requirements.txt`, or `go.mod` to map the ecosystem.
2. **Analysis** executes preferred native tools such as `eslint`, `ruff`, `cargo audit`, or `npm audit` based on availability.
3. **Synthesis** aggregates results into a single report, masking secrets and prioritizing critical vulnerabilities.
4. **Fixing** (Optional) creates a new git branch to apply safe auto-fixes and security patches if instructed.

### Frameworks & tools
Supports JavaScript/TypeScript, Python, Go, Rust, Java/Kotlin, C#, PHP, Ruby, Dart/Flutter, Swift, C/C++, Docker, and Terraform. Works with native package managers and security scanners like `osv-scanner`, `gitleaks`, and `semgrep`.

### Why this beats prompting it yourself
Generic prompts often miss environment-specific lockfiles or fail to use the project's own linter configurations. This skill follows a rigorous multi-step protocol that prefers actual tool output over AI hallucinations, ensuring CVE IDs and version numbers are accurate.

### Use cases
- Run a pre-release audit to ensure no secrets or critical CVEs are being shipped to production.
- Generate a technical debt report for a legacy repository you just inherited.
- Automate the identification of end-of-life runtimes and major version lags across microservices.
- Perform a quick security triage on a Pull Request before merging.

### Known limitations
Does not run full SAST/DAST or penetration tests. Relies on locally installed tools or basic pattern matching if tools are missing. Large repos (>5k files) are sampled for performance.

## Requires

- Python
- eslint
- Node.js
- biome
- tsc

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the codebase health check skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from simply asking an AI to review my code?

The skill automatically detects your project's language (Python, JS, Go, etc.) and runs native industry-standard scanners like Semgrep and OSV-Scanner to identify actual security vulnerabilities and technical debt rather than relying on AI guesswork.

### Can I use this on a repository that contains multiple different programming languages?

Yes, it supports all major ecosystems including JavaScript, Python, Go, Rust, Java, and even infrastructure code like Docker and Terraform, making it ideal for polyglot repositories.

### Do I need to manually configure linting rules or security policies for the skill to work?

No complex configuration is needed; the skill is designed to auto-discover manifest files like package.json or requirements.txt and execute the appropriate analysis tools immediately upon deployment.

### Will this skill automatically modify my source code or commit changes without my permission?

By default, the skill provides a read-only audit report; it will only apply non-breaking lint fixes or security patches if you explicitly authorize it to create a new git branch for those changes.

### Are there any limitations on the size or complexity of the codebase it can analyze?

While the skill is highly thorough, it is limited to scanning roughly 5,000 files per run to ensure performance; for massive monorepos, we recommend running the audit on specific sub-directories.

### What exactly is included with my purchase of the Codebase Health Check skill?

Your purchase includes the full agent skill logic, integrated support for over 12 programming languages, and a license for all future updates and security definition improvements.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
