Nightly Build ๐ŸŒ™

An automation skill that runs maintenance tasks while you sleep and delivers a morning briefing.

3,891 stars
Complexity: easy

About this skill

The Nightly Build skill is designed to automate routine system and agent maintenance, ensuring your AI environment remains optimized and up-to-date without manual intervention. It runs a suite of predefined tasks, including auditing installed skills for vulnerabilities, pulling the latest changes from Git repositories, cleaning up temporary files and old logs, and performing health checks on disk space and system load. This skill is invaluable for developers and power users who rely on their AI agents for continuous operations. By scheduling these critical tasks during off-peak hours, it frees up valuable time and reduces the risk of operational issues due to outdated components or system clutter. The integrated briefing feature delivers a summarized report of all activities and findings, providing a clear overview of the system's health and any actions taken. Utilizing Nightly Build helps maintain a robust and efficient development workflow. It acts as a proactive guardian for your agent's ecosystem, catching potential problems early and ensuring that your tools are always ready for peak performance when you begin your day.

Best use case

The primary use case is automated, hands-off system maintenance and proactive health monitoring for an AI agent's operational environment. This skill benefits developers, system administrators, and anyone who wants to ensure their AI coding agents and development setup are consistently updated, secure, and clean, without having to manually perform these routine checks.

An automation skill that runs maintenance tasks while you sleep and delivers a morning briefing.

A well-maintained, up-to-date AI agent environment and a concise morning report summarizing overnight tasks and system health, ready for your review.

Practical example

Example input

nightly report

Example output

Nightly Build Report (2023-10-27):
- Skill Audit: 0 critical, 2 high vulnerabilities found.
- Auto-Update: 3 repos updated, 1 failed to pull.
- Cleanup: 1.5GB temp files removed.
- Health Check: Disk OK (85% free), CPU load normal.
- Briefing: All systems stable.

When to use this skill

  • To automate routine system health checks and maintenance tasks overnight.
  • When you need to keep your AI agent's skills and development environment consistently updated.
  • For proactive identification and cleanup of potential system issues like disk space or old logs.
  • To receive a quick, summarized report of your system's status each morning.

When not to use this skill

  • When strict manual oversight is required for every system change or update.
  • For critical production systems where automated updates could introduce instability without immediate human validation.
  • If you rarely use your AI agent and daily maintenance checks are unnecessary.
  • In environments with unreliable or costly network access during scheduled maintenance times.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/nightly-build/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/0xraini/nightly-build/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/nightly-build/SKILL.md inside your project
  3. Restart your AI agent โ€” it will auto-discover the skill

How Nightly Build ๐ŸŒ™ Compares

Feature / AgentNightly Build ๐ŸŒ™Standard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

An automation skill that runs maintenance tasks while you sleep and delivers a morning briefing.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Nightly Build ๐ŸŒ™

An automation skill that runs maintenance tasks while you sleep and delivers a morning briefing.

Inspired by [The Nightly Build](https://www.moltbook.com/post/562faad7-f9cc-49a3-8520-2bdf362606bb).

## Commands

- `nightly report` โ€” Show the last nightly build report.
- `nightly run` โ€” Trigger a manual run (for testing).
- `nightly config` โ€” Configure tasks (update skills, check disk, etc.).

## Tasks

- ๐Ÿ“ฆ **Skill Audit**: Run `npm audit` on installed skills.
- ๐Ÿ”„ **Auto-Update**: Pull latest changes from git repos.
- ๐Ÿงน **Cleanup**: Remove temporary files and old logs.
- ๐Ÿ“Š **Health Check**: Verify disk space and system load.
- ๐Ÿ“ **Briefing**: Summarize everything into a morning report.

## Setup

Add this to your cron (e.g., via `openclaw cron add`):
```json
{
  "schedule": { "kind": "cron", "expr": "0 3 * * *", "tz": "Asia/Shanghai" },
  "payload": { "kind": "agentTurn", "message": "Run nightly build tasks and generate report." }
}
```

Related Skills

botlearn-healthcheck

3891
from openclaw/skills

botlearn-healthcheck โ€” BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.

DevOps & Infrastructure

Incident Postmortem Generator

3891
from openclaw/skills

Generate blameless incident postmortems from raw notes, Slack threads, or bullet points.

DevOps & Infrastructure

Post-Mortem & Incident Review Framework

3891
from openclaw/skills

Run structured post-mortems that actually prevent repeat failures. Blameless analysis, root cause identification, and action tracking.

DevOps & Infrastructure

afrexai-performance-engineering

3891
from openclaw/skills

Complete performance engineering system โ€” profiling, optimization, load testing, capacity planning, and performance culture. Use when diagnosing slow applications, optimizing code/queries/infrastructure, load testing before launch, planning capacity, or building performance into CI/CD. Covers Node.js, Python, Go, Java, databases, APIs, and frontend.

DevOps & Infrastructure

OpenClaw Mastery โ€” The Complete Agent Engineering & Operations System

3891
from openclaw/skills

> Built by AfrexAI โ€” the team that runs 9+ production agents 24/7 on OpenClaw.

DevOps & Infrastructure

Legacy System Modernization Engine

3891
from openclaw/skills

Complete methodology for assessing, planning, and executing legacy system modernization โ€” from monolith decomposition to cloud migration. Works for any tech stack, any scale.

DevOps & Infrastructure

Incident Response Playbook

3891
from openclaw/skills

Structured incident response for business and IT teams. Guides you through detection, triage, containment, resolution, and post-mortem โ€” with auto-generated timelines and action items.

DevOps & Infrastructure

Git Engineering & Repository Strategy

3891
from openclaw/skills

You are a Git Engineering expert. You help teams design branching strategies, implement code review workflows, manage monorepos, automate releases, and maintain healthy repository practices at scale.

DevOps & Infrastructure

Django Production Engineering

3891
from openclaw/skills

Complete methodology for building, scaling, and operating production Django applications. From project structure to deployment, security to performance โ€” every decision framework a Django team needs.

DevOps & Infrastructure

IT Disaster Recovery Plan Generator

3891
from openclaw/skills

Build production-ready disaster recovery plans that actually get followed when things break.

DevOps & Infrastructure

afrexai-api-architect

3891
from openclaw/skills

Design, build, test, document, and secure production-grade APIs. Covers the full lifecycle from schema design through deployment, monitoring, and versioning. Use when designing new APIs, reviewing existing ones, generating OpenAPI specs, building test suites, or debugging production issues.

DevOps & Infrastructure

Agent Ops Runbook

3891
from openclaw/skills

Generate a production-ready operations runbook for deploying AI agents. Covers pre-deployment checklists, shadow mode โ†’ supervised โ†’ autonomous rollout stages, monitoring dashboards, rollback procedures, cost management, and incident response templates.

DevOps & Infrastructure