返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
c

conversation-flow-monitor

Monitors and prevents conversation flow issues by implementing robust error handling, timeouts, and recovery mechanisms for reliable agent interactions.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
191
下载量
0
收藏
概述
安装方式
版本历史

conversation-flow-monitor

# Conversation Flow Monitor Prevents conversations from getting stuck by implementing comprehensive error handling, timeout management, and recovery strategies. ## Problem Statement Conversations frequently get stuck due to: - Skill registration failures (missing YAML front matter) - Browser automation hanging without proper timeouts - File operations on non-existent paths - Network operations that timeout or fail silently - Cascading failures in multi-step workflows ## Solution Overview This skill provides: 1. **Proactive Validation**: Validates skill files and system state before execution 2. **Robust Error Handling**: Implements proper try-catch patterns with fallbacks 3. **Timeout Management**: Enforces reasonable timeouts on all operations 4. **Recovery Mechanisms**: Provides graceful degradation when primary approaches fail 5. **Monitoring & Logging**: Tracks conversation health and logs potential issues ## Key Features ### 1. Skill Validation Helper Automatically validates SKILL.md files have proper YAML front matter before installation. ### 2. Safe Tool Execution Wrapper Wraps all tool calls with timeout protection and error recovery. ### 3. Conversation Health Monitoring Monitors conversation flow and detects potential stuck states. ### 4. Recovery Strategies Provides alternative approaches when primary methods fail. ### 5. Diagnostic Logging Logs detailed diagnostics for troubleshooting conversation issues. ## Usage Patterns ### Before Complex Operations ```python # Validate environment before starting complex workflows validate_skill_files() check_system_dependencies() ``` ### Safe Tool Execution ```python # Instead of direct tool calls result = safe_execute_tool( tool_name="browser_use", params={"action": "open", "url": "https://example.com"}, timeout=30, retries=2 ) ``` ### Conversation Health Check ```python # Periodic health check during long conversations if conversation_health_check(): continue_normal_operation() else: initiate_recovery_protocol() ``` ## Integration Points ### With self-improving-agent - Logs conversation flow issues to `.learnings/ERRORS.md` - Promotes successful recovery patterns to permanent memory - Tracks recurring conversation failure patterns ### With OpenClaw Workspace - Integrates with existing AGENTS.md guidelines - Updates SOUL.md with behavioral improvements - Enhances TOOLS.md with tool-specific reliability notes ## Installation This skill is automatically available when installed in the active_skills directory. ## Best Practices 1. **Always validate first**: Check skill files and system state before execution 2. **Use reasonable timeouts**: Never let operations run indefinitely 3. **Implement fallbacks**: Always have alternative approaches ready 4. **Log everything**: Detailed logging helps identify root causes 5. **Monitor proactively**: Don't wait for failures to implement monitoring ## Error Categories Handled | Error Type | Detection Method | Recovery Strategy | |------------|------------------|-------------------| | Skill Registration | YAML front matter validation | Auto-fix missing fields | | Browser Hang | Timeout monitoring | Switch to alternative browser method | | File Not Found | Pre-operation path validation | Create missing directories/files | | Network Timeout | Connection timeout enforcement | Retry with exponential backoff | | Memory Issues | Resource usage monitoring | Cleanup and restart lightweight operations | ## Performance Impact - Minimal overhead (<5% performance impact) - Only activates during potentially problematic operations - Configurable sensitivity levels ## Future Enhancements - Machine learning-based anomaly detection - Predictive failure prevention - Automated root cause analysis - Cross-session conversation pattern learning

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 conversation-flow-monitor-1776371583 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 conversation-flow-monitor-1776371583 技能

通过命令行安装

skillhub install conversation-flow-monitor-1776371583

下载 Zip 包

⬇ 下载 conversation-flow-monitor v1.0.1

文件大小: 31.4 KB | 发布时间: 2026-4-17 14:30

v1.0.1 最新 2026-4-17 14:30
- Refactored example usage: removed detailed Python example scripts and consolidated usage patterns into a single examples.md file.
- Cleaned up documentation by deleting old example scripts and directories.
- Updated multiple markdown files for consistency and clarity.
- No changes to core logic or features; update focuses on documentation and example structure.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部