A comprehensive command-line utility for tracking, auditing, and analyzing the execution history of OpenClaw Agent tool calls.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install exec-inspector
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install exec-inspector using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Exec Inspector is a specialized observability tool designed for the OpenClaw ecosystem. It provides developers and power users with the ability to inspect the execution history of the exec tool, which is used by agents to run shell commands. By parsing session logs, the tool offers a transparent view of every command an agent has triggered, including timestamps, model metadata, and token usage.
As a core component for those using Openclaw Skills, it bridges the gap between agent autonomy and developer oversight. It allows for the auditing of automated tasks, debugging of command failures, and the generation of usage reports to optimize agent performance and security. Whether you are running a single session or managing complex multi-agent workflows, this skill ensures you never lose track of what your AI is doing in your terminal.
To get started with this component of Openclaw Skills, follow these steps:
jq installed for JSON processing:sudo apt install jq # On Ubuntu/Debian
Create the execution history script at ~/.openclaw/scripts/exec-history.sh using the provided template in the repository.
Set the appropriate permissions for the scripts:
chmod +x ~/.openclaw/scripts/exec-history.sh
chmod +x ~/.openclaw/scripts/exec-monitor-daemon.sh
~/.zshrc or ~/.bashrc for quick access:alias exec-list='~/.openclaw/scripts/exec-history.sh list'
alias exec-monitor='~/.openclaw/scripts/exec-monitor-daemon.sh start'
The skill organizes data by parsing the standard OpenClaw session format. Data is stored in ~/.openclaw/agents/main/sessions/*.jsonl. The key fields analyzed include:
| Field | Description |
|---|---|
| timestamp | ISO 8601 formatted time of execution |
| message.content[0].arguments.command | The specific shell command executed by the agent |
| message.model | The specific LLM (e.g., GPT-4) that generated the command |
| message.usage | Token metrics including input, output, and total tokens |
Loading
A high-performance growth stock screening and analysis tool that transforms an AI agent into a senior equity research analyst.

A comprehensive toolset for building 3-5 year financial models, revenue projections, and scenario planning for early-stage startups.

A specialized tool for searching and installing modular AI agent skills from the prompts.chat registry.

A sophisticated memory and correction framework that enables AI agents to learn from mistakes and user feedback to prevent repeating errors.

An AI-driven research advisor designed to assist graduate students and researchers through the entire lifecycle of academic projects.

An intelligent AI agent that automates multi-dimensional due diligence for investment decisions and risk assessment.








































