noz

Prevent Mac sleep with lid closed using a configurable timeout.

10|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Aayush9029/homebrew-tap --skill noz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: noz
Source: https://github.com/Aayush9029/homebrew-tap/tree/main/skills/noz
Command: npx skills add https://github.com/Aayush9029/homebrew-tap --skill noz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents a Mac from sleeping when the lid is closed by enabling a configurable timeout, ensuring ongoing downloads, long builds, or background tasks continue without interruption.

Core Features & Use Cases

  • Lid-closed wake lock: keep the Mac awake for a defined duration.
  • Configurable timeout: set minutes with -m/--minutes.
  • Use Case: ideal for downloads, long builds, or servers running while the lid is closed.

Quick Start

Configure noz to keep the Mac awake for a defined timeout when the lid is closed and verify the behavior.

Frequently Asked Questions about noz

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

FAQPage Schema
How do I keep my Mac awake with the lid closed during long builds or downloads?

To keep your Mac awake with the lid closed, you can apply a configurable wake-lock timeout. This prevents sleep interruptions during long builds, downloads, or background tasks by maintaining power for a defined duration.

What is a lid-closed wake lock and when do I need it on a Mac?

A lid-closed wake lock is a power-management mechanism that prevents a Mac from sleeping when the lid is shut. You need it for ongoing background tasks, long builds, or downloads that must continue running uninterrupted.

How do I configure the timeout duration for a Mac lid-closed wake lock?

You configure the timeout duration for a lid-closed wake lock by passing the desired minutes via the -m or --minutes option. This sets a specific timeframe for your Mac to stay awake before allowing sleep.

Do I need Homebrew to install and use this Mac power-management wake lock?

The wake lock aligns with the Homebrew tap installation workflow, making Homebrew the expected method for setup. Installing through this tap ensures the command-line tool is ready for your Mac power-management tasks.

Why does my Mac sleep and interrupt background downloads when I close the lid?

Your Mac sleeps when the lid is closed because default power-management settings suspend background processes. Applying a configurable wake-lock timeout overrides this, ensuring downloads and builds continue without interruption.