nightly-audit

Audit 13 security metrics nightly and report anomalies with alert levels.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/run6270/skill --skill nightly-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nightly-audit
Source: https://github.com/run6270/skill/tree/main/nightly-audit
Command: npx skills add https://github.com/run6270/skill --skill nightly-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates a comprehensive nightly security audit to detect anomalies, configuration tampering, and credential leaks, ensuring the continuous security of your Claude Code environment.

Core Features & Use Cases

  • 13 Core Security Metrics: Covers configuration integrity, process monitoring, sensitive directory changes, scheduled tasks, login activity, file integrity, sensitive data scanning, and more.
  • Automated Reporting: Generates detailed reports on audit findings with defined alert levels (Critical, High, Medium, Low).
  • Git Backup: Automatically backs up the .claude/ directory to a private Git repository.
  • Use Case: Schedule this skill to run every night to proactively identify and alert on any potential security vulnerabilities or unauthorized changes before they can be exploited.

Quick Start

Set up the nightly security audit by adding the provided script to your crontab to run daily at 3:00 AM.

Frequently Asked Questions about nightly-audit

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

FAQPage Schema
How do I automate a nightly security audit for my development environment?

Automate a nightly security audit by scheduling a shell script via crontab to run daily, scanning 13 core metrics like configuration integrity and sensitive data. It generates reports with defined alert levels and backs up configurations to Git.

What does an automated security audit check for in configuration integrity and file monitoring?

An automated security audit checks for configuration tampering, process monitoring anomalies, sensitive directory changes, and file integrity. It scans for credential leaks and unauthorized modifications, providing detailed reports categorized by Critical, High, Medium, and Low alert levels.

Can I use Git to back up sensitive configuration directories automatically?

Yes, you can automatically back up the .claude/ configuration directory to a private Git repository. This Git backup integration occurs during the nightly audit, ensuring your environment configurations are versioned and recoverable.

How do I schedule a daily security scan to detect credential leaks and unauthorized changes?

Schedule a daily security scan by adding the provided shell script to your system crontab, typically set for 3:00 AM. This automates sensitive data detection and configuration integrity checks, alerting you to vulnerabilities before exploitation.

Does the nightly audit script require any external dependencies to run?

No, the nightly audit script requires no external dependencies to run. It utilizes shell scripting for execution and integrates directly with Git for backup purposes, ensuring a self-contained security audit process.

What is the best way to monitor login activity and scheduled tasks for security anomalies?

The best way to monitor login activity and scheduled tasks is through an automated nightly audit covering 13 core security metrics. It identifies anomalies and unauthorized changes, generating reports with explicit alert levels for proactive remediation.