Назад към всички

nightly-build

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

$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly

Nightly Build 🌙

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

Inspired by The Nightly Build.

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):

{
  "schedule": { "kind": "cron", "expr": "0 3 * * *", "tz": "Asia/Shanghai" },
  "payload": { "kind": "agentTurn", "message": "Run nightly build tasks and generate report." }
}