codebase-review-swarm

Runs quote-grounded multi-track codebase audits with coverage closure and critic validation.

Updated May 31, 2026
One-click install
npx skills add https://github.com/AlexanderNarbaev/agi --skill codebase-review-swarm-alexandernarbaev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-review-swarm
Source: https://github.com/AlexanderNarbaev/agi/tree/main/.opencode/skills/codebase-review-swarm
Command: npx skills add https://github.com/AlexanderNarbaev/agi --skill codebase-review-swarm-alexandernarbaev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Deep codebase reviews often produce shallow, hallucinated, or unverifiable findings. This Skill enforces an evidence-gated review workflow where every claim must cite exact file paths, line numbers, and verbatim quotes, and no report ships until all coverage units are closed and a final critic pass approves the synthesis. ## Core Features & Use Cases - Phase 0 Inventory: Maps directories, entry points, manifests, dependencies, claims, public surfaces, trust boundaries, tests, UI, and AI/MCP surfaces before any review begins. - Selectable Review Tracks: Supports focused or combined tracks for functionality, security and supply chain, testing, UI/accessibility, performance/observability, AI-slop detection, and enhancement catalogs, with non-diluting depth per track. - Validation Pipeline: Explorer candidates are filtered by reviewer validation, inline critics for CRITICAL/HIGH defects, enhancement critics, and a mandatory final whole-report critic, with artifacts written to .swarm/review-v8 runs. - Use Case: Ask for a security and supply-chain audit of a repository; the skill inventories the codebase, checks dependencies against SLSA v1.2 and OWASP ASVS 5.0.0 baselines, validates each finding with quoted evidence, and produces a structured review report without modifying source files. ## Quick Start Ask the agent to run $codebase-review-swarm at the repository root to perform a full evidence-grounded codebase review.

Frequently Asked Questions about codebase-review-swarm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a comprehensive codebase review with an AI agent?

Invoke $codebase-review-swarm at the repository root. It runs a Phase 0 inventory first, then stops to let you choose review tracks such as security, testing, or full integrated review before generating candidates and a validated report.

What security standards does this code review skill apply?

It applies OWASP ASVS 5.0.0 for web controls, OWASP Top 10 for LLM Applications 2025 for AI and MCP surfaces, SLSA v1.2 with OpenSSF Scorecard checks for supply chain, WCAG 2.2 AA for accessibility, and OpenTelemetry for observability.

Does the codebase review modify or fix my source files?

No. The skill is strictly read-only for source code. It produces a review report and artifacts under .swarm/review-v8/runs/<run_id>/ and never applies fixes, dependency upgrades, or remediation patches.

Can I run only a security review instead of all tracks?

Yes. After Phase 0 you select a focused mode such as Security and Supply Chain Focus. The protocol guarantees focused tracks receive equal or greater depth than in a full review, never diluted coverage.

How does the review prevent hallucinated findings?

Every claim must include an exact file path, line range, and verbatim quote under the No Quote No Claim rule. Candidates also require explicit disproof analysis, reviewer validation, and critic passes for CRITICAL and HIGH findings.

Which AI coding hosts support this skill package?

The package supports OpenCode, Codex, and Claude Code. Install it under .opencode/skills, .agents/skills, or .claude/skills depending on the host, with agents/openai.yaml providing Codex metadata.