К основному содержанию
скилл CX Codex

overnight-repo-auditor — скилл для Claude Code: что делает и установка

Скилл overnight-repo-auditor запускает автономный ночной аудит репозитория по безопасности, качеству кода и зависимостям без лишних вопросов к разработчику.

MIT 253 установок ★ 440 обновлён 2026-10-20

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add OneWave-AI/claude-skills --skill overnight-repo-auditor -a claude-code
Открыть на GitHub

Что делает overnight-repo-auditor

Скилл рассчитан на длительный запуск до 14.5 часа в среде Managed Agents и выполняет работу в три последовательных этапа. Сначала сканируется файловая структура и стек технологий, а результаты разведки сохраняются в audit-workspace/00-reconnaissance.md. Затем параллельно запускаются отдельные субагенты: безопасность, производительность, доступность интерфейсов, аудит зависимостей и общее качество кода.

Процесс остаётся строго в режиме чтения и не вносит изменений в репозиторий. Единственные исполняемые команды — вызовы пакетных менеджеров вроде npm audit или pip audit. Все промежуточные находки скилл сохраняет в каталог audit-workspace/, поэтому данные не пропадут при сбое сессии, а финал сводится в файл overnight-audit-report.md с топом из 10 главных проблем. Без доступного инструмента Agent параллельный запуск модулей не сработает.

Какие задачи решает

  • провести глубокий аудит репозитория без ручных подтверждений каждого шага
  • проверить зависимости на уязвимости через npm audit и pip audit
  • выявить дефекты доступности и просадки производительности
  • собрать единый отчёт с дедупликацией находок и топ-10 критических правок

Примеры запросов агенту

  • Проведи полный ночной аудит репозитория и сохрани итоговый отчёт
  • Запусти аудит безопасности и зависимостей в фоновом режиме
  • Собери отчёт по качеству кода и производительности проекта

Как установить overnight-repo-auditor

1Через Skills CLI (Vercel)

npx skills add OneWave-AI/claude-skills --skill overnight-repo-auditor -a claude-code

2Вручную: положить файлы

~/.claude/skills/overnight-repo-auditor/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/overnight-repo-auditor/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об overnight-repo-auditor

Как установить overnight-repo-auditor в Claude Code?

Выполните в терминале команду npx skills add OneWave-AI/claude-skills --skill overnight-repo-auditor -a claude-code.

Что делает скилл overnight-repo-auditor?

Он самостоятельно исследует кодовую базу, запускает параллельные проверки безопасности, зависимостей и вёрстки, после чего генерирует отчёт overnight-audit-report.md.

Меняет ли этот скилл файлы в проекте?

Нет, аудит идёт только на чтение исходников. Создаются исключительно рабочая папка audit-workspace/ и итоговый отчёт.

Исходный текст

SKILL.md · MIT
---
name: overnight-repo-auditor
description: 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.
tools: Read, Grep, Glob, Bash, Agent, Write
model: inherit
---

# 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.

## Contents

- `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.

## Operating Rules

- Run autonomously. Never ask the user for input. When a decision is ambiguous, choose the more thorough option and document the choice in the report.
- Read-only against source. Create only the `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).
- Be exhaustive, not sampling-based, while the time window allows.

## Workflow

### Phase 1: Reconnaissance (sequential, ~5-10 min)

1. Scan repository structure, identify languages, frameworks, config files, and estimate lines of code.
2. Determine which audit modules are relevant (Security and Code Quality always; Performance always; Accessibility only with frontend/template files; Dependency only with a manifest/lockfile).
3. Write `audit-workspace/00-reconnaissance.md` as the shared context document for all agents.

Follow `references/reconnaissance.md` for exact commands and the report template.

### Phase 2: Parallel Audit Deployment

4. Deploy every relevant audit agent simultaneously via the Agent tool. Use `run_in_background: true` on every call and send ALL agent calls in a single message.
5. Build each agent's prompt by combining: the full reconnaissance report (paste inline -- agents do not share filesystem context automatically), the severity rubric and finding format from `references/shared-rubric.md`, and the agent-specific brief from its reference file. Each agent writes to its own output file under `audit-workspace/`.
   - Security -> `references/agent-security.md` -> `01-security-audit.md`
   - Performance -> `references/agent-performance.md` -> `02-performance-audit.md`
   - Accessibility -> `references/agent-accessibility.md` -> `03-accessibility-audit.md` (honor skip condition)
   - Dependency -> `references/agent-dependency.md` -> `04-dependency-audit.md` (honor skip condition)
   - Code Quality -> `references/agent-code-quality.md` -> `05-code-quality-audit.md`
6. For a targeted run (e.g., "security and dependencies only"), deploy just those agents and include only their sections in the final report.

### Phase 3: Report Compilation (sequential, ~5-10 min)

7. After all background agents return, read every agent report, deduplicate cross-agent findings, assign final severities, and generate the executive summary with the top-10 priority items.
8. Write the compiled `overnight-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.

## Scaling

| 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.

## Error Handling

- **Agent failure**: retry the agent once with the same brief. If it fails again, write a partial report noting the failure, continue with the other agents, and document the lost coverage in the final report. Never let one agent block the others.
- **File access errors**: skip the file, log it in that agent's Methodology Notes, and continue.
- **Timeout management**: prioritize high-risk files first (auth, payments, data handling, public endpoints). If an agent reviews more than 2000 files, note that a sampling strategy was used for lower-risk files. The Commander compiles partial results if the window is closing.
- **Re-runs**: a new audit overwrites the previous `audit-workspace/` directory and `overnight-audit-report.md`. Suggest the user commit or copy prior results first.

## Notes

- Reports describe source code, so treat them with the same sensitivity as the code itself.
- If `.gitignore` exists but does not list `audit-workspace/`, suggest adding it to prevent committing audit output.

© OneWave-AI · MIT · OneWave-AI/claude-skills

Похожие скиллы

Все скиллы по теме «Код-ревью и рефакторинг» →
repo-publication-auditor davila7 Субагент repo-publication-auditor для Claude Code проверяет репозиторий перед публикацией на утечку секретов в истории коммитов. Запускается перед открытым релизом внутреннего проекта или переводом приватного репозитория в публичный. CX Codex 53установок master-website-auditor Legion Code Inc. Скилл master-website-auditor запускает полный аудит веб-сайта через последовательность из 20 модулей анализа: от определения платформы и сканирования контента до SEO, безопасности, производительности и финальных отчётов. CX Codex +1 ★ 96звёзд репо ghost-repo-context ghostsecurity Скилл ghost-repo-context сканирует кодовую базу, находит проекты и записывает карту архитектуры в repo.md. Нужен перед анализом безопасности или знакомством с новым репозиторием. CX Codex +1 4 200установок security-auditor Samarth Gupta Субагент security-auditor ищет эксплуатируемые уязвимости в аутентификации, обработке недоверенных данных, хранении секретов и зависимостях. Запускается после изменений в auth, API-эндпоинтах или работе с файлами. CX Codex ★ 276звёзд репо quality orwa-mahmoud Скилл quality для Claude Code собирает задачи по качеству кода в одну смену. Он включается по запросу на проверки, тесты, доступность, документацию или безопасность. CX Codex +1 ★ 571звёзд репо dependency-auditor alirezarezvani Скилл dependency-auditor проверяет зависимости на уязвимости и проблемы с лицензиями, а затем предлагает варианты исправления. Запускайте проверку после изменений в файлах зависимостей или перед деплоем. CX Codex +1 ★ 788звёзд репо

Из того же набора185

Весь набор →
customer-journey-mapper Скилл customer-journey-mapper для Claude Code создаёт подробную карту пути клиента от первого контакта до адвокатуры бренда в customer-journey.md. Карта помогает находить точки оттока и проектировать онбординг. CX Codex +1 257установок contract-redliner Скилл contract-redliner для Claude Code разбирает договор по разделам, оценивает риски и предлагает формулировки для правок. Помогает подготовить замечания и вести переговоры по условиям. CX Codex +1 256установок deal-closer-playbook Скилл deal-closer-playbook собирает факты о сделке, исследует компанию через веб-поиск и формирует пошаговый файл deal-playbook.md для сейлз-репа. CX Codex +1 256установок meeting-to-tasks Скилл meeting-to-tasks разбирает транскрипты встреч на решения, задачи с исполнителями и сроками, находит скрытые обещания и готовит файлы задач для таск-трекеров. CX Codex +1 255установок cowork-deal-room Скилл cowork-deal-room разбирает документы сделки по пяти этапам и собирает отчёт о рисках, условиях, находках и пунктах для переговоров. CX Codex +1 253установок lead-scoring-model Скилл lead-scoring-model анализирует историю закрытых сделок и строит модель оценки лидов, привязанную к реальным данным вашей компании. Генерирует документацию с размерами оценки, пороговыми значениями и инструкциями по внедрению в CRM. CX Codex +1 253установок incident-responder Скилл incident-responder помогает расследовать сбои: проверяет логи и недавние изменения, оценивает серьёзность и готовит отчёт с причиной и мерами профилактики. Пригодится во время инцидента и после восстановления. CX Codex +1 253установок runbook-generator Скилл runbook-generator для Claude Code анализирует код, конфигурацию инфраструктуры и скрипты деплоя, затем создаёт операционный runbook.md. Документ описывает выкладку, реагирование на инциденты и восстановление. CX Codex +1 252установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой