跳到正文
TakoAPI
返回技能列表

sport-mode

由 l1vein 提供

DevOps & Cloud
888下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Activate "Sport Mode" for high-frequency monitoring (default 3m heartbeat) and auto-cleanup.

描述

该技能的功能

Sport Mode temporarily increases the heartbeat frequency of the OpenClaw agent loop and injects a monitoring task into HEARTBEAT.md. Designed for supervising intensive background work like code generation runs, builds, or migrations. Turn it on with a task and termination condition, then it resets automatically when you turn it off.

Patching the config at runtime triggers a live Gateway reload, so you get faster heartbeats without restarting the agent process.

何时使用

  • Watching a Codex agent complete a multi-file refactor
  • Monitoring a long database migration until it finishes
  • Tracking CI build progress at 1-minute intervals
  • Running a turn-based game loop with per-tick state updates
  • Supervising a staged deployment with per-stage status checks

示例工作流

输入

User asks: sport-mode on --task "Check Codex progress. If done, run sport-mode off." --every "3m"

智能体
  1. 1

    Patches ~/.openclaw/openclaw.json to set heartbeat.every to 3m

  2. 2

    Writes the task and a Sport Mode Active header to HEARTBEAT.md

  3. 3

    Agent wakes every 3 minutes and checks Codex progress

  4. 4

    On completion, runs sport-mode off

  5. 5

    Resets heartbeat to 30m and clears HEARTBEAT.md

输出

Codex run monitored at 3-minute intervals; heartbeat reset to 30m after task completes

安装

clawhub install l1vein/sport-mode

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接