تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

sport-mode

بواسطة l1vein

DevOps & Cloud
888التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط