on

on is a command for Claude Code from mrzeszowski/claude-code-keep-alive. It costs 13 tokens per session (86 once invoked), scanned A, original, MIT.

A command that keeps a computer awake so it does not enter sleep mode, optionally for a set period.

In plain words
What is it for?
Use it during lengthy terminal jobs or whenever the machine must remain available for a fixed duration.
Why use it?
It prevents long-running commands, downloads, builds, or other work from being interrupted by automatic sleep.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the keep-alive plugin — 4 commands, 2 hooks shipped together

Good fit Use it during lengthy terminal jobs or whenever the machine must remain available for a fixed duration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mrzeszowski/claude-code-keep-alive/on
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mrzeszowski/claude-code-keep-alive

Made for: Claude Code.

Or install keep-alive, the plugin that ships this one along with the rest of its 4 commands, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for on

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrzeszowski/claude-code-keep-alive/on/github.svg)](https://agentmods.dev/commands/mrzeszowski/claude-code-keep-alive/on)
Your own site
<a href="https://agentmods.dev/commands/mrzeszowski/claude-code-keep-alive/on"><img src="https://agentmods.dev/badge/commands/mrzeszowski/claude-code-keep-alive/on/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for on

Your own site · 80×15
<a href="https://agentmods.dev/commands/mrzeszowski/claude-code-keep-alive/on"><img src="https://agentmods.dev/badge/commands/mrzeszowski/claude-code-keep-alive/on.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 86 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00086
Opus 5.5 $0.00005 $0.00034
Sonnet 5.5 $0.00003 $0.00017
Haiku 4.5 $0.00001 $0.00009

Measured 1mo ago against content hash d0f7efa36145, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

on scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/on.md · 9 lines

What it actually says

Run keep-alive on $ARGUMENTS using the Bash tool and print its stdout/stderr verbatim, with no commentary, no summarization, and no follow-up suggestions.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 9 lines · 13 tokens per session scan A d0f7efa36145

Subscribe to this mod's changes

on is a command published in the GitHub repository mrzeszowski/claude-code-keep-alive (2 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 86 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

ccc-status

Turn periodic progress updates for long sessions on or off, choose the channel (Slack, Discord, email or console), interval and detail level, or send one now. Use when the user asks to be kept posted, pinged on progress, or to stop updates.

KevinZai/commander · 56 tokens

ccc-teleport

Move work between devices: pull a Claude Code on the web session into this terminal with teleport, or keep a local session controllable from the web or mobile app with Remote Control. Use when switching device, monitoring a long task from a phone, or resuming a cloud session locally.

KevinZai/commander · 57 tokens

ccc-cloudcli

Open, inspect or start CloudCLI web sessions so Claude Code is reachable from a browser or phone. Use when the user asks for web or mobile access to a running session.

KevinZai/commander · 35 tokens

ccc-caveman

Switch responses to caveman mode at lite, full or ultra intensity to cut output tokens while keeping technical accuracy. Use when iterating fast and you want terse answers.

KevinZai/commander · 33 tokens

ccc-aside

Answer a quick side question mid-task without editing files or losing the current task, then resume where work paused. Use when you want a fast explanation or second opinion without derailing the work.

KevinZai/commander · 38 tokens

orchestrate

Do this task as an orchestrator. The aim is the same result at a fraction of the cost: in a long session, every token in this conversation is re-read on each later request, while a subagent's reading is discarded when it returns. The plugin's subagents run on Haiku 5.5, about 40× cheaper per token than Opus 5.5.

egorfedorov/claude-context-optimizer · 0 tokens