sport-mode
Activate "Sport Mode" for high-frequency monitoring (default 3m heartbeat) and auto-cleanup. Use when supervising intense tasks (Codex, builds, migrations).
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sport-mode
- metadata
- { "openclaw": { "emoji": "?️" } }
- description
- Activate "Sport Mode" for high-frequency monitoring (default 3m heartbeat) and auto-cleanup. Use when supervising intense tasks (Codex, builds, migrations).
02 资源文件 3
- 参考文档_meta.json272 B
- 参考文档README.md4.0 KB
- 脚本scripts/sport-mode.sh1.4 KB
03 SKILL.md 正文
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
# 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
- ON:
- Patches
~/.openclaw/openclaw.json(hot-reload) to setheartbeat.every. - Writes your task to
HEARTBEAT.mdwith a "Sport Mode Active" header.
- Patches
- OFF:
- Patches config back to
30m(default). - Clears
HEARTBEAT.md.
- Patches config back to
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.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.