# Repo Doctor

> Hybrid deterministic and AI-powered codebase auditor providing security, logic, and performance reports in HTML.

Repo Doctor is a paid AI agent skill on Agensi by Abu Devis Jalaluddin Rumi, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [Abu Devis Jalaluddin Rumi](https://www.agensi.io/creators/abu-devis-jalaluddin-rumi)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/repo-doctor
- Tags: llm-ops, code-review, security, laravel, nextjs, python

## About this skill

Static analysis and AI prompting often fail to catch high-stakes logic flaws, while pure AI audits suffer from hallucinations and false positives. This skill delivers a hybrid auditing workflow that pairs a zero-dependency deterministic Python scanner with a deep multi-domain AI review to verify security, performance, and business logic.

### What it does
- **Deterministic Scanning** identifies hard-coded secrets, oversized assets, dependency CVEs, and configuration hygiene using a local Python script.
- **Multi-Domain Verification** audits security, business logic, database performance, and deployment readiness across Laravel, Next.js, Express, and Python stacks.
- **Hallucination Filtering** manually verifies every automated finding to dismiss regex false positives before they reach the final report.
- **Manual QA Scaffolding** generates repo-specific test checklists for runtime behaviors that static analysis cannot verify.
- **Interactive HTML Reporting** produces a self-contained, offline-ready audit report with executive scoring, code evidence, and copy-paste fixes.

### How it works
1. **Scan**: Run the deterministic Python script against the target repository to extract technical facts and baseline findings.
2. **Audit**: The agent performs a deep dive into four specific domains: Security, Logic, Database, and Frontend/UX.
3. **Filter**: Findings are verified against the source code, deduplicated, and mapped to a structured JSON schema.
4. **Render**: A final standalone HTML report is generated, complete with dark mode, print-to-PDF support, and a manual QA checklist.

### Frameworks & tools
This skill uses a zero-dependency Python 3.10+ scanner and renderer. It supports repositories built with Laravel, PHP, Next.js, React, Vue, Express, Python, Prisma, and SQL.

### Why this beats prompting it yourself
Standard prompts often miss N+1 queries or TOCTOU race conditions because they lack a systematic rubric. This skill enforces a weighted 4-domain inspection and uses a local script to gather hard facts, ensuring the audit is grounded in actual file data rather than probabilistic guesses.

### Use cases
- **Pre-launch Audits** to catch P0 security vulnerabilities and performance bottlenecks before production deployment.
- **Client Handoffs** to provide a professional, interactive HTML report verifying the quality of a delivered codebase.
- **Legacy Code Reviews** to quickly map out the architecture, tech stack, and technical debt of an unfamiliar repository.
- **Security Checkups** to identify masked secrets, missing CSRF protection, or IDOR risks in authentication flows.

### Known limitations
Requires Python 3.10+ installed on the host machine. Audit depth is limited to the files explicitly identified by the scanner or referenced in findings.

## Requires

- Python

## 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 Repo Doctor 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 prevent the false positives typically found in AI code reviews?

This skill combines a deterministic Python scanner with a structured AI audit to identify security vulnerabilities, business logic flaws, database performance bottlenecks, and deployment readiness issues while filtering out common AI hallucinations.

### What do I need to have installed on my system to use this skill?

You must provide a path to a local repository built with supported frameworks like Laravel, Next.js, Express, or Python, and have Python 3.10 or higher installed on your host machine to run the scanning scripts.

### What kind of report or file output should I expect after an audit?

The skill generates a self-contained, offline-ready interactive HTML report that includes an executive scorecard, filtered finding cards with code evidence, and a repo-specific manual QA checklist.

### How should I ask my agent to start the auditing process?

You can trigger the audit by asking your agent to inspect, score, or perform a security check on a specific codebase before a product launch or client handoff.

### Are there any limitations to what the audit can see or process?

The audit depth is restricted to files explicitly identified by the scanner or referenced in findings, and the host machine must support Python 3.10 (standard library only) for the scanning and rendering stages.

### In what scenarios is this skill most useful for a developer?

This skill is ideal for pre-launch audits to catch P0 vulnerabilities, professional client handoffs, reviewing legacy code debt, and identifying hidden security risks like IDOR or CSRF.

---

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.
