trendr-watchdog

Monitors TrendR workflow runtime status and logs to detect stalls.

16|1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/gy-hou/trendr --skill trendr-watchdog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trendr-watchdog
Source: https://github.com/gy-hou/trendr/tree/main/skills/trendr-watchdog
Command: npx skills add https://github.com/gy-hou/trendr --skill trendr-watchdog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

运行时监督 TrendR 工作流,确保子任务完成后主会话继续跟进,检测进程卡死并自动注入断点续跑指令,以保持工作流连续性。

Core Features & Use Cases

  • 实时监控 run_status、progress 和 logs 的活跃度,识别无响应状态
  • 自动向 owner session 注入续跑指令,支持参数化的阶段与等待策略
  • 提供夜间守夜、断点续接以及详细守夜报告,便于复盘与故障排查

Quick Start

启动 trendr-watchdog,为 PROJECT 启动监控并在需要时自动注入续跑指令。

Frequently Asked Questions about trendr-watchdog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent my multi-phase agent orchestration from stalling overnight?

To prevent multi-phase agent orchestration from stalling overnight, you need an automated watchdog that monitors runtime logs for idle phases and injects resumption commands. This Skill applies phase-aware idle detection and cooldown-based resumes to ensure safe, automated recovery without progress loss.

How does phase-aware idle detection work for workflow automation?

Phase-aware idle detection works by continuously monitoring runtime status, progress, and log activity to identify unresponsive phases in agent workflows. When progress lags or hooks miss updates, the supervisor applies cooldown-based resumes from phase checkpoints to automatically recover the stalled orchestration.

Can I automatically resume a stalled workflow from its last checkpoint?

Yes, you can automatically resume a stalled workflow from its last checkpoint. The watchdog detects when progress lags or hooks miss updates, then injects parameterized resumption commands into the owner session to restore the workflow from the exact phase checkpoint where it stalled.

What is the best way to monitor TrendR workflows for unresponsive states?

The best way to monitor TrendR workflows for unresponsive states is using a dedicated supervisor that tracks runtime status and log activity. This Skill provides persistent overnight reporting and automatic stall detection, allowing you to review detailed watchdog reports for troubleshooting and post-mortem analysis.

Do I need any external dependencies to run automated workflow recovery?

No, you do not need any external dependencies to run automated workflow recovery. This Skill operates independently with zero dependencies, providing built-in phase-aware idle detection, cooldown-based resumes, and persistent reporting directly within your TrendR orchestration environment.

Why does my multi-phase agent workflow lose progress after a stall?

Multi-phase agent workflows lose progress after a stall when the owner session fails to follow up after subtasks complete. Without a watchdog injecting checkpoint resumption commands, the orchestration remains unresponsive and cannot automatically recover the lagging phases.