Token导航 LogoToken导航

Agent Skill · 开发

tide-watch(潮汐表)

tide-watch 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tide-watch 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 2,290。

总安装 18,675周安装 794GitHub Stars 公开资料未说明下载 6,543核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.3.6

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tide-watch(潮汐表)
来源仓库:https://github.com/chrisagiddings/tide-watch
安装命令:
openclaw skills install tide-watch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tide-watch

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

tide-watch 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。适用于监控 OpenClaw 会话容量,防止上下文窗口过载锁定。支持可配置阈值预警(75%、85%、90%、95%),提升对话连续性。

安装命令为 openclaw skills install tide-watch,需确认系统资源访问权限。建议结合具体任务评估其对内存和计算资源的占用情况。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tide-watch;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tide-watch 怎么安装?

在终端执行 openclaw skills install tide-watch。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tide-watch 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tide-watch 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

tide-watch 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tide-watch 用的人多吗?

公开数据是累计安装 18,675 次,近一周安装 794 次,下载 6,543 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tide-watch 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
tide-watch

潮汐表 · 本页

18,675—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
tide-watch
description
Proactive session capacity monitoring and management for OpenClaw. Prevents context window lockups by warning at configurable thresholds (75%, 85%, 90%, 95%), automatically backing up sessions before resets, and managing session resumption prompts. Use when working on long-running projects, managing multiple conversation channels (Discord, Telegram, webchat), or preventing lost work from full context windows. Includes CLI tools for capacity checks, cross-session dashboards, archive management, and session resumption. Supports any model or provider.
author
Chris Giddings
homepage
https://github.com/chrisagiddings/openclaw-tide-watch
repository
https://github.com/chrisagiddings/openclaw-tide-watch
metadata
{"openclaw":{"emoji":"🌊","version":"1.3.6","disable-model-invocation":false,"capabilities":["session-monitoring","capacity-warnings","session-backup","session-resumption","multi-agent-support","auto-detection","file-operations-local"],"requires":{"bins":[],"anyBins":["node"],"config":["~/.openclaw/agents/main/sessions/"],"env":{"optional":["OPENCLAW_SESSION_ID"],"notes":"OPENCLAW_SESSION_ID is optional for auto-detection in CLI mode (v1.3.4+). Not required for Directives-Only mode."}},"install":[{"id":"npm","kind":"node","package":".","command":"npm link","bins":["tide-watch"],"label":"Install tide-watch CLI (requires Node.js 14+, optional for Directives-Only mode)"}],"credentials":{"required":false,"types":[],"notes":"No external credentials required. Operates on local OpenClaw session files only."}}}

Tide Watch 🌊

Proactive session capacity monitoring for OpenClaw.

⚠️ Security & Architecture Notice

Tide Watch is a HYBRID SKILL with two operational modes:

Mode 1: Directives-Only (Recommended for Most Users)

Description: AGENTS.md and HEARTBEAT.md directives only Code Execution: NONE - Uses OpenClaw's built-in tools only (no CLI installation) File Access: Reads OpenClaw session files via agent's built-in tools Installation: Copy template directives to workspace config files Security: Lowest risk - no code installation or execution required

What it does:

  • ✅ Monitors session capacity via session_status tool
  • ✅ Warns at thresholds (75%, 85%, 90%, 95%)
  • ✅ Auto-loads resumption prompts on session reset
  • ✅ All operations through OpenClaw's native tools

Mode 2: CLI Tools (Optional)

Description: Node.js command-line tools for manual management Code Execution: YES - Executable JavaScript code File Access: Direct read/write to ~/.openclaw/agents/main/sessions/ Installation: git clone + npm link (requires Node.js) Security: Moderate risk - requires code inspection before install

What it does:

  • CLI commands: tide-watch status, tide-watch dashboard, etc.
  • Manual capacity checks
  • Session archive management
  • Resumption prompt editing (⚠️ see CVE-2026-001 below)

Mode Comparison

FeatureDirectives-OnlyCLI Tools
Node.js required?❌ No✅ Yes (14+)
InstallationCopy templatesnpm link
Code execution❌ None✅ JavaScript
File accessVia built-in toolsDirect filesystem
Security riskLowestModerate
Use casePassive monitoringActive management

Choose Directives-Only if: You only need capacity warnings and resumption prompts. Choose CLI Tools if: You need manual session management, archiving, or dashboard views.

🚨 CRITICAL SECURITY NOTICE: CVE-2026-001

Vulnerability: Shell injection in editResumePrompt function Affected Version: v1.0.0 ONLY Current Version: v1.0.1 (PATCHED) Severity: HIGH (CVSS 7.8) Status: ✅ FIXED

Summary: v1.0.0 contained a shell injection vulnerability in the CLI's resume-prompt edit command. An attacker who could control the --session parameter could execute arbitrary commands. This has been fixed in v1.0.1 by replacing execSync with spawnSync.

If you installed v1.0.0: Update immediately to v1.0.1.

Full disclosure: See SECURITY-ADVISORY-CVE-2026-001.md

Security Best Practices

For Directives-Only Mode (Safest):

  1. ✅ Copy AGENTS.md.template and HEARTBEAT.md.template to workspace
  2. ✅ No code installation required
  3. ✅ No npm dependencies
  4. ✅ Lowest security surface

For CLI Tools Mode (If Needed):

  1. ⚠️ Verify version 1.0.1 or later (tide-watch --version)
  2. ⚠️ Inspect code before installing:

- Review lib/capacity.js and lib/resumption.js - Check package.json for install hooks (should have none) - Run npm test to verify behavior (113 tests)

  1. ⚠️ Only use UUID session IDs with --session flag
  2. ⚠️ Avoid untrusted input to CLI commands
  3. ⚠️ Review backups location (~/.openclaw/agents/main/sessions/archive/)

Operation Types:

Read-Only Operations (✅ Safe, no modifications):

  • tide-watch status - Check current session count
  • tide-watch check --session <id> - View specific session capacity
  • tide-watch check --current - Auto-detect and check current session (v1.3.4+)
  • tide-watch dashboard - Visual capacity overview
  • tide-watch dashboard --watch - Live updating dashboard
  • tide-watch dashboard --raw-size - Show full precision token counts (v1.3.2+)
  • tide-watch report - List sessions above threshold
  • tide-watch resume-prompt show --session <id> - View resumption prompt

Modifying Operations (⚠️ Moves/creates files):

  • tide-watch archive --older-than <time> - Moves sessions to archive/ (time-based)
  • tide-watch archive --session <id> - Archive specific session (v1.3.3+)
  • tide-watch archive --session <id1> --session <id2> - Archive multiple sessions (v1.3.3+)
  • tide-watch resume-prompt edit --session <id> - Opens editor (CVE patched in v1.0.1)
  • tide-watch resume-prompt delete --session <id> - Deletes resumption prompt file

New Flags (v1.3.2+):

  • --raw-size - Show full precision token counts (e.g., 18,713/128,000 instead of 18.7k/128k)
  • --current - Auto-detect current session via OPENCLAW_SESSION_ID environment variable (v1.3.4+)
  • --session (enhanced) - Supports partial IDs, multiple sessions for archive, labels/channels (v1.3.3+)

File System Access:

  • Reads: ~/.openclaw/agents/main/sessions/*.jsonl (session data)
  • Writes: ~/.openclaw/agents/main/sessions/resume-prompts/*.md (resumption prompts)
  • Moves: ~/.openclaw/agents/main/sessions/archive/ (archived sessions)

Network Activity: NONE - All operations are local filesystem only.

CLI Reference

Complete flag and option documentation:

Display Options:

  • --raw-size - Show full precision token counts with commas (v1.3.2+)

- Default: Human-readable (e.g., 18.7k/128k, 20.6k/1M) - With flag: Full precision (e.g., 18,713/128,000, 20,631/1,000,000) - Use case: When exact token counts needed - Example: tide-watch dashboard --raw-size

  • --json - Output as JSON instead of formatted table

- Example: tide-watch check --session abc123 --json - Useful for scripting and parsing

  • --pretty - Pretty-print JSON output (requires --json)

- Example: tide-watch report --json --pretty

Session Selection:

  • --session <key> - Target specific session (enhanced in v1.3.3+)

- Full UUID: --session 17290631-42fe-40c0-bd23-c5da511c6f7b - Partial UUID: --session 17290631-4 (v1.3.3+) - Label: --session "#navi-code-yatta" (v1.3.3+) - Channel: --session discord (v1.3.3+) - Channel + label: --session "discord/#navi-code" (v1.3.3+) - Multiple (archive only): --session abc123 --session def456 (v1.3.3+)

  • --current - Auto-detect current session (v1.3.4+)

- Requires: OPENCLAW_SESSION_ID environment variable - Example: tide-watch check --current - Use case: Heartbeat monitoring (check THIS session) - Fallback: Graceful error with helpful message if env var not set

Filtering:

  • --all - Show all sessions regardless of capacity
  • --threshold <num> - Filter sessions above percentage (default: 75)
  • --active <hours> - Only show sessions active within N hours
  • --agent <id> - Filter to specific agent (multi-agent setups)
  • --exclude-agent <id> - Exclude specific agent (can use multiple times)

Archive Options:

  • --older-than <time> - Archive sessions older than time

- Examples: 4d, 2w, 1mo, 3months - Mutually exclusive with --session

  • --dry-run - Preview archive without making changes

- Example: tide-watch archive --older-than 7d --dry-run

  • --exclude-channel <name> - Exclude channel from archiving

- Example: tide-watch archive --older-than 30d --exclude-channel discord

  • --min-capacity <num> - Only archive sessions below capacity threshold

- Example: tide-watch archive --older-than 7d --min-capacity 50

Live Monitoring:

  • --watch - Live updating dashboard (refreshes every 10s)

- Example: tide-watch dashboard --watch - Press Ctrl+C to exit

Multi-Agent:

  • --all-agents - Multi-agent discovery mode (default, auto-discovers agents)
  • --single-agent-only - Single-agent mode (main agent only)

Configuration Override:

  • --refresh-interval <seconds> - Dashboard refresh interval (1-300)
  • --gateway-interval <seconds> - Gateway status check interval (5-600)
  • --gateway-timeout <seconds> - Gateway command timeout (1-30)
  • --session-dir <path> - Custom session directory

Usage Examples:

# Human-readable vs full precision
tide-watch dashboard                    # 18.7k/128k (easy to scan)
tide-watch dashboard --raw-size         # 18,713/128,000 (exact)

# Auto-detect current session (v1.3.4+)
export OPENCLAW_SESSION_ID="17290631-4"
tide-watch check --current              # Check THIS session
tide-watch check --current --json       # JSON for heartbeat scripts

# Session-specific archiving (v1.3.3+)
tide-watch archive --session abc123 --dry-run    # Preview
tide-watch archive --session abc123              # Archive one
tide-watch archive --session a --session b       # Archive multiple

# Partial ID matching (v1.3.3+)
tide-watch check --session 17290631-4   # Matches 17290631-42fe-40c0-...

# Multi-agent filtering
tide-watch dashboard --agent kintaro    # Kintaro sessions only
tide-watch report --exclude-agent main  # All except main

Runtime Requirements

Mode 1 (Directives-Only):

  • Node.js: Not required
  • npm: Not required
  • Dependencies: None
  • Binary: None
  • Installation: Copy templates to workspace config files

Mode 2 (CLI Tools - Optional):

  • Node.js: v14.0.0 or later required
  • npm: Any recent version
  • Dependencies:

- Development: jest@^30.2.0 (for testing only) - Runtime: None (zero production dependencies)

  • Binary: tide-watch (installed globally via npm link)
  • Installation: git clone + npm link

Why zero runtime dependencies?

  • Uses only Node.js built-in modules (fs, path, child_process)
  • No external API clients
  • No network libraries
  • Minimal attack surface

Recommendation

Most users should use Directives-Only Mode. This provides automatic capacity monitoring without installing any code. Only install CLI tools if you specifically need manual capacity management features.

What It Does

Monitors your OpenClaw session context windows and warns you before they overflow:

  • 🟡 75% — Heads up, consider wrapping up soon
  • 🟠 85% — Recommend finishing current task and resetting
  • 🔴 90% — Session will lock soon, ready to reset
  • 🚨 95% — Critical! Save to memory NOW

Installation

Step 1: Add Monitoring Directive to AGENTS.md

Copy the directive template from AGENTS.md.template and add it to your workspace AGENTS.md file:

# From your workspace root (~/clawd or similar)
cat skills/tide-watch/AGENTS.md.template >> AGENTS.md

Or manually add the monitoring section from the template.

This tells me (your agent) what to look for and when to warn you.

Step 2: Add Heartbeat Task to HEARTBEAT.md

Copy the heartbeat template from HEARTBEAT.md.template and add it to your workspace HEARTBEAT.md file:

# From your workspace root (~/clawd or similar)
cat skills/tide-watch/HEARTBEAT.md.template >> HEARTBEAT.md

Or manually add the Tide Watch heartbeat section from the template.

This tells me to check capacity automatically on a schedule.

Step 3: Configure Settings (Optional)

Default settings work for most users, but you can customize in your AGENTS.md:

Warning thresholds (when to warn):

  • Adjust percentages (default: 75/85/90/95)
  • Range: 50-99%, ascending order, 2-6 thresholds

Check frequency (how often to monitor):

  • Adjust interval (default: Every 1 hour)
  • Options: 15min, 30min, 1hr, 2hr, or 'manual'
  • Range: 5 minutes to 6 hours

Auto-backup:

  • Enable/disable automatic backups (default: enabled)
  • Set which thresholds trigger backups (default: [90, 95])
  • Configure retention (default: 7 days)
  • Enable compression to save disk space (default: off)

Channel-specific overrides (advanced):

  • Different settings per channel (Discord vs. webchat vs. DM)

Usage

Once installed, I will:

  1. Check capacity hourly during active conversations
  2. Warn at thresholds (75%, 85%, 90%, 95%)
  3. Suggest actions:

- Save important context to memory - Switch to lower-usage channels - Provide session reset commands - Generate session resumption prompts

Manual Check

Ask me to check session status anytime:

What's my current session capacity?
Check context usage
Run session_status

Reset Session with Context Preservation

When warned about high capacity:

Help me reset this session and preserve context

I'll:

  1. Save current work to memory
  2. Backup the session file (if not already backed up)
  3. Provide a session resumption prompt
  4. Reset the session

Load Session from Backup

If you need to load a previous session state from backup:

Show me available backups for this session
Load session from 90% backup

I'll:

  1. List available backups with timestamps and sizes
  2. Load the selected backup
  3. Guide you through reconnecting to load the session

Backup locations:

  • Path: ~/.openclaw/agents/main/sessions/backups/
  • Format: <session-id>-<threshold>-<timestamp>.jsonl[.gz]
  • Retention: Configurable (default: 7 days)

How It Works

Automatic Monitoring (Heartbeat)

When you add Tide Watch to your HEARTBEAT.md, I automatically:

  1. Parse your configuration (from AGENTS.md)

- Check frequency: How often to monitor - Warning thresholds: When to warn you - Backup settings: When to backup, retention, compression - See PARSING.md for detailed parsing logic

  1. Check capacity on schedule (default: every hour)

- Run session_status to get token usage - Calculate percentage: (tokens_used / tokens_max) * 100

  1. Compare against your thresholds

- Use your configured thresholds (not hardcoded defaults) - Determine which threshold(s) have been crossed - Assign severity dynamically based on position (first=🟡, last=🚨)

  1. Warn you (once per threshold)

- Issue warning message for new threshold crossings - Track which thresholds already warned this session - Don't repeat warnings if capacity stays at same level

  1. Auto-backup (if enabled and triggered)

- Check if capacity crossed any backup trigger thresholds - Create backup: ~/.openclaw/agents/main/sessions/backups/<session-id>-<threshold>-<timestamp>.jsonl - Verify backup integrity - Log backup completion - Track which thresholds backed up (don't duplicate)

  1. Suggest actions

- Save context to memory - Switch to lower-usage channel - Provide session reset commands - Generate session resumption prompts

  1. Cleanup old backups

- Remove backups older than retention period (default: 7 days)

  1. Return to silent mode

- If capacity is below all thresholds, return HEARTBEAT_OK - No output, no interruption

Manual Checks

You can also ask me to check anytime:

What's my current session capacity?
Check context usage
Run session_status

Key Features

  • Model-agnostic: Works with any provider (Anthropic, OpenAI, DeepSeek, etc.)
  • Non-intrusive: Silent checks, only speaks up at thresholds
  • Configurable: Adjust thresholds, frequency, and actions to your workflow
  • Stateful: Tracks which thresholds warned, resets tracking when session resets

Why You Need This

Problem: Context windows fill up silently. Once at 100%, sessions lock and stop responding. You lose work mid-task.

Solution: Proactive monitoring catches capacity issues early, giving you time to save work, switch channels, or reset cleanly.

Real incident: Discord #navi-code-yatta hit 97% capacity and locked mid-task (2026-02-23). Had to manually reset, losing conversation context.

Configuration Examples

Conservative (early warnings)

Warning thresholds: 60%, 70%, 80%, 90%
Check frequency: Every 30 minutes

Aggressive (maximize usage)

Warning thresholds: 85%, 92%, 96%, 98%
Check frequency: Every 2 hours

Channel-specific

Discord channels: 75%, 85%, 90%, 95% (default)
Webchat: 85%, 95% (lighter warnings)
DM: 90%, 95% (minimal warnings)

Future Features

  • [ ] CLI tool for capacity reports
  • [ ] Automatic session backups at thresholds
  • [ ] Historical capacity tracking
  • [ ] Cross-session capacity reports
  • [ ] Integration with heartbeat monitoring
  • [ ] Email/notification warnings
  • [ ] Smart session rotation suggestions

Requirements

  • OpenClaw with session_status tool support
  • Workspace with AGENTS.md file
  • Active monitoring directive in agent instructions

Support

  • Repo: https://github.com/chrisagiddings/openclaw-tide-watch
  • Issues: https://github.com/chrisagiddings/openclaw-tide-watch/issues
  • ClawHub: https://clawhub.ai/chrisagiddings/tide-watch

License

MIT

平台分布

OpenClaw

72.21%
按下载量换算4,725

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills