ssafy-jinhyeok

Claude Always On — Development skill for Claude Code

Development community

Windows에서 로그온·재부팅·충돌 후에도 백그라운드 Claude Code 세션 하나를 유지: 감시 스크립트와 예약 작업 (Keeps one background Claude Code session alive on Windows across logons, reboots and crashes: a watchdog script and the scheduled.

How to install Claude Always On

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

What Claude Always On does

Windows에서 로그온·재부팅·충돌 후에도 백그라운드 Claude Code 세션 하나를 유지: 감시 스크립트와 예약 작업 (Keeps one background Claude Code session alive on Windows across logons, reboots and crashes: a watchdog script and the scheduled task that runs it)

Alternatives in Development

  • Screenshot — Capture desktop, app windows, or pixel regions across OS platforms 14.6k ★
  • Do Sentry Triage — Triage Sentry crashes for an iOS release into Linear tickets 512 ★
  • Selfsemester — Windows app that turns any subject into a full, scheduled, graded course, built and marked by your own Claude 80 ★

README

claude-always-on

Keeps one background [Claude Code](https://claude.com/claude-code) session alive on **Windows** across logons, reboots and crashes, so there is always a session to reach through Remote Control.

A scheduled task runs `watchdog.ps1` at logon and every 5 minutes:

The session recorded in session-id.txt The watchdog
is running does nothing
has stopped continues it: claude --bg --resume
does not exist (first run, or the file was deleted) starts one in the Desktop folder and records its job id: claude --bg -n always-on --model haiku --add-dir %USERPROFILE% --remote-control

The session can work in your whole home folder (`--add-dir`) and can be reached from your other devices (`--remote-control`). It lives in the Desktop folder because Claude Code does not keep the home folder itself trusted. Change the name, model or flags on that line of `watchdog.ps1`, and the folder in its `-Dir` parameter.

Requirements

Windows 10/11 · Windows PowerShell 5.1 · Claude Code CLI at `%USERPROFILE%\.local\bin\claude.exe`, signed in (last checked on 2.1.325) · Python on `PATH`, used only by the trust repair below.

Install

git clone https://github.com/ssafy-jinhyeok/claude-always-on "$env:USERPROFILE\.claude\always-on"
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.claude\always-on\install.ps1"

`install.ps1` registers the task `Claude Always-On` for the current user, without elevation, and runs it once. The clone is the installation: the task runs `watchdog.ps1` from that folder, so `git pull` updates it. Run `install.ps1` again if you move the folder.

The task has two triggers, each repeating every 5 minutes: one at logon and one from the time of install. The second is there because the first only starts repeating at the next logon.

Trust repair

`claude --bg` does not start in a folder that Claude Code does not trust. When a start is refused with `Workspace not