Uses Managed Agents' 14.5-hour runtime to audit an entire codebase overnight. Security, performance, accessibility, dependency issues. You wake up to a full report.
npx skills add https://github.com/OneWave-AI/claude-skills --skill overnight-repo-auditor
Autonomously audit an entire codebase overnight and produce a single severity-rated report covering security, performance, accessibility, dependencies, and code quality. Built for Anthropic's Managed Agents runtime (14.5-hour task horizon): run to completion without questions or confirmation, writing structured findings to disk as execution proceeds so partial results survive interruption.
references/reconnaissance.md -- Phase 1 steps and the reconnaissance report template.references/shared-rubric.md -- Severity rating rubric and structured finding format. Pass both to every agent.references/agent-security.md -- Security Auditor brief and output format.references/agent-performance.md -- Performance Auditor brief and output format.references/agent-accessibility.md -- Accessibility Auditor brief, skip condition, and output format.references/agent-dependency.md -- Dependency Auditor brief, skip condition, and output format.references/agent-code-quality.md -- Code Quality Auditor brief and output format.references/compilation-and-templates.md -- Phase 3 compilation steps, final report template, and completion message.audit-workspace/ directory and overnight-audit-report.md. Never modify, build, or execute project code. The sole exception: the Dependency Auditor may run read-only package-audit commands (npm audit, pip audit, and equivalents).audit-workspace/00-reconnaissance.md as the shared context document for all agents.Follow references/reconnaissance.md for exact commands and the report template.
run_in_background: true on every call and send ALL agent calls in a single message.references/shared-rubric.md, and the agent-specific brief from its reference file. Each agent writes to its own output file under audit-workspace/.references/agent-security.md -> 01-security-audit.mdreferences/agent-performance.md -> 02-performance-audit.mdreferences/agent-accessibility.md -> 03-accessibility-audit.md (honor skip condition)references/agent-dependency.md -> 04-dependency-audit.md (honor skip condition)references/agent-code-quality.md -> 05-code-quality-audit.mdovernight-audit-report.md to the repository root, then emit the brief completion message.Follow references/compilation-and-templates.md for the deduplication map, final report template, and completion message.
| Codebase Size | Estimated Duration | Agent Strategy |
|---------------|-------------------|----------------|
| < 10K lines | 15-30 minutes | All agents, single pass each |
| 10K - 50K lines | 30-90 minutes | All agents, thorough pass |
| 50K - 200K lines | 1-4 hours | All agents, may need sub-agents for Security and Code Quality |
| 200K - 500K lines | 4-8 hours | All agents spawn 2-3 sub-agents each to parallelize file review |
| 500K+ lines | 8-14 hours | Full sub-agent deployment with file-batch assignments per sub-agent |
For codebases over 200K lines, each audit agent should spawn sub-agents to parallelize within its domain (for example, Security splits into Auth & Sessions, Data Handling, API Surface, and Infrastructure). Each brief instructs agents to self-organize sub-agent deployment based on the size discovered during their audit.
audit-workspace/ directory and overnight-audit-report.md. Suggest the user commit or copy prior results first..gitignore exists but does not list audit-workspace/, suggest adding it to prevent committing audit output.Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take onewave-ai/overnight-repo-auditor from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.