- Home
- Skills
- Code Quality & Review
- codebase health check
Works with the AI Agents you already use
codebase health check
by Abinesh Lal
Automated multi-language code audits for linting, security vulnerabilities, and outdated dependencies.
$5
codebase health check
Example session with this skill installed
Run a health check on this Python project. Check for vulnerabilities and outdated packages, then give me the report.
- Read your context and instructions
- Compiled the codebase health check
I have completed the health check for the repository. I detected a Python stack using poetry and ran ruff, pip-audit, and poetry show --outdated.
Code Health Report — analytics-api
Generated 2024-05-20 · Scope: full (142 files) · Mode: read-only
Summary
| Area | Status | Critical | High | Medium | Low |
|---|---|---|---|---|---|
| Lint / Quality | 🟡 | 0 | 0 | 4 | 12 |
| Vulnerabilities | 🔴 | 1 | 0 | 0 | 0 |
| Secrets | 🟢 | 0 | 0 | 0 | 0 |
| Outdated deps | 🟡 | 0 | 1 | 2 | 5 |
| Runtime EOL | 🟢 | 0 | 0 | 0 | 0 |
Health score: 62/100 — Critical vulnerability detected in requests library. Fix immediately.
🔥 Fix First
- [Critical] CVE-2023-32681 —
poetry.lock— Insufficient verify-matching inrequests< 2.31.0. Fix:poetry add requests@latest. - [High] Outdated Runtime —
pyproject.toml— Python 3.8 reaches EOL in 5 months. Plan upgrade to 3.11.
1. Lint & Code Quality
- Tool(s):
ruff· Total: 4 errors, 12 warnings - Top rules:
F401(Unused import),E501(Line too long),B008(Function call in default arg). - Findings:
app/main.py:12(Unused importsys),app/db.py:45(Mutable default argument).
2. Vulnerabilities
Dependency CVEs
| Package | Installed | Fixed in | Severity | ID | Direct/Transitive |
|---|---|---|---|---|---|
| requests | 2.28.1 | 2.31.0 | Critical | GHSA-8mcg-m862-5r52 | Direct |
Code Patterns
| Severity | Confidence | Category | Location | Evidence | Fix |
|---|---|---|---|---|---|
| Medium | Likely | SQLi | app/api.py:22 | execute("SELECT... " + id) | Use params |
3. Versions & Upgrades
| Package | Current | Latest | Type | Risk |
|---|---|---|---|---|
| pydantic | 1.10.7 | 2.7.1 | Major | High (Breaking changes) |
| fastapi | 0.95.0 | 0.111.0 | Minor | Low |
Upgrade Plan
poetry add requests@latest(Security fix)poetry update fastapi uvicorn(Minor updates)poetry add pydantic@latest(Requires manual migration to V2)
Next steps
- Run
poetry add requests@latestto patch the critical vulnerability. - Review the
app/api.pyfile to implement parameterized SQL queries. - Schedule a sprint to migrate Pydantic from V1 to V2.
Connects securely to your tools. The creator never sees your data.
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
- Discovery scans for manifest files like
package.json,requirements.txt, orgo.modto map the ecosystem. - Analysis executes preferred native tools such as
eslint,ruff,cargo audit, ornpm auditbased on availability. - Synthesis aggregates results into a single report, masking secrets and prioritizing critical vulnerabilities.
- 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
- Software
Pythoneslint
Node.jsbiometsc
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.