Skip to content
Back to skills

Sport Mode

ASecurity

Activate "Sport Mode" for high-frequency monitoring (default 3m heartbeat) and auto-cleanup. Use when supervising intense tasks (Codex, builds, migrations).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
devopsgobash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill sport-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sport Mode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sport Mode
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-sport-mode/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-sport-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sport-mode
description: Activate "Sport Mode" for high-frequency monitoring (default 3m heartbeat) and auto-cleanup. Use when supervising intense tasks (Codex, builds, migrations).
metadata:
  {
    "openclaw": { "emoji": "🏎️" }
  }
---

# Sport Mode

Temporarily boost heartbeat frequency (default 3m) and inject a monitoring task into `HEARTBEAT.md`.
Perfect for supervising background agents (Codex), long-running builds, or interactive games.

## Usage

```bash
# Turn ON: Set heartbeat to 3m and set monitoring task
sport-mode on --task "Check Codex progress. If done, run sport-mode off."

# Custom Interval: Set to 1 minute
sport-mode on --task "Game tick" --every "1m"

# Turn OFF: Reset heartbeat to 30m and clear HEARTBEAT.md
sport-mode off
```

## How it works

1.  **ON**:
    - Patches `~/.openclaw/openclaw.json` (hot-reload) to set `heartbeat.every`.
    - Writes your task to `HEARTBEAT.md` with a "Sport Mode Active" header.
2.  **OFF**:
    - Patches config back to `30m` (default).
    - Clears `HEARTBEAT.md`.

## Best Practices

### 1. Set a Finish Line
Unless you want an endless marathon, always define a **termination condition** in your task.
- βœ… Good: "Monitor build. **If success or fail, run sport-mode off**."
- ❌ Bad: "Monitor build." (Agent might keep reporting "Done" forever until you manually stop it).

### 2. State Machine in File
For multi-step tasks (like games or staged deployments), let the agent **update HEARTBEAT.md** itself.
- Pattern: Read state -> Execute step -> Write new state -> Sleep.
- This keeps the agent "stateless" (doesn't rely on conversation history context window) but the task "stateful".

### 3. Use tmux for Visibility
If the monitoring task involves terminal output (e.g., Codex coding, compiling), running the task in a **tmux session** is ideal.
- The agent can inspect the pane (`tmux capture-pane`) without interfering.
- The user can attach (`tmux attach`) to watch live.

### 4. Silence is Golden
For high-frequency modes (e.g., 1m), avoid spamming "Nothing happened".
- Configure the agent to reply `HEARTBEAT_OK` (silence) if the status hasn't changed.
- Only notify the user on **milestone completion**, **errors**, or **final success**.

## Implementation Note
This skill uses `openclaw config set` to safely patch configuration at runtime, triggering a seamless Gateway reload.

Files in this skill

  • README.md4 KB
  • SKILL.md2.3 KB
  • _meta.json272 B
  • scripts/sport-mode.sh1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.