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

tide-watch

بواسطة chrisagiddings

Web & Frontend Development
376التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Proactive session capacity monitoring and management for OpenClaw.

الوصف

ما الذي تفعله هذه المهارة

Monitors OpenClaw session context windows and warns before they fill up. Configurable thresholds (75%, 85%, 90%, 95%) trigger alerts and automatic session backups. Runs in two modes: directive-only with no code installation, or with optional CLI tools for manual session management and archiving.

OpenClaw has no built-in capacity warnings, so sessions silently hit 100% and lock mid-task with no way to recover in-progress work.

متى تستخدمها

  • Getting warned before a long coding session hits context limits
  • Automatically backing up a session at 90% capacity before it locks
  • Resuming a conversation after a context reset using a saved prompt
  • Setting different warning thresholds per channel (Discord vs webchat vs DM)
  • Archiving sessions older than a week to keep the session directory clean

مثال على سير العمل

الإدخال

User asks: What's my current session capacity?

الوكيل
  1. 1

    Runs session_status to retrieve token usage for the current session

  2. 2

    Calculates the percentage of the context window used

  3. 3

    Compares the result against configured warning thresholds

  4. 4

    Reports current capacity and flags any crossed thresholds with recommended actions

الإخراج

Agent reports 87% capacity used, recommends finishing the current task before resetting, and offers to save context and generate a session resumption prompt

التثبيت

clawhub install chrisagiddings/tide-watch

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

الروابط