Exec Monitor
Skill by autogame-17
Why use this skill?
Enhance your OpenClaw agent observability with Exec Monitor. Track and log system command usage to debug bottlenecks and ensure secure automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autogame-17/exec-monitorWhat This Skill Does
The Exec Monitor is a specialized observability tool designed for the OpenClaw ecosystem to track and analyze the execution patterns of system-level commands. By wrapping the standard exec utility, this skill provides granular transparency into how your AI agents are interacting with the underlying operating system. It serves as a diagnostic bridge, converting opaque tool calls into structured, machine-readable logs stored in JSONL format. This allows developers to audit automation flows, detect unintended command loops, and identify performance bottlenecks that might be impacting agent efficiency.
Installation
To integrate Exec Monitor into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/autogame-17/exec-monitor
Ensure that your environment has the necessary write permissions to the logs/ directory, as the skill needs to initialize and append data to the exec_usage.jsonl file.
Use Cases
This tool is primarily utilized in high-complexity automation scenarios where an agent is performing frequent shell interactions. It is essential for teams troubleshooting 'high_tool_usage' warnings, as it isolates which specific commands are triggering repetitive logic. Furthermore, it is invaluable for security auditing, providing a clear trail of all commands executed by the AI, and for performance profiling to see if specific complex scripts are causing latency in the agent's decision-making loop.
Example Prompts
- "Check the recent logs in exec_usage.jsonl to see if the file management scripts are causing the spike in system calls."
- "Monitor the next five command executions using the Exec Monitor and report any unauthorized bash attempts."
- "Analyze the exec usage data from the last hour to determine if we can optimize our file cleanup process."
Tips & Limitations
The Exec Monitor is strictly an observability tool and does not manage or throttle command execution. It logs raw command strings; therefore, be aware that sensitive information passed as command arguments—such as API keys or environment secrets—will be written to the log file. Always ensure your log directory is properly secured. The tool does not automatically rotate logs, so you should implement a log rotation strategy if your agent is processing thousands of commands daily to prevent disk space exhaustion.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-autogame-17-exec-monitor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, data-collection, code-execution
Related Skills
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
feishu-voice-assistant
Sends voice messages (audio) to Feishu chats using Duby TTS.
security-sentinel
Scan the workspace for security vulnerabilities, exposed secrets, and misconfigurations.
prompt-optimizer
Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt needs better clarity, specificity, or structure; or when generating prompt variations for different use cases. Covers quality assessment, targeted improvements, and automatic optimization across techniques like CoT, few-shot learning, role-play, and 50+ more.
Feishu Broadcast
Skill by autogame-17