tomasmarekk

AgentNight — AI skill for Claude Code

AI community

Turns your computer off once your AI coding agents finish.

How to install AgentNight

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tomasmarekk/agentNight and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AgentNight does

Turns your computer off once your AI coding agents finish. Lightweight tray app for Claude Code, Codex, Gemini CLI, opencode, Cursor, Pi, Factory Droid, Antigravity and more. Rust + Tauri, Windows, macOS and Linux.

Alternatives in AI

  • Graphify — AI coding assistant skill (Claude Code, Codex, OpenCode, OpenClaw, Factory Droid, Trae) 20.9k ★
  • Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
  • Flow Next — Plan-first AI workflow plugin for Claude Code, OpenAI Codex, and Factory Droid 569 ★

README

![agentNight](docs/agentnight-img.png)

[![CI](https://repo-badges.46.224.229.218.sslip.io/github/ci/tomasmarekk/agentNight.svg?workflow=393960949&branch=main&variant=secondary&v=ci-393960949)](https://github.com/tomasmarekk/agentNight/actions/workflows/ci.yml) ![badge](https://repo-badges.46.224.229.218.sslip.io/badge/Win%20%E2%80%A2%20MacOS%20%E2%80%A2%20Linux.svg?variant=secondary&logo=ri%3ABsLaptop&valueColor=ffffff&labelTextColor=ffffff) [![Repo License](https://repo-badges.46.224.229.218.sslip.io/github/license/tomasmarekk/agentNight.svg?variant=secondary&v=public)](https://github.com/tomasmarekk/agentNight/blob/main/LICENSE)

Leave your AI coding agents running overnight and let the computer turn itself off when they are done.

agentNight sits in the tray, watches your agent sessions and, once the last one has finished, shuts the computer down.

Install

Download the latest build from [Releases](https://github.com/tomasmarekk/agentNight/releases/latest).

Platform File
Windows 10/11 agentNight_x.y.z_x64-setup.exe (or .msi)
macOS 11+ (Apple Silicon and Intel) agentNight_x.y.z_universal.dmg
Linux .AppImage, .deb or .rpm

The builds are not code-signed yet:

  • Windows: if SmartScreen appears, choose More info → Run anyway.
  • macOS: after moving the app to Applications, run xattr -dr com.apple.quarantine /Applications/agentNight.app once. The first time you arm the switch, macOS asks whether agentNight may control System Events. Allow it, otherwise the shutdown cannot happen.
  • Linux: the tray icon needs AppIndicator support (libayatana-appindicator3; on GNOME also the AppIndicator extension).

Use

  1. Start your agents as usual.
  2. Open agentNight and turn on Shut down when done. The switch is only available while at least one agent is working.
  3. Close the window (it keeps running in the tray) and go to sleep.

When every session has finished, agentNight waits 5 minutes to make su